diff --git a/ci/build39.sh b/ci/build39.sh index faef2be03c2bb..2092ec385beef 100755 --- a/ci/build39.sh +++ b/ci/build39.sh @@ -2,7 +2,7 @@ # Special build for python3.9 until numpy puts its own wheels up pip install --no-deps -U pip wheel setuptools -pip install cython numpy python-dateutil pytz pytest pytest-xdist hypothesis +pip install cython numpy python-dateutil pytz pytest pytest-xdist hypothesis pytest-rerunfailures python setup.py build_ext -inplace python -m pip install --no-build-isolation -e . diff --git a/ci/deps/azure-37-32bit.yaml b/ci/deps/azure-37-32bit.yaml index 3cdd98485f281..24e4ae42455c4 100644 --- a/ci/deps/azure-37-32bit.yaml +++ b/ci/deps/azure-37-32bit.yaml @@ -9,6 +9,7 @@ dependencies: ### Cython 0.29.16 and pytest 5.0.1 for 32 bits are not available with conda, installing below with pip instead - pytest-xdist>=1.21 - hypothesis>=3.58.0 + - pytest-rerunfailures - pytest-azurepipelines # pandas dependencies diff --git a/ci/deps/azure-37-locale.yaml b/ci/deps/azure-37-locale.yaml index 64480258fe65e..85b36c4d75be5 100644 --- a/ci/deps/azure-37-locale.yaml +++ b/ci/deps/azure-37-locale.yaml @@ -11,6 +11,7 @@ dependencies: - pytest-xdist>=1.21 - pytest-asyncio - hypothesis>=3.58.0 + - pytest-rerunfailures - pytest-azurepipelines # pandas dependencies diff --git a/ci/deps/azure-37-locale_slow.yaml b/ci/deps/azure-37-locale_slow.yaml index 7f658fe62d268..b9b97b5a79406 100644 --- a/ci/deps/azure-37-locale_slow.yaml +++ b/ci/deps/azure-37-locale_slow.yaml @@ -10,6 +10,7 @@ dependencies: - pytest>=5.0.1 - pytest-xdist>=1.21 - hypothesis>=3.58.0 + - pytest-rerunfailures - pytest-azurepipelines # pandas dependencies diff --git a/ci/deps/azure-37-minimum_versions.yaml b/ci/deps/azure-37-minimum_versions.yaml index afd5b07cc6654..97e2c9dcde4a0 100644 --- a/ci/deps/azure-37-minimum_versions.yaml +++ b/ci/deps/azure-37-minimum_versions.yaml @@ -9,6 +9,7 @@ dependencies: - pytest=5.0.1 - pytest-xdist>=1.21 - hypothesis>=3.58.0 + - pytest-rerunfailures - pytest-azurepipelines - psutil diff --git a/ci/deps/azure-37-slow.yaml b/ci/deps/azure-37-slow.yaml index 13a0d442bcae7..1b66661bc43c0 100644 --- a/ci/deps/azure-37-slow.yaml +++ b/ci/deps/azure-37-slow.yaml @@ -10,6 +10,8 @@ dependencies: - pytest>=5.0.1 - pytest-xdist>=1.21 - hypothesis>=3.58.0 + - pytest-rerunfailures + - pytest-azurepipelines # pandas dependencies - beautifulsoup4 diff --git a/ci/deps/azure-38-locale.yaml b/ci/deps/azure-38-locale.yaml index 8ce58e07a8542..f7331efc0b9ac 100644 --- a/ci/deps/azure-38-locale.yaml +++ b/ci/deps/azure-38-locale.yaml @@ -10,6 +10,7 @@ dependencies: - pytest-xdist>=1.21 - pytest-asyncio>=0.12.0 - hypothesis>=3.58.0 + - pytest-rerunfailures - pytest-azurepipelines # pandas dependencies diff --git a/ci/deps/azure-38-numpydev.yaml b/ci/deps/azure-38-numpydev.yaml index 274be0361c2e5..6c9aebd7d3d2b 100644 --- a/ci/deps/azure-38-numpydev.yaml +++ b/ci/deps/azure-38-numpydev.yaml @@ -8,6 +8,7 @@ dependencies: - pytest>=5.0.1 - pytest-xdist>=1.21 - hypothesis>=3.58.0 + - pytest-rerunfailures - pytest-azurepipelines # pandas dependencies diff --git a/ci/deps/azure-macos-37.yaml b/ci/deps/azure-macos-37.yaml index 31e0ffca81424..5d48983bffb51 100644 --- a/ci/deps/azure-macos-37.yaml +++ b/ci/deps/azure-macos-37.yaml @@ -8,6 +8,7 @@ dependencies: - pytest>=5.0.1 - pytest-xdist>=1.21 - hypothesis>=3.58.0 + - pytest-rerunfailures - pytest-azurepipelines # pandas dependencies diff --git a/ci/deps/azure-windows-37.yaml b/ci/deps/azure-windows-37.yaml index 16b4bd72683b4..76efda4eb300a 100644 --- a/ci/deps/azure-windows-37.yaml +++ b/ci/deps/azure-windows-37.yaml @@ -10,6 +10,7 @@ dependencies: - pytest>=5.0.1 - pytest-xdist>=1.21 - hypothesis>=3.58.0 + - pytest-rerunfailures - pytest-azurepipelines # pandas dependencies diff --git a/ci/deps/azure-windows-38.yaml b/ci/deps/azure-windows-38.yaml index 449bbd05991bf..43033e9d8ea99 100644 --- a/ci/deps/azure-windows-38.yaml +++ b/ci/deps/azure-windows-38.yaml @@ -10,6 +10,7 @@ dependencies: - pytest>=5.0.1 - pytest-xdist>=1.21 - hypothesis>=3.58.0 + - pytest-rerunfailures - pytest-azurepipelines # pandas dependencies diff --git a/ci/deps/travis-37-arm64.yaml b/ci/deps/travis-37-arm64.yaml index 8df6104f43a50..8bb61664d175f 100644 --- a/ci/deps/travis-37-arm64.yaml +++ b/ci/deps/travis-37-arm64.yaml @@ -9,6 +9,7 @@ dependencies: - pytest>=5.0.1 - pytest-xdist>=1.21 - hypothesis>=3.58.0 + - pytest-rerunfailures # pandas dependencies - botocore>=1.11 diff --git a/ci/deps/travis-37-cov.yaml b/ci/deps/travis-37-cov.yaml index 7d5104a58ce83..b6c345a8b55fb 100644 --- a/ci/deps/travis-37-cov.yaml +++ b/ci/deps/travis-37-cov.yaml @@ -10,6 +10,7 @@ dependencies: - pytest-xdist>=1.21 - hypothesis>=3.58.0 - pytest-cov>=2.10.1 # this is only needed in the coverage build, ref: GH 35737 + - pytest-rerunfailures # pandas dependencies - beautifulsoup4 diff --git a/ci/deps/travis-37-locale.yaml b/ci/deps/travis-37-locale.yaml index cd6341e80be24..56d5d19ae56b5 100644 --- a/ci/deps/travis-37-locale.yaml +++ b/ci/deps/travis-37-locale.yaml @@ -10,6 +10,7 @@ dependencies: - pytest>=5.0.1 - pytest-xdist>=1.21 - hypothesis>=3.58.0 + - pytest-rerunfailures # pandas dependencies - beautifulsoup4 diff --git a/ci/deps/travis-37.yaml b/ci/deps/travis-37.yaml index 6a15ce1195ea9..8f71bf3324de8 100644 --- a/ci/deps/travis-37.yaml +++ b/ci/deps/travis-37.yaml @@ -10,6 +10,7 @@ dependencies: - pytest>=5.0.1 - pytest-xdist>=1.21 - hypothesis>=3.58.0 + - pytest-rerunfailures # pandas dependencies - botocore>=1.11 diff --git a/ci/deps/travis-38.yaml b/ci/deps/travis-38.yaml index 874c8dd96d008..fa9e7b47323d6 100644 --- a/ci/deps/travis-38.yaml +++ b/ci/deps/travis-38.yaml @@ -10,6 +10,7 @@ dependencies: - pytest>=5.0.1 - pytest-xdist>=1.21 - hypothesis>=3.58.0 + - pytest-rerunfailures # pandas dependencies - numpy diff --git a/pandas/tests/io/test_html.py b/pandas/tests/io/test_html.py index 59034e9f3d807..d6230bf00691a 100644 --- a/pandas/tests/io/test_html.py +++ b/pandas/tests/io/test_html.py @@ -121,6 +121,7 @@ def test_to_html_compat(self): res = self.read_html(out, attrs={"class": "dataframe"}, index_col=0)[0] tm.assert_frame_equal(res, df) + @pytest.mark.flaky(reruns=5, reruns_delay=2) @tm.network def test_banklist_url_positional_match(self): url = "http://www.fdic.gov/bank/individual/failed/banklist.html"