Skip to content

Commit

Permalink
Merge pull request #4260 from HypothesisWorks/create-pull-request/patch
Browse files Browse the repository at this point in the history
Update pinned dependencies
  • Loading branch information
Zac-HD authored Mar 2, 2025
2 parents 17ce955 + d8dec21 commit abae9cd
Show file tree
Hide file tree
Showing 11 changed files with 116 additions and 112 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
- check-py311-cover
- check-py311-nocover
- check-py311-niche
- check-pypy311-cover
- check-py312-cover
- check-py312-nocover
- check-py312-niche
Expand Down Expand Up @@ -227,7 +228,7 @@ 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.27.2
PYODIDE_VERSION: 0.27.3
PYTHON_VERSION: 3.12.7
EMSCRIPTEN_VERSION: 3.1.58
steps:
Expand Down
4 changes: 4 additions & 0 deletions hypothesis-python/RELEASE.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
RELEASE_TYPE: patch

This patch updates our vendored `list of top-level domains <https://www.iana.org/domains/root/db>`__,
which is used by the provisional :func:`~hypothesis.provisional.domains` strategy.
2 changes: 1 addition & 1 deletion hypothesis-python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.19", "crosshair-tool>=0.0.82"],
"crosshair": ["hypothesis-crosshair>=0.0.20", "crosshair-tool>=0.0.82"],
# zoneinfo is an odd one: every dependency is platform-conditional.
"zoneinfo": [
"tzdata>=2025.1 ; sys_platform == 'win32' or sys_platform == 'emscripten'",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Version 2024092800, Last Updated Sat Sep 28 07:07:01 2024 UTC
# Version 2025030100, Last Updated Sat Mar 1 07:07:02 2025 UTC
AAA
AARP
ABB
Expand Down Expand Up @@ -627,7 +627,6 @@ KAUFEN
KDDI
KE
KERRYHOTELS
KERRYLOGISTICS
KERRYPROPERTIES
KFH
KG
Expand Down Expand Up @@ -691,7 +690,6 @@ LIMITED
LIMO
LINCOLN
LINK
LIPSY
LIVE
LIVING
LK
Expand Down
10 changes: 8 additions & 2 deletions hypothesis-python/tests/cover/test_reflection.py
Original file line number Diff line number Diff line change
Expand Up @@ -659,8 +659,10 @@ def test_param_called_within_defaults_on_error():

def _prep_source(*pairs):
return [
pytest.param(dedent(x).strip(), dedent(y).strip().encode(), id=f"case-{i}")
for i, (x, y) in enumerate(pairs)
pytest.param(
dedent(x).strip(), dedent(y).strip().encode(), id=f"case-{i}", marks=marks
)
for i, (x, y, *marks) in enumerate(pairs)
]


Expand Down Expand Up @@ -697,6 +699,10 @@ def \\
def\\
f(): pass
""",
pytest.mark.skipif(
sys.version_info[:3] == (3, 13, 2),
reason="untokenize() does not round-trip for code with line breaks, gh-125553",
),
),
(
"""
Expand Down
8 changes: 4 additions & 4 deletions hypothesis-python/tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py{39,py39,310,py310,311,312,313,313t,314,314t}-{brief,full,cover,nocover,niche,custom}
envlist = py{39,py39,310,py310,311,py311,312,313,313t,314,314t}-{brief,full,cover,nocover,niche,custom}
toxworkdir={env:TOX_WORK_DIR:.tox}

[testenv]
Expand Down Expand Up @@ -161,21 +161,21 @@ commands =
setenv=
PYTHONWARNDEFAULTENCODING=1
commands =
pip install django==4.2.18
pip install django==4.2.19
python -bb -X dev -m tests.django.manage test tests.django {posargs}

[testenv:django50]
setenv=
PYTHONWARNDEFAULTENCODING=1
commands =
pip install django==5.0.11
pip install django==5.0.12
python -bb -X dev -m tests.django.manage test tests.django {posargs}

[testenv:django51]
setenv=
PYTHONWARNDEFAULTENCODING=1
commands =
pip install django==5.1.5
pip install django==5.1.6
python -bb -X dev -m tests.django.manage test tests.django {posargs}

[testenv:py{39}-nose]
Expand Down
10 changes: 5 additions & 5 deletions requirements/coverage.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ click==8.1.8
# via
# -r requirements/coverage.in
# black
coverage[toml]==7.6.10
coverage[toml]==7.6.12
# via pytest-cov
dpcontracts==0.6.0
# via -r requirements/coverage.in
Expand All @@ -28,7 +28,7 @@ exceptiongroup==1.2.2 ; python_version < "3.11"
# pytest
execnet==2.1.1
# via pytest-xdist
fakeredis==2.26.2
fakeredis==2.27.0
# via -r requirements/coverage.in
iniconfig==2.0.0
# via pytest
Expand All @@ -38,7 +38,7 @@ libcst==1.6.0
# via -r requirements/coverage.in
mypy-extensions==1.0.0
# via black
numpy==2.2.2
numpy==2.2.3
# via
# -r requirements/coverage.in
# pandas
Expand All @@ -58,7 +58,7 @@ pluggy==1.5.0
# via pytest
ptyprocess==0.7.0
# via pexpect
pyarrow==19.0.0
pyarrow==19.0.1
# via -r requirements/coverage.in
pytest==8.3.4
# via
Expand All @@ -73,7 +73,7 @@ python-dateutil==2.9.0.post0
# via
# -r requirements/coverage.in
# pandas
pytz==2024.2
pytz==2025.1
# via
# -r requirements/coverage.in
# pandas
Expand Down
122 changes: 57 additions & 65 deletions requirements/fuzzing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,69 +6,68 @@
#
annotated-types==0.7.0
# via -r requirements/coverage.in
anyio==4.8.0
# via starlette
async-timeout==5.0.1
# via redis
attrs==24.1.0
# via
# -r requirements/test.in
# hypothesis
# hypothesis (hypothesis-python/setup.py)
# outcome
# trio
black==25.1.0
# via
# -r requirements/coverage.in
# hypofuzz
# hypothesis
blinker==1.9.0
# via flask
certifi==2024.12.14
# via requests
charset-normalizer==3.4.1
# via requests
click==8.1.8
# via
# -r requirements/coverage.in
# black
# flask
# hypothesis
coverage[toml]==7.6.10
coverage[toml]==7.6.12
# via
# hypofuzz
# pytest-cov
dash==2.18.2
# via hypofuzz
dash-core-components==2.0.0
# via dash
dash-html-components==2.0.0
# via dash
dash-table==5.0.0
# via dash
dpcontracts==0.6.0
# via -r requirements/coverage.in
exceptiongroup==1.2.2 ; python_version < "3.11"
# via
# anyio
# hypercorn
# hypothesis
# hypothesis (hypothesis-python/setup.py)
# pytest
# taskgroup
# trio
execnet==2.1.1
# via pytest-xdist
fakeredis==2.26.2
fakeredis==2.27.0
# via -r requirements/coverage.in
flask==3.0.3
# via dash
hypofuzz==25.1.5
h11==0.14.0
# via
# hypercorn
# wsproto
h2==4.2.0
# via hypercorn
hpack==4.1.0
# via h2
hypercorn==0.17.3
# via hypofuzz
hyperframe==6.1.0
# via h2
hypofuzz==25.2.5
# via -r requirements/fuzzing.in
hypothesis[cli]==6.124.7
hypothesis[cli,watchdog]==6.127.3
# via hypofuzz
idna==3.10
# via requests
importlib-metadata==8.6.1
# via dash
# via
# anyio
# trio
iniconfig==2.0.0
# via pytest
itsdangerous==2.2.0
# via flask
jinja2==3.1.5
# via flask
lark==1.2.2
# via -r requirements/coverage.in
libcst==1.6.0
Expand All @@ -77,44 +76,37 @@ libcst==1.6.0
# hypofuzz
markdown-it-py==3.0.0
# via rich
markupsafe==3.0.2
# via
# jinja2
# werkzeug
mdurl==0.1.2
# via markdown-it-py
mypy-extensions==1.0.0
# via black
nest-asyncio==1.6.0
# via dash
numpy==2.2.2
numpy==2.2.3
# via
# -r requirements/coverage.in
# pandas
outcome==1.3.0.post0
# via trio
packaging==24.2
# via
# black
# plotly
# pytest
pandas==2.2.3
# via
# -r requirements/coverage.in
# hypofuzz
# via -r requirements/coverage.in
pathspec==0.12.1
# via black
pexpect==4.9.0
# via -r requirements/test.in
platformdirs==4.3.6
# via black
plotly==5.24.1
# via dash
pluggy==1.5.0
# via pytest
psutil==6.1.1
priority==2.0.0
# via hypercorn
psutil==7.0.0
# via hypofuzz
ptyprocess==0.7.0
# via pexpect
pyarrow==19.0.0
pyarrow==19.0.1
# via -r requirements/coverage.in
pygments==2.19.1
# via rich
Expand All @@ -132,54 +124,54 @@ python-dateutil==2.9.0.post0
# via
# -r requirements/coverage.in
# pandas
pytz==2024.2
pytz==2025.1
# via
# -r requirements/coverage.in
# pandas
pyyaml==6.0.2
# via libcst
redis==5.2.1
# via fakeredis
requests==2.32.3
# via dash
retrying==1.3.4
# via dash
rich==13.9.4
# via hypothesis
six==1.17.0
# via python-dateutil
sniffio==1.3.1
# via
# python-dateutil
# retrying
# anyio
# trio
sortedcontainers==2.4.0
# via
# fakeredis
# hypothesis
# hypothesis (hypothesis-python/setup.py)
tenacity==9.0.0
# via plotly
# trio
starlette==0.46.0
# via hypofuzz
taskgroup==0.2.2
# via hypercorn
tomli==2.2.1
# via
# black
# coverage
# hypercorn
# pytest
trio==0.29.0
# via hypofuzz
typing-extensions==4.12.2
# via
# -r requirements/coverage.in
# anyio
# black
# dash
# fakeredis
# hypercorn
# rich
# taskgroup
tzdata==2025.1
# via pandas
urllib3==2.3.0
# via requests
werkzeug==3.0.6
# via
# dash
# flask
zipp==3.21.0
# via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
setuptools==75.8.0
# via dash
watchdog==6.0.0
# via
# -r requirements/coverage.in
# hypothesis
wsproto==1.2.0
# via hypercorn
Loading

0 comments on commit abae9cd

Please sign in to comment.