Skip to content

DEPS: Bump misc testing dependencies #59257

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
/opt/python/cp311-cp311/bin/python -m venv ~/virtualenvs/pandas-dev
. ~/virtualenvs/pandas-dev/bin/activate
python -m pip install --no-cache-dir -U pip wheel setuptools meson-python==0.13.1 meson[ninja]==1.2.1
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
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
python -m pip install --no-cache-dir --no-build-isolation -e . --config-settings=setup-args="--werror"
python -m pip list --no-cache-dir
export PANDAS_CI=1
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ jobs:
. ~/virtualenvs/pandas-dev/bin/activate
python -m pip install --no-cache-dir -U pip wheel setuptools meson[ninja]==1.2.1 meson-python==0.13.1
python -m pip install numpy --config-settings=setup-args="-Dallow-noblas=true"
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
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
python -m pip install --no-cache-dir --no-build-isolation -e . --config-settings=setup-args="--werror"
python -m pip list --no-cache-dir
export PANDAS_CI=1
Expand Down Expand Up @@ -265,7 +265,7 @@ jobs:
/opt/python/cp311-cp311/bin/python -m venv ~/virtualenvs/pandas-dev
. ~/virtualenvs/pandas-dev/bin/activate
python -m pip install --no-cache-dir -U pip wheel setuptools meson-python==0.13.1 meson[ninja]==1.2.1
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
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
python -m pip install --no-cache-dir --no-build-isolation -e . --config-settings=setup-args="--werror"
python -m pip list --no-cache-dir

Expand Down Expand Up @@ -339,7 +339,7 @@ jobs:
python -m pip install --upgrade pip setuptools wheel meson[ninja]==1.2.1 meson-python==0.13.1
python -m pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy
python -m pip install versioneer[toml]
python -m pip install python-dateutil pytz tzdata cython hypothesis>=6.46.1 pytest>=7.3.2 pytest-xdist>=2.2.0 pytest-cov
python -m pip install python-dateutil pytz tzdata cython hypothesis>=6.84.0 pytest>=7.3.2 pytest-xdist>=3.4.0 pytest-cov
python -m pip install -ve . --no-build-isolation --no-index --no-deps --config-settings=setup-args="--werror"
python -m pip list

Expand Down Expand Up @@ -382,7 +382,7 @@ jobs:
python -m pip install --upgrade pip setuptools wheel meson[ninja]==1.2.1 meson-python==0.13.1
python -m pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy cython
python -m pip install versioneer[toml]
python -m pip install python-dateutil pytz tzdata hypothesis>=6.46.1 pytest>=7.3.2 pytest-xdist>=2.2.0 pytest-cov
python -m pip install python-dateutil pytz tzdata hypothesis>=6.84.0 pytest>=7.3.2 pytest-xdist>=3.4.0 pytest-cov
python -m pip install -ve . --no-build-isolation --no-index --no-deps --config-settings=setup-args="--werror"
python -m pip list

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ jobs:
shell: pwsh
run: |
$TST_CMD = @"
python -m pip install hypothesis>=6.46.1 pytest>=7.3.2 pytest-xdist>=2.2.0;
python -m pip install hypothesis>=6.84.0 pytest>=7.3.2 pytest-xdist>=3.4.0;
python -m pip install `$(Get-Item pandas\wheelhouse\*.whl);
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`\"])`';
"@
Expand Down
8 changes: 4 additions & 4 deletions ci/deps/actions-310-minimum_versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ dependencies:
# test dependencies
- pytest>=7.3.2
- pytest-cov
- pytest-xdist>=2.2.0
- pytest-localserver>=0.7.1
- pytest-qt>=4.2.0
- pytest-xdist>=3.4.0
- pytest-localserver>=0.8.1
- pytest-qt>=4.4.0
- boto3

# required dependencies
Expand All @@ -32,7 +32,7 @@ dependencies:
- fastparquet=2023.10.0
- fsspec=2022.11.0
- html5lib=1.1
- hypothesis=6.46.1
- hypothesis=6.84.0
- gcsfs=2022.11.0
- jinja2=3.1.2
- lxml=4.9.2
Expand Down
8 changes: 4 additions & 4 deletions ci/deps/actions-310.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ dependencies:
# test dependencies
- pytest>=7.3.2
- pytest-cov
- pytest-xdist>=2.2.0
- pytest-qt>=4.2.0
- pytest-xdist>=3.4.0
- pytest-localserver>=0.8.1
- pytest-qt>=4.4.0
- boto3

# required dependencies
Expand All @@ -29,7 +30,7 @@ dependencies:
- fastparquet>=2023.10.0
- fsspec>=2022.11.0
- html5lib>=1.1
- hypothesis>=6.46.1
- hypothesis>=6.84.0
- gcsfs>=2022.11.0
- jinja2>=3.1.2
- lxml>=4.9.2
Expand Down Expand Up @@ -60,4 +61,3 @@ dependencies:
- adbc-driver-postgresql>=0.10.0
- adbc-driver-sqlite>=0.8.0
- tzdata>=2022.7
- pytest-localserver>=0.7.1
8 changes: 4 additions & 4 deletions ci/deps/actions-311-downstream_compat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ dependencies:
# test dependencies
- pytest>=7.3.2
- pytest-cov
- pytest-xdist>=2.2.0
- pytest-localserver>=0.7.1
- pytest-qt>=4.2.0
- pytest-xdist>=3.4.0
- pytest-localserver>=0.8.1
- pytest-qt>=4.4.0
- boto3

# required dependencies
Expand All @@ -31,7 +31,7 @@ dependencies:
- fastparquet>=2023.10.0
- fsspec>=2022.11.0
- html5lib>=1.1
- hypothesis>=6.46.1
- hypothesis>=6.84.0
- gcsfs>=2022.11.0
- jinja2>=3.1.2
- lxml>=4.9.2
Expand Down
4 changes: 2 additions & 2 deletions ci/deps/actions-311-numpydev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ dependencies:
# test dependencies
- pytest>=7.3.2
- pytest-cov
- pytest-xdist>=2.2.0
- hypothesis>=6.46.1
- pytest-xdist>=3.4.0
- hypothesis>=6.84.0

# pandas dependencies
- python-dateutil
Expand Down
4 changes: 2 additions & 2 deletions ci/deps/actions-311-pyarrownightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ dependencies:
# test dependencies
- pytest>=7.3.2
- pytest-cov
- pytest-xdist>=2.2.0
- hypothesis>=6.46.1
- pytest-xdist>=3.4.0
- hypothesis>=6.84.0

# required dependencies
- python-dateutil
Expand Down
8 changes: 4 additions & 4 deletions ci/deps/actions-311.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ dependencies:
# test dependencies
- pytest>=7.3.2
- pytest-cov
- pytest-xdist>=2.2.0
- pytest-qt>=4.2.0
- pytest-xdist>=3.4.0
- pytest-localserver>=0.8.1
- pytest-qt>=4.4.0
- boto3

# required dependencies
Expand All @@ -29,7 +30,7 @@ dependencies:
- fastparquet>=2023.10.0
- fsspec>=2022.11.0
- html5lib>=1.1
- hypothesis>=6.46.1
- hypothesis>=6.84.0
- gcsfs>=2022.11.0
- jinja2>=3.1.2
- lxml>=4.9.2
Expand Down Expand Up @@ -59,4 +60,3 @@ dependencies:
- pip:
- adbc-driver-postgresql>=0.10.0
- adbc-driver-sqlite>=0.8.0
- pytest-localserver>=0.7.1
8 changes: 4 additions & 4 deletions ci/deps/actions-312.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ dependencies:
# test dependencies
- pytest>=7.3.2
- pytest-cov
- pytest-xdist>=2.2.0
- pytest-qt>=4.2.0
- pytest-xdist>=3.4.0
- pytest-localserver>=0.8.1
- pytest-qt>=4.4.0
- boto3

# required dependencies
Expand All @@ -29,7 +30,7 @@ dependencies:
- fastparquet>=2023.10.0
- fsspec>=2022.11.0
- html5lib>=1.1
- hypothesis>=6.46.1
- hypothesis>=6.84.0
- gcsfs>=2022.11.0
- jinja2>=3.1.2
- lxml>=4.9.2
Expand Down Expand Up @@ -60,4 +61,3 @@ dependencies:
- adbc-driver-postgresql>=0.10.0
- adbc-driver-sqlite>=0.8.0
- tzdata>=2022.7
- pytest-localserver>=0.7.1
4 changes: 2 additions & 2 deletions ci/deps/actions-pypy-39.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ dependencies:
# test dependencies
- pytest>=7.3.2
- pytest-cov
- pytest-xdist>=2.2.0
- hypothesis>=6.46.1
- pytest-xdist>=3.4.0
- hypothesis>=6.84.0

# required
- numpy
Expand Down
8 changes: 4 additions & 4 deletions ci/deps/circle-311-arm64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ dependencies:
# test dependencies
- pytest>=7.3.2
- pytest-cov
- pytest-xdist>=2.2.0
- pytest-localserver>=0.7.1
- pytest-qt>=4.2.0
- pytest-xdist>=3.4.0
- pytest-localserver>=0.8.1
- pytest-qt>=4.4.0
- boto3

# required dependencies
Expand All @@ -30,7 +30,7 @@ dependencies:
- fastparquet>=2023.10.0
- fsspec>=2022.11.0
- html5lib>=1.1
- hypothesis>=6.46.1
- hypothesis>=6.84.0
- gcsfs>=2022.11.0
- jinja2>=3.1.2
- lxml>=4.9.2
Expand Down
4 changes: 2 additions & 2 deletions ci/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ test:
requires:
- pip
- pytest >=7.3.2
- pytest-xdist >=2.2.0
- pytest-xdist >=3.4.0
- pytest-cov
- hypothesis >=6.46.1
- hypothesis >=6.84.0
- tomli # [py<311]

about:
Expand Down
6 changes: 3 additions & 3 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ dependencies:
# test dependencies
- pytest>=7.3.2
- pytest-cov
- pytest-xdist>=2.2.0
- pytest-qt>=4.2.0
- pytest-xdist>=3.4.0
- pytest-qt>=4.4.0
- pytest-localserver
- pyqt>=5.15.9
- coverage
Expand All @@ -33,7 +33,7 @@ dependencies:
- fastparquet>=2023.10.0
- fsspec>=2022.11.0
- html5lib>=1.1
- hypothesis>=6.46.1
- hypothesis>=6.84.0
- gcsfs>=2022.11.0
- ipython
- jinja2>=3.1.2
Expand Down
2 changes: 1 addition & 1 deletion pandas/compat/_optional.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"fastparquet": "2023.10.0",
"fsspec": "2022.11.0",
"html5lib": "1.1",
"hypothesis": "6.46.1",
"hypothesis": "6.84.0",
"gcsfs": "2022.11.0",
"jinja2": "3.1.2",
"lxml.etree": "4.9.2",
Expand Down
8 changes: 4 additions & 4 deletions pandas/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@
Index,
MultiIndex,
)
from pandas.util.version import Version

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


hypothesis_health_checks = [hypothesis.HealthCheck.too_slow]
if Version(hypothesis.__version__) >= Version("6.83.2"):
hypothesis_health_checks.append(hypothesis.HealthCheck.differing_executors)
hypothesis_health_checks = [
hypothesis.HealthCheck.too_slow,
hypothesis.HealthCheck.differing_executors,
]

# Hypothesis
hypothesis.settings.register_profile(
Expand Down
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ repository = 'https://github.com/pandas-dev/pandas'
matplotlib = "pandas:plotting._matplotlib"

[project.optional-dependencies]
test = ['hypothesis>=6.46.1', 'pytest>=7.3.2', 'pytest-xdist>=2.2.0']
test = ['hypothesis>=6.84.0', 'pytest>=7.3.2', 'pytest-xdist>=3.4.0']
pyarrow = ['pyarrow>=10.0.1']
performance = ['bottleneck>=1.3.6', 'numba>=0.56.4', 'numexpr>=2.8.4']
computation = ['scipy>=1.10.0', 'xarray>=2022.12.0']
Expand Down Expand Up @@ -91,7 +91,7 @@ all = ['adbc-driver-postgresql>=0.10.0',
'fsspec>=2022.11.0',
'gcsfs>=2022.11.0',
'html5lib>=1.1',
'hypothesis>=6.46.1',
'hypothesis>=6.84.0',
'jinja2>=3.1.2',
'lxml>=4.9.2',
'matplotlib>=3.6.3',
Expand All @@ -105,7 +105,7 @@ all = ['adbc-driver-postgresql>=0.10.0',
'PyQt5>=5.15.9',
'pyreadstat>=1.2.0',
'pytest>=7.3.2',
'pytest-xdist>=2.2.0',
'pytest-xdist>=3.4.0',
'python-calamine>=0.1.7',
'pyxlsb>=1.0.10',
'qtpy>=2.3.0',
Expand Down Expand Up @@ -148,7 +148,7 @@ setup = ['--vsenv'] # For Windows
skip = "cp36-* cp37-* cp38-* cp39-* pp* *_i686 *_ppc64le *_s390x"
build-verbosity = "3"
environment = {LDFLAGS="-Wl,--strip-all"}
test-requires = "hypothesis>=6.46.1 pytest>=7.3.2 pytest-xdist>=2.2.0"
test-requires = "hypothesis>=6.84.0 pytest>=7.3.2 pytest-xdist>=3.4.0"
test-command = """
PANDAS_CI='1' python -c 'import pandas as pd; \
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"]); \
Expand Down Expand Up @@ -179,7 +179,7 @@ environment = {CFLAGS="-g0"}

[[tool.cibuildwheel.overrides]]
select = "*pyodide*"
test-requires = "pytest>=7.3.2 hypothesis>=6.46.1"
test-requires = "pytest>=7.3.2 hypothesis>=6.84.0"
# Pyodide repairs wheels on its own, using auditwheel-emscripten
repair-wheel-command = ""
test-command = """
Expand Down
6 changes: 3 additions & 3 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ meson[ninja]==1.2.1
meson-python==0.13.1
pytest>=7.3.2
pytest-cov
pytest-xdist>=2.2.0
pytest-qt>=4.2.0
pytest-xdist>=3.4.0
pytest-qt>=4.4.0
pytest-localserver
PyQt5>=5.15.9
coverage
Expand All @@ -22,7 +22,7 @@ bottleneck>=1.3.6
fastparquet>=2023.10.0
fsspec>=2022.11.0
html5lib>=1.1
hypothesis>=6.46.1
hypothesis>=6.84.0
gcsfs>=2022.11.0
ipython
jinja2>=3.1.2
Expand Down
2 changes: 1 addition & 1 deletion scripts/tests/data/deps_expected_random.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dependencies:
# test dependencies
- pytest>=7.3.2
- pytest-cov
- pytest-xdist>=2.2.0
- pytest-xdist>=3.4.0
- psutil
- boto3

Expand Down
Loading
Loading