From d6c5e059d2ad8215ffb127644a6116a5e70b54e7 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Sun, 11 Feb 2024 11:42:57 +0100 Subject: [PATCH] upgrade all dependencies (incl django) --- .pre-commit-config.yaml | 4 ++-- constraints.txt | 12 ++++-------- requirements-dev.in | 2 +- requirements-dev.txt | 20 +++++++++++--------- requirements.in | 7 ++----- requirements.txt | 12 ++++-------- 6 files changed, 24 insertions(+), 33 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 074343d..14a1ea6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -40,7 +40,7 @@ repos: hooks: - id: djhtml - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.2.0 + rev: v0.2.1 hooks: - id: ruff args: [--fix] @@ -50,7 +50,7 @@ repos: - id: prettier types_or: [javascript, css] - repo: https://github.com/pre-commit/mirrors-eslint - rev: v9.0.0-alpha.2 + rev: v9.0.0-beta.0 hooks: - id: eslint args: [--fix] diff --git a/constraints.txt b/constraints.txt index acfbf3a..147c128 100644 --- a/constraints.txt +++ b/constraints.txt @@ -16,15 +16,11 @@ certifi==2024.2.2 # via # requests # selenium -cffi==1.16.0 - # via cryptography charset-normalizer==3.3.2 # via requests confusable-homoglyphs==3.3.1 # via django-registration -cryptography==42.0.2 - # via django-anymail -django==4.2.9 +django==5.0.2 # via # -r requirements.in # django-anymail @@ -67,15 +63,13 @@ packaging==23.2 # via gunicorn pillow==10.2.0 # via -r requirements.in -pycparser==2.21 - # via cffi pysocks==1.7.1 # via urllib3 requests==2.31.0 # via # -r requirements.in # django-anymail -selenium==4.9.1 +selenium==4.17.2 # via -r requirements.in sniffio==1.3.0 # via trio @@ -89,6 +83,8 @@ trio==0.24.0 # trio-websocket trio-websocket==0.11.1 # via selenium +typing-extensions==4.9.0 + # via selenium urllib3==2.2.0 # via # django-anymail diff --git a/requirements-dev.in b/requirements-dev.in index 52ab012..31d2a4d 100644 --- a/requirements-dev.in +++ b/requirements-dev.in @@ -5,7 +5,7 @@ pytest-cov>=3.0.0 pytest-django>=4.1.0 pytest-selenium>=4.0.0 # pytest-selenium 4.0.1 has an implicit dependency on `py` -py>=1.11.0 +# py>=1.11.0 pre-commit>=2.1 model-bakery>=1.3.1 bpython>=0.22.1 diff --git a/requirements-dev.txt b/requirements-dev.txt index 301c30c..ebbb34f 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -50,7 +50,7 @@ cwcwidth==0.1.9 # curtsies distlib==0.3.8 # via virtualenv -django==4.2.9 +django==5.0.2 # via # -c constraints.txt # django-browser-reload @@ -68,9 +68,9 @@ h11==0.14.0 # via # -c constraints.txt # wsproto -hypothesis==6.98.1 +hypothesis==6.98.3 # via -r requirements-dev.in -identify==2.5.33 +identify==2.5.34 # via pre-commit idna==3.6 # via @@ -111,9 +111,7 @@ platformdirs==4.2.0 # virtualenv pluggy==1.4.0 # via pytest -pre-commit==3.6.0 - # via -r requirements-dev.in -py==1.11.0 +pre-commit==3.6.1 # via -r requirements-dev.in pygments==2.17.2 # via bpython @@ -143,7 +141,7 @@ pytest-html==4.1.1 # via pytest-selenium pytest-metadata==3.1.0 # via pytest-html -pytest-selenium==4.0.1 +pytest-selenium==4.1.0 # via -r requirements-dev.in pytest-variables==3.1.0 # via pytest-selenium @@ -157,9 +155,9 @@ requests==2.31.0 # bpython # pytest-base-url # pytest-selenium -ruff==0.2.0 +ruff==0.2.1 # via -r requirements-dev.in -selenium==4.9.1 +selenium==4.17.2 # via # -c constraints.txt # pytest-selenium @@ -190,6 +188,10 @@ trio-websocket==0.11.1 # via # -c constraints.txt # selenium +typing-extensions==4.9.0 + # via + # -c constraints.txt + # selenium urllib3[socks]==2.2.0 # via # -c constraints.txt diff --git a/requirements.in b/requirements.in index f9f5b5e..d9d0006 100644 --- a/requirements.in +++ b/requirements.in @@ -1,14 +1,11 @@ -django>=4.1,<5.0 +django>=4.1 django-cleanup>=6.0 django-environ>=0.9.0 django-htmx>=1.12.2 django-linear-migrations>=2.2.0 django-extensions>=3.1.5 whitenoise>=6.2 -# pytest-selenium is broken with selenium 4.10.0 -# TypeError: WebDriver.__init__() got an unexpected keyword argument 'service_log_path' -# https://github.com/robotframework/SeleniumLibrary/issues/1835 -selenium>=4.5.0,<4.10.0 +selenium>=4.5.0 Markdown>=3.2 django-registration>=3.3 django-anymail[mailgun]>=8.6 diff --git a/requirements.txt b/requirements.txt index edcf34e..5d919eb 100644 --- a/requirements.txt +++ b/requirements.txt @@ -16,15 +16,11 @@ certifi==2024.2.2 # via # requests # selenium -cffi==1.16.0 - # via cryptography charset-normalizer==3.3.2 # via requests confusable-homoglyphs==3.3.1 # via django-registration -cryptography==42.0.2 - # via django-anymail -django==4.2.9 +django==5.0.2 # via # -r requirements.in # django-anymail @@ -67,15 +63,13 @@ packaging==23.2 # via gunicorn pillow==10.2.0 # via -r requirements.in -pycparser==2.21 - # via cffi pysocks==1.7.1 # via urllib3 requests==2.31.0 # via # -r requirements.in # django-anymail -selenium==4.9.1 +selenium==4.17.2 # via -r requirements.in sniffio==1.3.0 # via trio @@ -89,6 +83,8 @@ trio==0.24.0 # trio-websocket trio-websocket==0.11.1 # via selenium +typing-extensions==4.9.0 + # via selenium urllib3[socks]==2.2.0 # via # django-anymail