Skip to content

Commit 36016ba

Browse files
datapythonistajreback
authored andcommitted
DOC: Updating documentation of new required pytest version (#29782)
1 parent 750fbee commit 36016ba

File tree

5 files changed

+5
-3
lines changed

5 files changed

+5
-3
lines changed

doc/source/development/contributing.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -946,7 +946,7 @@ extensions in `numpy.testing
946946

947947
.. note::
948948

949-
The earliest supported pytest version is 4.0.2.
949+
The earliest supported pytest version is 5.0.1.
950950

951951
Writing tests
952952
~~~~~~~~~~~~~

doc/source/getting_started/install.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ pandas is equipped with an exhaustive set of unit tests, covering about 97% of
177177
the code base as of this writing. To run it on your machine to verify that
178178
everything is working (and that you have all of the dependencies, soft and hard,
179179
installed), make sure you have `pytest
180-
<http://docs.pytest.org/en/latest/>`__ >= 4.0.2 and `Hypothesis
180+
<http://docs.pytest.org/en/latest/>`__ >= 5.0.1 and `Hypothesis
181181
<https://hypothesis.readthedocs.io/>`__ >= 3.58, then run:
182182

183183
::

doc/source/whatsnew/v1.0.0.rst

+1
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@ Other API changes
253253
See :ref:`units registration <whatsnew_1000.matplotlib_units>` for more.
254254
- :meth:`Series.dropna` has dropped its ``**kwargs`` argument in favor of a single ``how`` parameter.
255255
Supplying anything else than ``how`` to ``**kwargs`` raised a ``TypeError`` previously (:issue:`29388`)
256+
- When testing pandas, the new minimum required version of pytest is 5.0.1 (:issue:`29664`)
256257
-
257258

258259

pandas/compat/_optional.py

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"pandas_gbq": "0.8.0",
1919
"pyarrow": "0.9.0",
2020
"pytables": "3.4.2",
21+
"pytest": "5.0.1",
2122
"s3fs": "0.3.0",
2223
"scipy": "0.19.0",
2324
"sqlalchemy": "1.1.4",

pandas/util/_tester.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def test(extra_args=None):
1111
try:
1212
import pytest
1313
except ImportError:
14-
raise ImportError("Need pytest>=4.0.2 to run tests")
14+
raise ImportError("Need pytest>=5.0.1 to run tests")
1515
try:
1616
import hypothesis # noqa
1717
except ImportError:

0 commit comments

Comments
 (0)