fix: update DraftYangChecker for xym 0.6 changes (#4546)

* fix: update DraftYangChecker for xym 0.6 changes

* chore: update xym requirements to >=0.6
This commit is contained in:
Jennifer Richards 2022-10-06 20:03:18 -03:00 committed by GitHub
parent 8a6ff176af
commit 6cc2fb94a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -147,7 +147,7 @@ class DraftYangChecker(object):
saved_stderr = sys.stderr
sys.stdout = io.StringIO()
sys.stderr = io.StringIO()
extractor.extract_yang_model(file.readlines())
extractor.extract_yang_model_text(file.read())
model_list = extractor.get_extracted_models(False, True)
out = sys.stdout.getvalue()
err = sys.stderr.getvalue()

View file

@ -65,4 +65,4 @@ tqdm>=4.64.0
Unidecode>=1.3.4
weasyprint>=52.5,<53 # Datatracker tests past on 54, but xml2rfc tests do not.
xml2rfc>=3.12.4
xym>=0.5,<1.0
xym>=0.6,<1.0