Skip to content

Commit 7a4a7bf

Browse files
authored
DEPS: Bump misc testing dependencies (#59257)
* DEPS: Bump misc testing dependencies * pyqt alignment
1 parent 71cacde commit 7a4a7bf

21 files changed

+61
-61
lines changed

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
/opt/python/cp311-cp311/bin/python -m venv ~/virtualenvs/pandas-dev
5555
. ~/virtualenvs/pandas-dev/bin/activate
5656
python -m pip install --no-cache-dir -U pip wheel setuptools meson-python==0.13.1 meson[ninja]==1.2.1
57-
python -m pip install --no-cache-dir versioneer[toml] cython numpy python-dateutil pytz pytest>=7.3.2 pytest-xdist>=2.2.0 hypothesis>=6.46.1
57+
python -m pip install --no-cache-dir versioneer[toml] cython numpy python-dateutil pytz pytest>=7.3.2 pytest-xdist>=3.4.0 hypothesis>=6.84.0
5858
python -m pip install --no-cache-dir --no-build-isolation -e . --config-settings=setup-args="--werror"
5959
python -m pip list --no-cache-dir
6060
export PANDAS_CI=1

.github/workflows/unit-tests.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ jobs:
227227
. ~/virtualenvs/pandas-dev/bin/activate
228228
python -m pip install --no-cache-dir -U pip wheel setuptools meson[ninja]==1.2.1 meson-python==0.13.1
229229
python -m pip install numpy --config-settings=setup-args="-Dallow-noblas=true"
230-
python -m pip install --no-cache-dir versioneer[toml] cython python-dateutil pytz pytest>=7.3.2 pytest-xdist>=2.2.0 hypothesis>=6.46.1
230+
python -m pip install --no-cache-dir versioneer[toml] cython python-dateutil pytz pytest>=7.3.2 pytest-xdist>=3.4.0 hypothesis>=6.84.0
231231
python -m pip install --no-cache-dir --no-build-isolation -e . --config-settings=setup-args="--werror"
232232
python -m pip list --no-cache-dir
233233
export PANDAS_CI=1
@@ -265,7 +265,7 @@ jobs:
265265
/opt/python/cp311-cp311/bin/python -m venv ~/virtualenvs/pandas-dev
266266
. ~/virtualenvs/pandas-dev/bin/activate
267267
python -m pip install --no-cache-dir -U pip wheel setuptools meson-python==0.13.1 meson[ninja]==1.2.1
268-
python -m pip install --no-cache-dir versioneer[toml] cython numpy python-dateutil pytz pytest>=7.3.2 pytest-xdist>=2.2.0 hypothesis>=6.46.1
268+
python -m pip install --no-cache-dir versioneer[toml] cython numpy python-dateutil pytz pytest>=7.3.2 pytest-xdist>=3.4.0 hypothesis>=6.84.0
269269
python -m pip install --no-cache-dir --no-build-isolation -e . --config-settings=setup-args="--werror"
270270
python -m pip list --no-cache-dir
271271
@@ -339,7 +339,7 @@ jobs:
339339
python -m pip install --upgrade pip setuptools wheel meson[ninja]==1.2.1 meson-python==0.13.1
340340
python -m pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy
341341
python -m pip install versioneer[toml]
342-
python -m pip install python-dateutil pytz tzdata cython hypothesis>=6.46.1 pytest>=7.3.2 pytest-xdist>=2.2.0 pytest-cov
342+
python -m pip install python-dateutil pytz tzdata cython hypothesis>=6.84.0 pytest>=7.3.2 pytest-xdist>=3.4.0 pytest-cov
343343
python -m pip install -ve . --no-build-isolation --no-index --no-deps --config-settings=setup-args="--werror"
344344
python -m pip list
345345
@@ -382,7 +382,7 @@ jobs:
382382
python -m pip install --upgrade pip setuptools wheel meson[ninja]==1.2.1 meson-python==0.13.1
383383
python -m pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy cython
384384
python -m pip install versioneer[toml]
385-
python -m pip install python-dateutil pytz tzdata hypothesis>=6.46.1 pytest>=7.3.2 pytest-xdist>=2.2.0 pytest-cov
385+
python -m pip install python-dateutil pytz tzdata hypothesis>=6.84.0 pytest>=7.3.2 pytest-xdist>=3.4.0 pytest-cov
386386
python -m pip install -ve . --no-build-isolation --no-index --no-deps --config-settings=setup-args="--werror"
387387
python -m pip list
388388

.github/workflows/wheels.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ jobs:
178178
shell: pwsh
179179
run: |
180180
$TST_CMD = @"
181-
python -m pip install hypothesis>=6.46.1 pytest>=7.3.2 pytest-xdist>=2.2.0;
181+
python -m pip install hypothesis>=6.84.0 pytest>=7.3.2 pytest-xdist>=3.4.0;
182182
python -m pip install `$(Get-Item pandas\wheelhouse\*.whl);
183183
python -c `'import pandas as pd; pd.test(extra_args=[`\"--no-strict-data-files`\", `\"-m not clipboard and not single_cpu and not slow and not network and not db`\"])`';
184184
"@

ci/deps/actions-310-minimum_versions.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ dependencies:
1515
# test dependencies
1616
- pytest>=7.3.2
1717
- pytest-cov
18-
- pytest-xdist>=2.2.0
19-
- pytest-localserver>=0.7.1
20-
- pytest-qt>=4.2.0
18+
- pytest-xdist>=3.4.0
19+
- pytest-localserver>=0.8.1
20+
- pytest-qt>=4.4.0
2121
- boto3
2222

2323
# required dependencies
@@ -32,7 +32,7 @@ dependencies:
3232
- fastparquet=2023.10.0
3333
- fsspec=2022.11.0
3434
- html5lib=1.1
35-
- hypothesis=6.46.1
35+
- hypothesis=6.84.0
3636
- gcsfs=2022.11.0
3737
- jinja2=3.1.2
3838
- lxml=4.9.2

ci/deps/actions-310.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ dependencies:
1313
# test dependencies
1414
- pytest>=7.3.2
1515
- pytest-cov
16-
- pytest-xdist>=2.2.0
17-
- pytest-qt>=4.2.0
16+
- pytest-xdist>=3.4.0
17+
- pytest-localserver>=0.8.1
18+
- pytest-qt>=4.4.0
1819
- boto3
1920

2021
# required dependencies
@@ -29,7 +30,7 @@ dependencies:
2930
- fastparquet>=2023.10.0
3031
- fsspec>=2022.11.0
3132
- html5lib>=1.1
32-
- hypothesis>=6.46.1
33+
- hypothesis>=6.84.0
3334
- gcsfs>=2022.11.0
3435
- jinja2>=3.1.2
3536
- lxml>=4.9.2
@@ -60,4 +61,3 @@ dependencies:
6061
- adbc-driver-postgresql>=0.10.0
6162
- adbc-driver-sqlite>=0.8.0
6263
- tzdata>=2022.7
63-
- pytest-localserver>=0.7.1

ci/deps/actions-311-downstream_compat.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ dependencies:
1414
# test dependencies
1515
- pytest>=7.3.2
1616
- pytest-cov
17-
- pytest-xdist>=2.2.0
18-
- pytest-localserver>=0.7.1
19-
- pytest-qt>=4.2.0
17+
- pytest-xdist>=3.4.0
18+
- pytest-localserver>=0.8.1
19+
- pytest-qt>=4.4.0
2020
- boto3
2121

2222
# required dependencies
@@ -31,7 +31,7 @@ dependencies:
3131
- fastparquet>=2023.10.0
3232
- fsspec>=2022.11.0
3333
- html5lib>=1.1
34-
- hypothesis>=6.46.1
34+
- hypothesis>=6.84.0
3535
- gcsfs>=2022.11.0
3636
- jinja2>=3.1.2
3737
- lxml>=4.9.2

ci/deps/actions-311-numpydev.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ dependencies:
1313
# test dependencies
1414
- pytest>=7.3.2
1515
- pytest-cov
16-
- pytest-xdist>=2.2.0
17-
- hypothesis>=6.46.1
16+
- pytest-xdist>=3.4.0
17+
- hypothesis>=6.84.0
1818

1919
# pandas dependencies
2020
- python-dateutil

ci/deps/actions-311-pyarrownightly.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ dependencies:
1313
# test dependencies
1414
- pytest>=7.3.2
1515
- pytest-cov
16-
- pytest-xdist>=2.2.0
17-
- hypothesis>=6.46.1
16+
- pytest-xdist>=3.4.0
17+
- hypothesis>=6.84.0
1818

1919
# required dependencies
2020
- python-dateutil

ci/deps/actions-311.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ dependencies:
1313
# test dependencies
1414
- pytest>=7.3.2
1515
- pytest-cov
16-
- pytest-xdist>=2.2.0
17-
- pytest-qt>=4.2.0
16+
- pytest-xdist>=3.4.0
17+
- pytest-localserver>=0.8.1
18+
- pytest-qt>=4.4.0
1819
- boto3
1920

2021
# required dependencies
@@ -29,7 +30,7 @@ dependencies:
2930
- fastparquet>=2023.10.0
3031
- fsspec>=2022.11.0
3132
- html5lib>=1.1
32-
- hypothesis>=6.46.1
33+
- hypothesis>=6.84.0
3334
- gcsfs>=2022.11.0
3435
- jinja2>=3.1.2
3536
- lxml>=4.9.2
@@ -59,4 +60,3 @@ dependencies:
5960
- pip:
6061
- adbc-driver-postgresql>=0.10.0
6162
- adbc-driver-sqlite>=0.8.0
62-
- pytest-localserver>=0.7.1

ci/deps/actions-312.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ dependencies:
1313
# test dependencies
1414
- pytest>=7.3.2
1515
- pytest-cov
16-
- pytest-xdist>=2.2.0
17-
- pytest-qt>=4.2.0
16+
- pytest-xdist>=3.4.0
17+
- pytest-localserver>=0.8.1
18+
- pytest-qt>=4.4.0
1819
- boto3
1920

2021
# required dependencies
@@ -29,7 +30,7 @@ dependencies:
2930
- fastparquet>=2023.10.0
3031
- fsspec>=2022.11.0
3132
- html5lib>=1.1
32-
- hypothesis>=6.46.1
33+
- hypothesis>=6.84.0
3334
- gcsfs>=2022.11.0
3435
- jinja2>=3.1.2
3536
- lxml>=4.9.2
@@ -60,4 +61,3 @@ dependencies:
6061
- adbc-driver-postgresql>=0.10.0
6162
- adbc-driver-sqlite>=0.8.0
6263
- tzdata>=2022.7
63-
- pytest-localserver>=0.7.1

ci/deps/actions-pypy-39.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ dependencies:
1616
# test dependencies
1717
- pytest>=7.3.2
1818
- pytest-cov
19-
- pytest-xdist>=2.2.0
20-
- hypothesis>=6.46.1
19+
- pytest-xdist>=3.4.0
20+
- hypothesis>=6.84.0
2121

2222
# required
2323
- numpy

ci/deps/circle-311-arm64.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ dependencies:
1313
# test dependencies
1414
- pytest>=7.3.2
1515
- pytest-cov
16-
- pytest-xdist>=2.2.0
17-
- pytest-localserver>=0.7.1
18-
- pytest-qt>=4.2.0
16+
- pytest-xdist>=3.4.0
17+
- pytest-localserver>=0.8.1
18+
- pytest-qt>=4.4.0
1919
- boto3
2020

2121
# required dependencies
@@ -30,7 +30,7 @@ dependencies:
3030
- fastparquet>=2023.10.0
3131
- fsspec>=2022.11.0
3232
- html5lib>=1.1
33-
- hypothesis>=6.46.1
33+
- hypothesis>=6.84.0
3434
- gcsfs>=2022.11.0
3535
- jinja2>=3.1.2
3636
- lxml>=4.9.2

ci/meta.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ test:
6464
requires:
6565
- pip
6666
- pytest >=7.3.2
67-
- pytest-xdist >=2.2.0
67+
- pytest-xdist >=3.4.0
6868
- pytest-cov
69-
- hypothesis >=6.46.1
69+
- hypothesis >=6.84.0
7070
- tomli # [py<311]
7171

7272
about:

environment.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ dependencies:
1515
# test dependencies
1616
- pytest>=7.3.2
1717
- pytest-cov
18-
- pytest-xdist>=2.2.0
19-
- pytest-qt>=4.2.0
18+
- pytest-xdist>=3.4.0
19+
- pytest-qt>=4.4.0
2020
- pytest-localserver
2121
- pyqt>=5.15.9
2222
- coverage
@@ -33,7 +33,7 @@ dependencies:
3333
- fastparquet>=2023.10.0
3434
- fsspec>=2022.11.0
3535
- html5lib>=1.1
36-
- hypothesis>=6.46.1
36+
- hypothesis>=6.84.0
3737
- gcsfs>=2022.11.0
3838
- ipython
3939
- jinja2>=3.1.2

pandas/compat/_optional.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"fastparquet": "2023.10.0",
2929
"fsspec": "2022.11.0",
3030
"html5lib": "1.1",
31-
"hypothesis": "6.46.1",
31+
"hypothesis": "6.84.0",
3232
"gcsfs": "2022.11.0",
3333
"jinja2": "3.1.2",
3434
"lxml.etree": "4.9.2",

pandas/conftest.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@
7676
Index,
7777
MultiIndex,
7878
)
79-
from pandas.util.version import Version
8079

8180
if TYPE_CHECKING:
8281
from collections.abc import (
@@ -182,9 +181,10 @@ def pytest_collection_modifyitems(items, config) -> None:
182181
ignore_doctest_warning(item, path, message)
183182

184183

185-
hypothesis_health_checks = [hypothesis.HealthCheck.too_slow]
186-
if Version(hypothesis.__version__) >= Version("6.83.2"):
187-
hypothesis_health_checks.append(hypothesis.HealthCheck.differing_executors)
184+
hypothesis_health_checks = [
185+
hypothesis.HealthCheck.too_slow,
186+
hypothesis.HealthCheck.differing_executors,
187+
]
188188

189189
# Hypothesis
190190
hypothesis.settings.register_profile(

pyproject.toml

+5-5
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ repository = 'https://github.com/pandas-dev/pandas'
5858
matplotlib = "pandas:plotting._matplotlib"
5959

6060
[project.optional-dependencies]
61-
test = ['hypothesis>=6.46.1', 'pytest>=7.3.2', 'pytest-xdist>=2.2.0']
61+
test = ['hypothesis>=6.84.0', 'pytest>=7.3.2', 'pytest-xdist>=3.4.0']
6262
pyarrow = ['pyarrow>=10.0.1']
6363
performance = ['bottleneck>=1.3.6', 'numba>=0.56.4', 'numexpr>=2.8.4']
6464
computation = ['scipy>=1.10.0', 'xarray>=2022.12.0']
@@ -91,7 +91,7 @@ all = ['adbc-driver-postgresql>=0.10.0',
9191
'fsspec>=2022.11.0',
9292
'gcsfs>=2022.11.0',
9393
'html5lib>=1.1',
94-
'hypothesis>=6.46.1',
94+
'hypothesis>=6.84.0',
9595
'jinja2>=3.1.2',
9696
'lxml>=4.9.2',
9797
'matplotlib>=3.6.3',
@@ -105,7 +105,7 @@ all = ['adbc-driver-postgresql>=0.10.0',
105105
'PyQt5>=5.15.9',
106106
'pyreadstat>=1.2.0',
107107
'pytest>=7.3.2',
108-
'pytest-xdist>=2.2.0',
108+
'pytest-xdist>=3.4.0',
109109
'python-calamine>=0.1.7',
110110
'pyxlsb>=1.0.10',
111111
'qtpy>=2.3.0',
@@ -148,7 +148,7 @@ setup = ['--vsenv'] # For Windows
148148
skip = "cp36-* cp37-* cp38-* cp39-* pp* *_i686 *_ppc64le *_s390x"
149149
build-verbosity = "3"
150150
environment = {LDFLAGS="-Wl,--strip-all"}
151-
test-requires = "hypothesis>=6.46.1 pytest>=7.3.2 pytest-xdist>=2.2.0"
151+
test-requires = "hypothesis>=6.84.0 pytest>=7.3.2 pytest-xdist>=3.4.0"
152152
test-command = """
153153
PANDAS_CI='1' python -c 'import pandas as pd; \
154154
pd.test(extra_args=["-m not clipboard and not single_cpu and not slow and not network and not db", "-n 2", "--no-strict-data-files"]); \
@@ -179,7 +179,7 @@ environment = {CFLAGS="-g0"}
179179

180180
[[tool.cibuildwheel.overrides]]
181181
select = "*pyodide*"
182-
test-requires = "pytest>=7.3.2 hypothesis>=6.46.1"
182+
test-requires = "pytest>=7.3.2 hypothesis>=6.84.0"
183183
# Pyodide repairs wheels on its own, using auditwheel-emscripten
184184
repair-wheel-command = ""
185185
test-command = """

requirements-dev.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ meson[ninja]==1.2.1
88
meson-python==0.13.1
99
pytest>=7.3.2
1010
pytest-cov
11-
pytest-xdist>=2.2.0
12-
pytest-qt>=4.2.0
11+
pytest-xdist>=3.4.0
12+
pytest-qt>=4.4.0
1313
pytest-localserver
1414
PyQt5>=5.15.9
1515
coverage
@@ -22,7 +22,7 @@ bottleneck>=1.3.6
2222
fastparquet>=2023.10.0
2323
fsspec>=2022.11.0
2424
html5lib>=1.1
25-
hypothesis>=6.46.1
25+
hypothesis>=6.84.0
2626
gcsfs>=2022.11.0
2727
ipython
2828
jinja2>=3.1.2

scripts/tests/data/deps_expected_random.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dependencies:
1212
# test dependencies
1313
- pytest>=7.3.2
1414
- pytest-cov
15-
- pytest-xdist>=2.2.0
15+
- pytest-xdist>=3.4.0
1616
- psutil
1717
- boto3
1818

0 commit comments

Comments
 (0)