From 885658e71ad05d4f22df45bd9204ba0e3c5fb123 Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Thu, 21 Mar 2024 23:19:29 +0100 Subject: [PATCH] Python dependency bump (#6790) * update python deps * bump pre-commit * fix wrong bump * revert djangorestframework * bump a bit further * bump pre-commit * do not strip extras --- .pre-commit-config.yaml | 10 ++--- requirements-dev.txt | 32 ++++++------- requirements.txt | 99 +++++++++++++++++++---------------------- 3 files changed, 69 insertions(+), 72 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e866d7f620..6f928564f7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,7 +16,7 @@ repos: - id: check-yaml - id: mixed-line-ending - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.3.3 + rev: v0.3.4 hooks: - id: ruff-format args: [--preview] @@ -26,15 +26,15 @@ repos: --preview ] - repo: https://github.com/matmair/ruff-pre-commit - rev: 8bed1087452bdf816b840ea7b6848b21d32b7419 # uv-018 + rev: fac27ee349cbf0f0d71c1069854bfe371d1c62a1 # uv-0.1.23 hooks: - id: pip-compile name: pip-compile requirements-dev.in - args: [requirements-dev.in, -o, requirements-dev.txt, --python-version=3.9] + args: [requirements-dev.in, -o, requirements-dev.txt, --python-version=3.9, --no-strip-extras] files: ^requirements-dev\.(in|txt)$ - id: pip-compile name: pip-compile requirements.txt - args: [requirements.in, -o, requirements.txt,--python-version=3.9] + args: [requirements.in, -o, requirements.txt,--python-version=3.9, --no-strip-extras] files: ^requirements\.(in|txt)$ - repo: https://github.com/Riverside-Healthcare/djLint rev: v1.34.1 @@ -72,7 +72,7 @@ repos: - "@typescript-eslint/parser" files: ^src/frontend/.*\.(js|jsx|ts|tsx)$ - repo: https://github.com/gitleaks/gitleaks - rev: v8.16.3 + rev: v8.18.2 hooks: - id: gitleaks #- repo: https://github.com/jumanjihouse/pre-commit-hooks diff --git a/requirements-dev.txt b/requirements-dev.txt index 32646b3d55..f22086821a 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,8 +1,8 @@ # This file was autogenerated by uv via the following command: -# uv pip compile requirements-dev.in -o requirements-dev.txt --python-version=3.9 -asgiref==3.7.2 +# uv pip compile requirements-dev.in -o requirements-dev.txt --python-version=3.9 --no-strip-extras +asgiref==3.8.0 # via django -build==1.0.3 +build==1.1.1 # via pip-tools certifi==2024.2.2 # via requests @@ -16,10 +16,10 @@ charset-normalizer==3.3.2 # requests click==8.1.7 # via pip-tools -coverage==5.5 +coverage[toml]==5.5 # via coveralls coveralls==2.1.2 -cryptography==42.0.4 +cryptography==42.0.5 # via pdfminer-six distlib==0.3.8 # via virtualenv @@ -31,7 +31,7 @@ docopt==0.6.2 # via coveralls filelock==3.13.1 # via virtualenv -identify==2.5.33 +identify==2.5.35 # via pre-commit idna==3.6 # via requests @@ -40,19 +40,21 @@ importlib-metadata==6.11.0 isort==5.13.2 nodeenv==1.8.0 # via pre-commit -packaging==23.2 +packaging==24.0 # via build pdfminer-six==20231228 pip==24.0 # via pip-tools -pip-tools==7.3.0 +pip-tools==7.4.1 platformdirs==4.2.0 # via virtualenv -pre-commit==3.6.0 +pre-commit==3.6.2 pycparser==2.21 # via cffi pyproject-hooks==1.0.0 - # via build + # via + # build + # pip-tools pyyaml==6.0.1 # via pre-commit requests==2.31.0 @@ -70,15 +72,15 @@ tomli==2.0.1 # build # pip-tools # pyproject-hooks -typing-extensions==4.9.0 +typing-extensions==4.10.0 # via # asgiref # django-test-migrations -urllib3==2.2.0 +urllib3==2.2.1 # via requests -virtualenv==20.25.0 +virtualenv==20.25.1 # via pre-commit -wheel==0.42.0 +wheel==0.43.0 # via pip-tools -zipp==3.17.0 +zipp==3.18.1 # via importlib-metadata diff --git a/requirements.txt b/requirements.txt index 0479ff2f1e..2ff847c772 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ # This file was autogenerated by uv via the following command: -# uv pip compile requirements.in -o requirements.txt --python-version=3.9 -asgiref==3.7.2 +# uv pip compile requirements.in -o requirements.txt --python-version=3.9 --no-strip-extras +asgiref==3.8.0 # via # django # django-cors-headers @@ -12,12 +12,7 @@ attrs==23.2.0 # referencing babel==2.14.0 # via py-moneyed -backoff==2.2.1 - # via - # opentelemetry-exporter-otlp-proto-common - # opentelemetry-exporter-otlp-proto-grpc - # opentelemetry-exporter-otlp-proto-http -bleach==6.1.0 +bleach[css]==6.1.0 # via django-markdownify brotli==1.1.0 # via fonttools @@ -34,7 +29,7 @@ charset-normalizer==3.3.2 coreapi==2.3.3 coreschema==0.0.4 # via coreapi -cryptography==42.0.4 +cryptography==42.0.5 # via # djangorestframework-simplejwt # pyjwt @@ -84,7 +79,7 @@ django==4.2.11 # djangorestframework # djangorestframework-simplejwt # drf-spectacular -django-allauth==0.60.1 +django-allauth==0.61.1 # via django-allauth-2fa django-allauth-2fa==0.11.1 django-cleanup==8.1.0 @@ -92,7 +87,7 @@ django-cors-headers==4.3.1 django-crispy-forms==1.14.0 django-dbbackup==4.1.0 django-error-report-2==0.4.2 -django-filter==23.5 +django-filter==24.1 django-flags==5.0.13 django-formtools==2.5.1 django-ical==1.9.2 @@ -108,7 +103,7 @@ django-otp==1.3.0 django-picklefield==3.1 # via django-q2 django-q-sentry==0.1.6 -django-q2==1.6.1 +django-q2==1.6.2 django-recurrence==1.11.1 # via django-ical django-redis==5.4.0 @@ -118,31 +113,31 @@ django-sslserver==0.22 django-stdimage==6.0.2 django-taggit==5.0.1 django-user-sessions==2.0.0 -django-weasyprint==2.2.2 +django-weasyprint==2.3.0 django-xforwardedfor-middleware==2.0 djangorestframework==3.14.0 # via # dj-rest-auth # djangorestframework-simplejwt # drf-spectacular -djangorestframework-simplejwt==5.3.1 +djangorestframework-simplejwt[crypto]==5.3.1 drf-spectacular==0.27.1 dulwich==0.21.7 et-xmlfile==1.1.0 # via openpyxl feedparser==6.0.11 -fonttools==4.47.2 +fonttools[woff]==4.50.0 # via weasyprint -googleapis-common-protos==1.62.0 +googleapis-common-protos==1.63.0 # via # opentelemetry-exporter-otlp-proto-grpc # opentelemetry-exporter-otlp-proto-http -grpcio==1.62.0 +grpcio==1.62.1 # via opentelemetry-exporter-otlp-proto-grpc gunicorn==21.2.0 html5lib==1.1 # via weasyprint -icalendar==5.0.11 +icalendar==5.0.12 # via django-ical idna==3.6 # via requests @@ -161,7 +156,7 @@ jsonschema==4.21.1 # via drf-spectacular jsonschema-specifications==2023.12.1 # via jsonschema -markdown==3.5.2 +markdown==3.6 # via django-markdownify markuppy==1.14 # via tablib @@ -173,7 +168,7 @@ odfpy==1.4.1 # via tablib openpyxl==3.1.2 # via tablib -opentelemetry-api==1.22.0 +opentelemetry-api==1.23.0 # via # opentelemetry-exporter-otlp-proto-grpc # opentelemetry-exporter-otlp-proto-http @@ -183,48 +178,48 @@ opentelemetry-api==1.22.0 # opentelemetry-instrumentation-requests # opentelemetry-instrumentation-wsgi # opentelemetry-sdk -opentelemetry-exporter-otlp==1.22.0 -opentelemetry-exporter-otlp-proto-common==1.22.0 +opentelemetry-exporter-otlp==1.23.0 +opentelemetry-exporter-otlp-proto-common==1.23.0 # via # opentelemetry-exporter-otlp-proto-grpc # opentelemetry-exporter-otlp-proto-http -opentelemetry-exporter-otlp-proto-grpc==1.22.0 +opentelemetry-exporter-otlp-proto-grpc==1.23.0 # via opentelemetry-exporter-otlp -opentelemetry-exporter-otlp-proto-http==1.22.0 +opentelemetry-exporter-otlp-proto-http==1.23.0 # via opentelemetry-exporter-otlp -opentelemetry-instrumentation==0.43b0 +opentelemetry-instrumentation==0.44b0 # via # opentelemetry-instrumentation-django # opentelemetry-instrumentation-redis # opentelemetry-instrumentation-requests # opentelemetry-instrumentation-wsgi -opentelemetry-instrumentation-django==0.43b0 -opentelemetry-instrumentation-redis==0.43b0 -opentelemetry-instrumentation-requests==0.43b0 -opentelemetry-instrumentation-wsgi==0.43b0 +opentelemetry-instrumentation-django==0.44b0 +opentelemetry-instrumentation-redis==0.44b0 +opentelemetry-instrumentation-requests==0.44b0 +opentelemetry-instrumentation-wsgi==0.44b0 # via opentelemetry-instrumentation-django -opentelemetry-proto==1.22.0 +opentelemetry-proto==1.23.0 # via # opentelemetry-exporter-otlp-proto-common # opentelemetry-exporter-otlp-proto-grpc # opentelemetry-exporter-otlp-proto-http -opentelemetry-sdk==1.22.0 +opentelemetry-sdk==1.23.0 # via # opentelemetry-exporter-otlp-proto-grpc # opentelemetry-exporter-otlp-proto-http -opentelemetry-semantic-conventions==0.43b0 +opentelemetry-semantic-conventions==0.44b0 # via # opentelemetry-instrumentation-django # opentelemetry-instrumentation-redis # opentelemetry-instrumentation-requests # opentelemetry-instrumentation-wsgi # opentelemetry-sdk -opentelemetry-util-http==0.43b0 +opentelemetry-util-http==0.44b0 # via # opentelemetry-instrumentation-django # opentelemetry-instrumentation-requests # opentelemetry-instrumentation-wsgi -packaging==23.2 +packaging==24.0 # via gunicorn pdf2image==1.17.0 pillow==10.2.0 @@ -235,7 +230,7 @@ pillow==10.2.0 # qrcode # weasyprint pint==0.21 -protobuf==4.25.2 +protobuf==4.25.3 # via # googleapis-common-protos # opentelemetry-proto @@ -243,9 +238,9 @@ py-moneyed==3.0 # via django-money pycparser==2.21 # via cffi -pydyf==0.8.0 +pydyf==0.9.0 # via weasyprint -pyjwt==2.8.0 +pyjwt[crypto]==2.8.0 # via # django-allauth # djangorestframework-simplejwt @@ -253,13 +248,13 @@ pyphen==0.14.0 # via weasyprint pypng==0.20220715.0 # via qrcode -python-barcode==0.15.1 -python-dateutil==2.8.2 +python-barcode[images]==0.15.1 +python-dateutil==2.9.0.post0 # via # django-recurrence # icalendar python-dotenv==1.0.1 -python-fsutil==0.13.1 +python-fsutil==0.14.1 # via django-maintenance-mode python3-openid==3.2.0 # via django-allauth @@ -272,12 +267,12 @@ pyyaml==6.0.1 # via # drf-spectacular # tablib -qrcode==7.4.2 +qrcode[pil]==7.4.2 # via django-allauth-2fa -rapidfuzz==3.6.1 -redis==5.0.1 +rapidfuzz==3.6.2 +redis==5.0.3 # via django-redis -referencing==0.33.0 +referencing==0.34.0 # via # jsonschema # jsonschema-specifications @@ -288,13 +283,13 @@ requests==2.31.0 # django-allauth # opentelemetry-exporter-otlp-proto-http # requests-oauthlib -requests-oauthlib==1.3.1 +requests-oauthlib==1.4.0 # via django-allauth -rpds-py==0.17.1 +rpds-py==0.18.0 # via # jsonschema # referencing -sentry-sdk==1.40.0 +sentry-sdk==1.43.0 # via django-q-sentry setuptools==69.2.0 # via @@ -311,14 +306,14 @@ sqlparse==0.4.4 # via # django # django-sql-utils -tablib==3.5.0 +tablib[html, ods, xls, xlsx, yaml]==3.5.0 # via django-import-export tinycss2==1.2.1 # via # bleach # cssselect2 # weasyprint -typing-extensions==4.9.0 +typing-extensions==4.10.0 # via # asgiref # drf-spectacular @@ -329,12 +324,12 @@ uritemplate==4.1.1 # via # coreapi # drf-spectacular -urllib3==2.2.0 +urllib3==2.2.1 # via # dulwich # requests # sentry-sdk -weasyprint==60.2 +weasyprint==61.2 # via django-weasyprint webencodings==0.5.1 # via @@ -352,7 +347,7 @@ xlrd==2.0.1 # via tablib xlwt==1.3.0 # via tablib -zipp==3.17.0 +zipp==3.18.1 # via importlib-metadata zopfli==0.2.3 # via fonttools