You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by he...@apache.org on 2022/06/24 18:51:21 UTC

[beam] branch revert-17791-update-pytest created (now f6980b98c8f)

This is an automated email from the ASF dual-hosted git repository.

heejong pushed a change to branch revert-17791-update-pytest
in repository https://gitbox.apache.org/repos/asf/beam.git


      at f6980b98c8f Revert "[BEAM-13590]Update Pytest version to support Python 3.10 (#17791)"

This branch includes the following new commits:

     new f6980b98c8f Revert "[BEAM-13590]Update Pytest version to support Python 3.10 (#17791)"

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[beam] 01/01: Revert "[BEAM-13590]Update Pytest version to support Python 3.10 (#17791)"

Posted by he...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

heejong pushed a commit to branch revert-17791-update-pytest
in repository https://gitbox.apache.org/repos/asf/beam.git

commit f6980b98c8f85107de4e35504982091eff62dfc0
Author: Heejong Lee <he...@gmail.com>
AuthorDate: Fri Jun 24 11:51:15 2022 -0700

    Revert "[BEAM-13590]Update Pytest version to support Python 3.10 (#17791)"
    
    This reverts commit 75cba1085a3f6f069d78096f3a3eb95076129525.
---
 sdks/python/setup.py | 6 +++---
 sdks/python/tox.ini  | 3 ++-
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/sdks/python/setup.py b/sdks/python/setup.py
index 9ad01b655b5..631068b7716 100644
--- a/sdks/python/setup.py
+++ b/sdks/python/setup.py
@@ -249,9 +249,9 @@ if __name__ == '__main__':
             'pyyaml>=3.12,<7.0.0',
             'requests_mock>=1.7,<2.0',
             'tenacity>=5.0.2,<6.0',
-            'pytest>=7.1.2,<8.0',
-            'pytest-xdist>=2.5.0,<3',
-            'pytest-timeout>=2.1.0,<3',
+            'pytest>=4.4.0,<5.0',
+            'pytest-xdist>=1.29.0,<2',
+            'pytest-timeout>=1.3.3,<2',
             'scikit-learn>=0.20.0',
             'sqlalchemy>=1.3,<2.0',
             'psycopg2-binary>=2.8.5,<3.0.0',
diff --git a/sdks/python/tox.ini b/sdks/python/tox.ini
index 5ad3576d30f..fa78ceea0f9 100644
--- a/sdks/python/tox.ini
+++ b/sdks/python/tox.ini
@@ -93,9 +93,10 @@ commands =
   {toxinidir}/scripts/run_pytest.sh {envname} "{posargs}"
 
 [testenv:py38-cloudcoverage]
+# More recent versions of pytest-cov do not support pytest 4.4.0
 deps =
   codecov
-  pytest-cov==3.0.0
+  pytest-cov==2.9.0
 passenv = GIT_* BUILD_* ghprb* CHANGE_ID BRANCH_NAME JENKINS_* CODECOV_*
 extras = test,gcp,interactive,dataframe,aws
 commands =