From 9a5e06a2c8e89bc0e0e89e3e9527c920da9d87c2 Mon Sep 17 00:00:00 2001 From: CI on behalf of the Hypothesis team Date: Mon, 6 Jan 2025 20:28:36 +1100 Subject: [PATCH] Update pinned dependencies --- .github/workflows/main.yml | 4 +- build.sh | 4 +- hypothesis-python/setup.py | 2 +- hypothesis-python/tox.ini | 6 +-- requirements/coverage.txt | 14 ++--- requirements/fuzzing.txt | 32 ++++++------ requirements/test.txt | 2 +- requirements/tools.txt | 63 +++++++++++------------ tooling/src/hypothesistooling/__main__.py | 18 +++---- 9 files changed, 70 insertions(+), 75 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 75c2410786..5735d6eadc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -226,8 +226,8 @@ jobs: NODE_VERSION: 18 # Note that the versions below must be updated in sync; we've automated # that with `update_pyodide_versions()` in our weekly cronjob. - PYODIDE_VERSION: 0.26.4 - PYTHON_VERSION: 3.12.1 + PYODIDE_VERSION: 0.27.0 + PYTHON_VERSION: 3.12.7 EMSCRIPTEN_VERSION: 3.1.58 steps: - uses: actions/checkout@v3 diff --git a/build.sh b/build.sh index 95dff72b10..010ae7fa92 100755 --- a/build.sh +++ b/build.sh @@ -25,8 +25,8 @@ if [ -n "${GITHUB_ACTIONS-}" ] || [ -n "${CODESPACES-}" ] ; then else # Otherwise, we install it from scratch # NOTE: tooling keeps this version in sync with ci_version in tooling - "$SCRIPTS/ensure-python.sh" 3.10.15 - PYTHON=$(pythonloc 3.10.15)/bin/python + "$SCRIPTS/ensure-python.sh" 3.10.16 + PYTHON=$(pythonloc 3.10.16)/bin/python fi TOOL_REQUIREMENTS="$ROOT/requirements/tools.txt" diff --git a/hypothesis-python/setup.py b/hypothesis-python/setup.py index d04ab35594..83e2079338 100644 --- a/hypothesis-python/setup.py +++ b/hypothesis-python/setup.py @@ -60,7 +60,7 @@ def local_file(name): "pytest": ["pytest>=4.6"], "dpcontracts": ["dpcontracts>=0.4"], "redis": ["redis>=3.0.0"], - "crosshair": ["hypothesis-crosshair>=0.0.18", "crosshair-tool>=0.0.78"], + "crosshair": ["hypothesis-crosshair>=0.0.18", "crosshair-tool>=0.0.81"], # zoneinfo is an odd one: every dependency is platform-conditional. "zoneinfo": [ "tzdata>=2024.2 ; sys_platform == 'win32' or sys_platform == 'emscripten'", diff --git a/hypothesis-python/tox.ini b/hypothesis-python/tox.ini index dbeec829d0..7e495e1595 100644 --- a/hypothesis-python/tox.ini +++ b/hypothesis-python/tox.ini @@ -161,21 +161,21 @@ commands = setenv= PYTHONWARNDEFAULTENCODING=1 commands = - pip install django==4.2.16 + pip install django==4.2.17 python -bb -X dev -m tests.django.manage test tests.django {posargs} [testenv:django50] setenv= PYTHONWARNDEFAULTENCODING=1 commands = - pip install django==5.0.9 + pip install django==5.0.10 python -bb -X dev -m tests.django.manage test tests.django {posargs} [testenv:django51] setenv= PYTHONWARNDEFAULTENCODING=1 commands = - pip install django==5.1.3 + pip install django==5.1.4 python -bb -X dev -m tests.django.manage test tests.django {posargs} [testenv:py{39}-nose] diff --git a/requirements/coverage.txt b/requirements/coverage.txt index 9d65451dd3..ca867e7a2a 100644 --- a/requirements/coverage.txt +++ b/requirements/coverage.txt @@ -14,11 +14,11 @@ attrs==24.1.0 # hypothesis (hypothesis-python/setup.py) black==24.10.0 # via -r requirements/coverage.in -click==8.1.7 +click==8.1.8 # via # -r requirements/coverage.in # black -coverage[toml]==7.6.8 +coverage[toml]==7.6.10 # via pytest-cov dpcontracts==0.6.0 # via -r requirements/coverage.in @@ -28,7 +28,7 @@ exceptiongroup==1.2.2 ; python_version < "3.11" # pytest execnet==2.1.1 # via pytest-xdist -fakeredis==2.26.1 +fakeredis==2.26.2 # via -r requirements/coverage.in iniconfig==2.0.0 # via pytest @@ -38,7 +38,7 @@ libcst==1.5.1 # via -r requirements/coverage.in mypy-extensions==1.0.0 # via black -numpy==2.1.3 +numpy==2.2.1 # via # -r requirements/coverage.in # pandas @@ -60,7 +60,7 @@ ptyprocess==0.7.0 # via pexpect pyarrow==18.1.0 # via -r requirements/coverage.in -pytest==8.3.3 +pytest==8.3.4 # via # -r requirements/test.in # pytest-cov @@ -79,9 +79,9 @@ pytz==2024.2 # pandas pyyaml==6.0.2 # via libcst -redis==5.2.0 +redis==5.2.1 # via fakeredis -six==1.16.0 +six==1.17.0 # via python-dateutil sortedcontainers==2.4.0 # via diff --git a/requirements/fuzzing.txt b/requirements/fuzzing.txt index df3c28a97d..f1d14d0890 100644 --- a/requirements/fuzzing.txt +++ b/requirements/fuzzing.txt @@ -20,17 +20,17 @@ black==24.10.0 # hypothesis blinker==1.9.0 # via flask -certifi==2024.8.30 +certifi==2024.12.14 # via requests -charset-normalizer==3.4.0 +charset-normalizer==3.4.1 # via requests -click==8.1.7 +click==8.1.8 # via # -r requirements/coverage.in # black # flask # hypothesis -coverage[toml]==7.6.8 +coverage[toml]==7.6.10 # via # hypofuzz # pytest-cov @@ -51,13 +51,13 @@ exceptiongroup==1.2.2 ; python_version < "3.11" # pytest execnet==2.1.1 # via pytest-xdist -fakeredis==2.26.1 +fakeredis==2.26.2 # via -r requirements/coverage.in flask==3.0.3 # via dash -hypofuzz==24.9.1 +hypofuzz==24.11.1 # via -r requirements/fuzzing.in -hypothesis[cli]==6.121.1 +hypothesis[cli]==6.123.2 # via hypofuzz idna==3.10 # via requests @@ -67,7 +67,7 @@ iniconfig==2.0.0 # via pytest itsdangerous==2.2.0 # via flask -jinja2==3.1.4 +jinja2==3.1.5 # via flask lark==1.2.2 # via -r requirements/coverage.in @@ -87,7 +87,7 @@ mypy-extensions==1.0.0 # via black nest-asyncio==1.6.0 # via dash -numpy==2.1.3 +numpy==2.2.1 # via # -r requirements/coverage.in # pandas @@ -110,7 +110,7 @@ plotly==5.24.1 # via dash pluggy==1.5.0 # via pytest -psutil==6.1.0 +psutil==6.1.1 # via hypofuzz ptyprocess==0.7.0 # via pexpect @@ -118,7 +118,7 @@ pyarrow==18.1.0 # via -r requirements/coverage.in pygments==2.18.0 # via rich -pytest==8.3.3 +pytest==8.3.4 # via # -r requirements/test.in # hypofuzz @@ -138,17 +138,15 @@ pytz==2024.2 # pandas pyyaml==6.0.2 # via libcst -redis==5.2.0 +redis==5.2.1 # via fakeredis requests==2.32.3 - # via - # dash - # hypofuzz + # via dash retrying==1.3.4 # via dash rich==13.9.4 # via hypothesis -six==1.16.0 +six==1.17.0 # via # python-dateutil # retrying @@ -173,7 +171,7 @@ typing-extensions==4.12.2 # rich tzdata==2024.2 # via pandas -urllib3==2.2.3 +urllib3==2.3.0 # via requests werkzeug==3.0.6 # via diff --git a/requirements/test.txt b/requirements/test.txt index 51b5827650..6f28384553 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -24,7 +24,7 @@ pluggy==1.5.0 # via pytest ptyprocess==0.7.0 # via pexpect -pytest==8.3.3 +pytest==8.3.4 # via # -r requirements/test.in # pytest-xdist diff --git a/requirements/tools.txt b/requirements/tools.txt index c27db504cc..b2f13b4626 100644 --- a/requirements/tools.txt +++ b/requirements/tools.txt @@ -6,11 +6,11 @@ # alabaster==1.0.0 # via sphinx -anyio==4.6.2.post1 +anyio==4.7.0 # via watchfiles asgiref==3.8.1 # via django -asttokens==2.4.1 +asttokens==3.0.0 # via stack-data attrs==24.1.0 # via @@ -32,15 +32,15 @@ build==1.2.2.post1 # via pip-tools cachetools==5.5.0 # via tox -certifi==2024.8.30 +certifi==2024.12.14 # via requests cffi==1.17.1 # via cryptography chardet==5.2.0 # via tox -charset-normalizer==3.4.0 +charset-normalizer==3.4.1 # via requests -click==8.1.7 +click==8.1.8 # via # black # pip-tools @@ -50,7 +50,7 @@ colorama==0.4.6 # via tox com2ann==0.3.0 # via shed -coverage==7.6.8 +coverage==7.6.10 # via -r requirements/tools.in cryptography==44.0.0 # via @@ -61,7 +61,7 @@ decorator==5.1.1 # via ipython distlib==0.3.9 # via virtualenv -django==5.1.3 +django==5.1.4 # via -r requirements/tools.in docutils==0.21.2 # via @@ -96,12 +96,10 @@ idna==3.10 imagesize==1.4.1 # via sphinx importlib-metadata==8.5.0 - # via - # keyring - # twine + # via keyring iniconfig==2.0.0 # via pytest -ipython==8.29.0 +ipython==8.31.0 # via -r requirements/tools.in isort==5.13.2 # via shed @@ -117,13 +115,13 @@ jeepney==0.8.0 # via # keyring # secretstorage -jinja2==3.1.4 +jinja2==3.1.5 # via # pelican # sphinx jsonpointer==3.0.0 # via sphinx-jsonschema -keyring==25.5.0 +keyring==25.6.0 # via twine lark==1.2.2 # via -r requirements/tools.in @@ -145,17 +143,17 @@ more-itertools==10.5.0 # via # jaraco-classes # jaraco-functools -mypy==1.13.0 +mypy==1.14.1 # via -r requirements/tools.in mypy-extensions==1.0.0 # via # black # mypy -nh3==0.2.19 +nh3==0.2.20 # via readme-renderer nodeenv==1.9.1 # via pyright -numpy==2.1.3 +numpy==2.2.1 # via -r requirements/tools.in ordered-set==4.1.0 # via pelican @@ -167,6 +165,7 @@ packaging==24.2 # pytest # sphinx # tox + # twine parso==0.8.4 # via jedi pathspec==0.12.1 @@ -179,7 +178,7 @@ pexpect==4.9.0 # ipython pip-tools==7.4.1 # via -r requirements/tools.in -pkginfo==1.10.0 +pkginfo==1.12.0 # via twine platformdirs==4.3.6 # via @@ -213,9 +212,9 @@ pyproject-hooks==1.2.0 # via # build # pip-tools -pyright==1.1.389 +pyright==1.1.391 # via -r requirements/tools.in -pytest==8.3.3 +pytest==8.3.4 # via # -r requirements/test.in # pytest-xdist @@ -227,7 +226,7 @@ python-dateutil==2.9.0.post0 # pelican pytz==2024.2 # via feedgenerator -pyupgrade==3.19.0 +pyupgrade==3.19.1 # via shed pyyaml==6.0.2 # via @@ -252,16 +251,14 @@ rich==13.9.4 # via # pelican # twine -ruff==0.8.1 +ruff==0.8.6 # via -r requirements/tools.in secretstorage==3.3.3 # via keyring shed==2024.1.1 # via -r requirements/tools.in -six==1.16.0 - # via - # asttokens - # python-dateutil +six==1.17.0 + # via python-dateutil sniffio==1.3.1 # via anyio snowballstemmer==2.2.0 @@ -303,7 +300,7 @@ sphinxcontrib-qthelp==2.0.0 # via sphinx sphinxcontrib-serializinghtml==2.0.0 # via sphinx -sqlparse==0.5.2 +sqlparse==0.5.3 # via django stack-data==0.6.3 # via ipython @@ -326,19 +323,19 @@ traitlets==5.14.3 # via # ipython # matplotlib-inline -twine==5.1.1 +twine==6.0.1 # via -r requirements/tools.in -types-cffi==1.16.0.20240331 +types-cffi==1.16.0.20241221 # via types-pyopenssl types-click==7.1.8 # via -r requirements/tools.in types-pyopenssl==24.1.0.20240722 # via types-redis -types-pytz==2024.2.0.20241003 +types-pytz==2024.2.0.20241221 # via -r requirements/tools.in types-redis==4.6.0.20241004 # via -r requirements/tools.in -types-setuptools==75.6.0.20241126 +types-setuptools==75.6.0.20241223 # via types-cffi typing-extensions==4.12.2 # via @@ -353,13 +350,13 @@ typing-extensions==4.12.2 # tox unidecode==1.3.8 # via pelican -urllib3==2.2.3 +urllib3==2.3.0 # via # requests # twine -virtualenv==20.28.0 +virtualenv==20.28.1 # via tox -watchfiles==1.0.0 +watchfiles==1.0.3 # via pelican wcwidth==0.2.13 # via prompt-toolkit diff --git a/tooling/src/hypothesistooling/__main__.py b/tooling/src/hypothesistooling/__main__.py index 5bcd70d399..b8d3d5c85e 100644 --- a/tooling/src/hypothesistooling/__main__.py +++ b/tooling/src/hypothesistooling/__main__.py @@ -325,9 +325,9 @@ def update_python_versions(): DJANGO_VERSIONS = { - "4.2": "4.2.16", - "5.0": "5.0.9", - "5.1": "5.1.3", + "4.2": "4.2.17", + "5.0": "5.0.10", + "5.1": "5.1.4", } @@ -498,13 +498,13 @@ def run_tox(task, version, *args): # When a version is added or removed, manually update the env lists in tox.ini and # workflows/main.yml, and the `Programming Language ::` specifiers in setup.py PYTHONS = { - "3.9": "3.9.20", - "3.10": "3.10.15", - "3.11": "3.11.10", - "3.12": "3.12.7", - "3.13": "3.13.0", + "3.9": "3.9.21", + "3.10": "3.10.16", + "3.11": "3.11.11", + "3.12": "3.12.8", + "3.13": "3.13.1", "3.13t": "3.13t-dev", - "3.14": "3.14.0a2", + "3.14": "3.14.0a3", "3.14t": "3.14t-dev", "pypy3.9": "pypy3.9-7.3.16", "pypy3.10": "pypy3.10-7.3.17",