Skip to content

Commit 9b67c0a

Browse files
TomAugspurgerfangchenli
authored andcommitted
CI: Ignore setuptools distutils warning (pandas-dev#35260)
1 parent 59a6c3b commit 9b67c0a

18 files changed

+21
-17
lines changed

ci/deps/azure-36-32bit.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ dependencies:
2323
- pip
2424
- pip:
2525
- cython>=0.29.16
26-
- pytest>=5.0.1
26+
- pytest>=5.0.1,<6.0.0rc0

ci/deps/azure-36-locale.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ dependencies:
77

88
# tools
99
- cython>=0.29.16
10-
- pytest>=5.0.1
10+
- pytest>=5.0.1,<6.0.0rc0
1111
- pytest-xdist>=1.21
1212
- pytest-asyncio
1313
- hypothesis>=3.58.0

ci/deps/azure-36-locale_slow.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ dependencies:
77

88
# tools
99
- cython>=0.29.16
10-
- pytest>=5.0.1
10+
- pytest>=5.0.1,<6.0.0rc0
1111
- pytest-xdist>=1.21
1212
- hypothesis>=3.58.0
1313
- pytest-azurepipelines

ci/deps/azure-36-slow.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ dependencies:
77

88
# tools
99
- cython>=0.29.16
10-
- pytest>=5.0.1
10+
- pytest>=5.0.1,<6.0.0rc0
1111
- pytest-xdist>=1.21
1212
- hypothesis>=3.58.0
1313

ci/deps/azure-37-locale.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ dependencies:
66

77
# tools
88
- cython>=0.29.16
9-
- pytest>=5.0.1
9+
- pytest>=5.0.1,<6.0.0rc0
1010
- pytest-xdist>=1.21
1111
- pytest-asyncio
1212
- hypothesis>=3.58.0

ci/deps/azure-37-minimum_versions.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ dependencies:
66

77
# tools
88
- cython=0.29.16
9-
- pytest=5.0.1
9+
- pytest>=5.0.1, <6.0.0rc0
1010
- pytest-xdist>=1.21
1111
- hypothesis>=3.58.0
1212
- pytest-azurepipelines

ci/deps/azure-37-numpydev.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ dependencies:
55
- python=3.7.*
66

77
# tools
8-
- pytest>=5.0.1
8+
- pytest>=5.0.1,<6.0.0rc0
99
- pytest-xdist>=1.21
1010
- hypothesis>=3.58.0
1111
- pytest-azurepipelines

ci/deps/azure-macos-37.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ dependencies:
55
- python=3.7.*
66

77
# tools
8-
- pytest>=5.0.1
8+
- pytest>=5.0.1,<6.0.0rc0
99
- pytest-xdist>=1.21
1010
- hypothesis>=3.58.0
1111
- pytest-azurepipelines

ci/deps/azure-windows-37.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ dependencies:
77

88
# tools
99
- cython>=0.29.16
10-
- pytest>=5.0.1
10+
- pytest>=5.0.1,<6.0.0rc0
1111
- pytest-xdist>=1.21
1212
- hypothesis>=3.58.0
1313
- pytest-azurepipelines

ci/deps/azure-windows-38.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ dependencies:
77

88
# tools
99
- cython>=0.29.16
10-
- pytest>=5.0.1
10+
- pytest>=5.0.1,<6.0.0rc0
1111
- pytest-xdist>=1.21
1212
- hypothesis>=3.58.0
1313
- pytest-azurepipelines

ci/deps/travis-37-arm64.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ dependencies:
77

88
# tools
99
- cython>=0.29.13
10-
- pytest>=5.0.1
10+
- pytest>=5.0.1,<6.0.0rc0
1111
- pytest-xdist>=1.21
1212
- hypothesis>=3.58.0
1313

ci/deps/travis-37-cov.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ dependencies:
77

88
# tools
99
- cython>=0.29.16
10-
- pytest>=5.0.1
10+
- pytest>=5.0.1,<6.0.0rc0
1111
- pytest-xdist>=1.21
1212
- hypothesis>=3.58.0
1313
- pytest-cov # this is only needed in the coverage build

ci/deps/travis-37-locale.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ dependencies:
77

88
# tools
99
- cython>=0.29.16
10-
- pytest>=5.0.1
10+
- pytest>=5.0.1,<6.0.0rc0
1111
- pytest-xdist>=1.21
1212
- hypothesis>=3.58.0
1313

ci/deps/travis-37.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ dependencies:
77

88
# tools
99
- cython>=0.29.16
10-
- pytest>=5.0.1
10+
- pytest>=5.0.1,<6.0.0rc0
1111
- pytest-xdist>=1.21
1212
- hypothesis>=3.58.0
1313

ci/deps/travis-38.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ dependencies:
77

88
# tools
99
- cython>=0.29.16
10-
- pytest>=5.0.1
10+
- pytest>=5.0.1,<6.0.0rc0
1111
- pytest-xdist>=1.21
1212
- hypothesis>=3.58.0
1313

environment.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ dependencies:
5151
- botocore>=1.11
5252
- hypothesis>=3.82
5353
- moto # mock S3
54-
- pytest>=5.0.1
54+
- pytest>=5.0.1,<6.0.0rc0
5555
- pytest-cov
5656
- pytest-xdist>=1.21
5757
- pytest-asyncio

pandas/tests/util/test_show_versions.py

+4
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@
2121
# pandas_datareader
2222
"ignore:pandas.util.testing is deprecated:FutureWarning"
2323
)
24+
@pytest.mark.filterwarnings(
25+
# https://github.com/pandas-dev/pandas/issues/35252
26+
"ignore:Distutils:UserWarning"
27+
)
2428
def test_show_versions(capsys):
2529
# gh-32041
2630
pd.show_versions()

requirements-dev.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ boto3
3232
botocore>=1.11
3333
hypothesis>=3.82
3434
moto
35-
pytest>=5.0.1
35+
pytest>=5.0.1,<6.0.0rc0
3636
pytest-cov
3737
pytest-xdist>=1.21
3838
pytest-asyncio

0 commit comments

Comments
 (0)