Skip to content

Commit

Permalink
Merge pull request #3853 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 committed Jan 22, 2024
2 parents 775ed91 + 458868e commit 022b1f2
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 17 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,9 @@ jobs:
- name: Use old pandas on win32
if: matrix.python-architecture
# See https://github.com/pandas-dev/pandas/issues/54979
run: (Get-Content .\requirements\coverage.txt) -replace 'pandas==[0-9.]+', 'pandas==2.0.3' | Out-File .\requirements\coverage.txt
run: |
(Get-Content .\requirements\coverage.txt) -replace 'pandas==[0-9.]+', 'pandas==2.0.3' | Out-File .\requirements\coverage.txt
(Get-Content .\requirements\coverage.txt) -replace 'pyarrow==[0-9.]+', '# omitted' | Out-File .\requirements\coverage.txt
- name: Install dependencies
run: |
pip install --upgrade setuptools pip wheel
Expand Down
3 changes: 3 additions & 0 deletions hypothesis-python/tests/conjecture/test_forced.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ def test_forced_boolean(kwargs):
],
)
def test_forced_integer(use_min_value, use_max_value, use_shrink_towards, use_weights):
healthchecks = list(HealthCheck) * (use_min_value and use_max_value and use_weights)

@settings(derandomize=True, suppress_health_check=healthchecks)
@given(
draw_integer_kwargs(
use_min_value=use_min_value,
Expand Down
1 change: 1 addition & 0 deletions requirements/coverage.in
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ lark
libcst
numpy
pandas
pyarrow # Silence warning from Pandas >=2.2, <3 - see https://github.com/pandas-dev/pandas/issues/54466
python-dateutil
pytz
typing-extensions
Expand Down
5 changes: 4 additions & 1 deletion requirements/coverage.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,12 @@ numpy==1.26.3
# via
# -r requirements/coverage.in
# pandas
# pyarrow
packaging==23.2
# via
# black
# pytest
pandas==2.1.4
pandas==2.2.0
# via -r requirements/coverage.in
pathspec==0.12.1
# via black
Expand All @@ -58,6 +59,8 @@ pluggy==1.3.0
# via pytest
ptyprocess==0.7.0
# via pexpect
pyarrow==15.0.0
# via -r requirements/coverage.in
pytest==7.4.4
# via
# -r requirements/test.in
Expand Down
15 changes: 9 additions & 6 deletions requirements/fuzzing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ execnet==2.0.2
# via pytest-xdist
fakeredis==2.20.1
# via -r requirements/coverage.in
flask==3.0.0
flask==3.0.1
# via dash
hypofuzz==23.12.1
# via -r requirements/fuzzing.in
hypothesis[cli]==6.93.0
hypothesis[cli]==6.96.2
# via
# hypofuzz
# hypothesis
Expand All @@ -80,7 +80,7 @@ libcst==1.1.0
# hypofuzz
markdown-it-py==3.0.0
# via rich
markupsafe==2.1.3
markupsafe==2.1.4
# via
# jinja2
# werkzeug
Expand All @@ -90,18 +90,19 @@ mypy-extensions==1.0.0
# via
# black
# typing-inspect
nest-asyncio==1.5.8
nest-asyncio==1.6.0
# via dash
numpy==1.26.3
# via
# -r requirements/coverage.in
# pandas
# pyarrow
packaging==23.2
# via
# black
# plotly
# pytest
pandas==2.1.4
pandas==2.2.0
# via
# -r requirements/coverage.in
# hypofuzz
Expand All @@ -115,10 +116,12 @@ plotly==5.18.0
# via dash
pluggy==1.3.0
# via pytest
psutil==5.9.7
psutil==5.9.8
# via hypofuzz
ptyprocess==0.7.0
# via pexpect
pyarrow==15.0.0
# via -r requirements/coverage.in
pygments==2.17.2
# via rich
pytest==7.4.4
Expand Down
10 changes: 5 additions & 5 deletions requirements/tools.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ autoflake==2.2.1
# via shed
babel==2.14.0
# via sphinx
beautifulsoup4==4.12.2
beautifulsoup4==4.12.3
# via sphinx-codeautolink
black==23.12.1
# via shed
Expand Down Expand Up @@ -111,7 +111,7 @@ libcst==1.1.0
# shed
markdown-it-py==3.0.0
# via rich
markupsafe==2.1.3
markupsafe==2.1.4
# via jinja2
matplotlib-inline==0.1.6
# via ipython
Expand Down Expand Up @@ -177,7 +177,7 @@ pyproject-api==1.6.1
# via tox
pyproject-hooks==1.0.0
# via build
pyright==1.1.345
pyright==1.1.348
# via -r requirements/tools.in
pytest==7.4.4
# via -r requirements/tools.in
Expand Down Expand Up @@ -206,7 +206,7 @@ rfc3986==2.0.0
# via twine
rich==13.7.0
# via twine
ruff==0.1.13
ruff==0.1.14
# via -r requirements/tools.in
secretstorage==3.3.3
# via keyring
Expand Down Expand Up @@ -272,7 +272,7 @@ tomli==2.0.1
# pyproject-hooks
# pytest
# tox
tox==4.12.0
tox==4.12.1
# via -r requirements/tools.in
traitlets==5.14.1
# via
Expand Down
8 changes: 4 additions & 4 deletions tooling/src/hypothesistooling/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,12 +392,12 @@ def run_tox(task, version, *args):
"3.8": "3.8.18",
"3.9": "3.9.18",
"3.10": "3.10.13",
"3.11": "3.11.7",
"3.12": "3.12.1",
"3.11": "3.11.6",
"3.12": "3.12.0",
"3.13": "3.13.0a2",
"pypy3.8": "pypy3.8-7.3.11",
"pypy3.9": "pypy3.9-7.3.14",
"pypy3.10": "pypy3.10-7.3.14",
"pypy3.9": "pypy3.9-7.3.13",
"pypy3.10": "pypy3.10-7.3.13",
}
ci_version = "3.10" # Keep this in sync with GH Actions main.yml and .readthedocs.yml

Expand Down

0 comments on commit 022b1f2

Please sign in to comment.