Browse Source

ref: upgrade pytest to 7.2.0 (#40526)

<!-- Describe your PR here. -->
anthony sottile 2 years ago
parent
commit
f8ab47a218
4 changed files with 14 additions and 13 deletions
  1. 3 0
      pyproject.toml
  2. 4 5
      requirements-dev-frozen.txt
  3. 4 5
      requirements-dev-only-frozen.txt
  4. 3 3
      requirements-dev.txt

+ 3 - 0
pyproject.toml

@@ -44,5 +44,8 @@ filterwarnings = [
     # with django.utils.timezone.
     "ignore:DateTimeField.*naive datetime:RuntimeWarning",
     "ignore:.*sentry.digests.backends.dummy.DummyBackend.*:sentry.utils.warnings.UnsupportedBackend",
+
+    # pytest has not yet implemented the replacement for this yet
+    "ignore:The --looponfail command line argument.*",
 ]
 looponfailroots = ["src", "tests"]

+ 4 - 5
requirements-dev-frozen.txt

@@ -38,6 +38,7 @@ docker-pycreds==0.4.0
 drf-spectacular==0.22.1
 email-reply-parser==0.5.12
 exam==0.10.6
+exceptiongroup==1.0.0rc9
 execnet==1.9.0
 fido2==0.9.2
 filelock==3.7.0
@@ -108,7 +109,6 @@ progressbar2==3.41.0
 proto-plus==1.22.1
 protobuf==4.21.6
 psycopg2-binary==2.8.6
-py==1.11.0
 pyasn1==0.4.5
 pyasn1-modules==0.2.4
 pycodestyle==2.9.0
@@ -119,13 +119,12 @@ pyopenssl==22.0.0
 pyparsing==3.0.9
 pyrsistent==0.18.1
 pysocks==1.7.1
-pytest==7.1.3
-pytest-cov==3.0.0
+pytest==7.2.0
+pytest-cov==4.0.0
 pytest-django==4.4.0
-pytest-forked==1.4.0
 pytest-rerunfailures==10.2
 pytest-sentry==0.1.9
-pytest-xdist==2.4.0
+pytest-xdist==3.0.2
 python-dateutil==2.8.1
 python-memcached==1.59
 python-rapidjson==1.4

+ 4 - 5
requirements-dev-only-frozen.txt

@@ -15,6 +15,7 @@ distlib==0.3.4
 docker==3.7.0
 docker-pycreds==0.4.0
 exam==0.10.6
+exceptiongroup==1.0.0rc9
 execnet==1.9.0
 filelock==3.7.1
 flake8==5.0.2
@@ -48,18 +49,16 @@ pip-tools==6.7.0
 platformdirs==2.5.2
 pluggy==0.13.1
 pre-commit==2.18.1
-py==1.11.0
 pycodestyle==2.9.0
 pyflakes==2.5.0
 pyparsing==3.0.9
 pyrsistent==0.18.1
-pytest==7.1.3
-pytest-cov==3.0.0
+pytest==7.2.0
+pytest-cov==4.0.0
 pytest-django==4.4.0
-pytest-forked==1.4.0
 pytest-rerunfailures==10.2
 pytest-sentry==0.1.9
-pytest-xdist==2.4.0
+pytest-xdist==3.0.2
 python-dateutil==2.8.2
 pyupgrade==2.37.2
 pyyaml==6.0

+ 3 - 3
requirements-dev.txt

@@ -5,12 +5,12 @@ exam>=0.10.6
 freezegun>=1.1.0
 honcho>=1.1.0
 openapi-core>=0.14.2
-pytest>=7.1.3
-pytest-cov>=3.0.0
+pytest>=7.2
+pytest-cov>=4.0.0
 pytest-django>=4.4.0
 pytest-rerunfailures>=10
 pytest-sentry>=0.1.9
-pytest-xdist
+pytest-xdist>=3
 responses>=0.21.0
 
 # pre-commit dependencies