From 636163a5c543aea22f2fb5f2f884f9ac70f92d49 Mon Sep 17 00:00:00 2001 From: Kesara Rathnayake Date: Wed, 3 Jul 2024 15:00:19 +1200 Subject: [PATCH] chore(deps): Bump up xml2rfc to 3.22.0 (#499) * chore: Update Python dependencies * chore(deps): Bump up xml2rfc to 3.22.0 * chore: Use a different text file for testing --- constraints.txt | 20 ++++++++++---------- requirements.txt | 12 ++++++------ tests/test_api_iddiff.py | 3 ++- 3 files changed, 18 insertions(+), 17 deletions(-) diff --git a/constraints.txt b/constraints.txt index c73ec06..1d91756 100644 --- a/constraints.txt +++ b/constraints.txt @@ -1,6 +1,6 @@ blinker==1.8.2 Brotli==1.1.0 -certifi==2024.2.2 +certifi==2024.6.2 cffi==1.16.0 charset-normalizer==3.3.2 click==8.1.7 @@ -11,7 +11,7 @@ dnspython==2.6.1 eventlet==0.36.1 Flask==3.0.3 Flask-Cors==4.0.1 -fonttools==4.51.0 +fonttools==4.53.0 google-i18n-address==3.1.0 greenlet==3.0.3 gunicorn==22.0.0 @@ -24,25 +24,25 @@ itsdangerous==2.2.0 Jinja2==3.1.4 lxml==4.9.4 MarkupSafe==2.1.5 -packaging==24.0 +packaging==24.1 pathlib2==2.3.7.post1 -pillow==10.3.0 +pillow==10.4.0 platformdirs==4.2.2 -pycountry==23.12.11 +pycountry==24.6.1 pycparser==2.22 pydyf==0.10.0 pyphen==0.15.0 PyYAML==6.0.1 -requests==2.31.0 -sentry-sdk==2.2.0 +requests==2.32.3 +sentry-sdk==2.7.1 six==1.16.0 sortedcontainers==2.4.0 svgcheck==0.8.0 tinycss2==1.3.0 -urllib3==2.2.1 +urllib3==2.2.2 wcwidth==0.2.13 -weasyprint==61.2 +weasyprint==62.3 webencodings==0.5.1 Werkzeug==3.0.3 -xml2rfc==3.21.0 +xml2rfc==3.22.0 zopfli==0.2.3 diff --git a/requirements.txt b/requirements.txt index 1089d17..9577aca 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,12 +1,12 @@ eventlet>=0.36.1 decorator>=5.1.1 Flask>=3.0.3 -Flask-Cors>=4.0.0 -gunicorn>=21.2.0 +Flask-Cors>=4.0.1 +gunicorn>=22.0.0 id2xml>=1.5.2 iddiff>=0.4.3 -requests>=2.31.0 -sentry-sdk[flask]>=1.44.1 +requests>=2.32.3 +sentry-sdk[flask]>=2.7.1 svgcheck>=0.8.0 -weasyprint>=61.2 -xml2rfc>=3.21.0 +weasyprint>=62.3 +xml2rfc>=3.22.0 diff --git a/tests/test_api_iddiff.py b/tests/test_api_iddiff.py index 84ffda4..752f7b8 100644 --- a/tests/test_api_iddiff.py +++ b/tests/test_api_iddiff.py @@ -998,7 +998,8 @@ def test_error_draft_name_error_for_downloaded_file(self): with self.app.app_context(): result = client.post( '/api/iddiff', - data={'url_1': 'https://ietf.org/robots.txt'}) + data={ + 'url_1': 'https://www.ietf.org/rfc/fyi-index.txt'}) json_data = result.get_json() self.assertEqual(result.status_code, 400)