]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
block py.test 3.9.1
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 17 Oct 2018 15:49:47 +0000 (11:49 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 17 Oct 2018 15:49:47 +0000 (11:49 -0400)
references:

https://github.com/pytest-dev/pytest/issues/4181

Change-Id: I216fde19dd0f5c4910d76c08400f2329b09ad584

setup.py
tox.ini

index 0bf6623e99f6b7127dee3843878ede30487e12f0..b9e999f0d18f6fe26ecf23850612a3fbb072a04c 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -139,7 +139,7 @@ def run_setup(with_cext):
         package_dir={'': 'lib'},
         license="MIT License",
         cmdclass=cmdclass,
-        tests_require=['pytest >= 2.5.2', 'mock', 'pytest-xdist'],
+        tests_require=['pytest>=2.5.2,!=3.9.1', 'mock', 'pytest-xdist'],
         long_description=readme,
         python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
         classifiers=[
@@ -164,7 +164,7 @@ def run_setup(with_cext):
             'mysql': ['mysqlclient'],
             'pymysql': ['pymysql'],
             'postgresql': ['psycopg2'],
-            'postgresql_psycopg2binary': ['psycopg2-binary'],            
+            'postgresql_psycopg2binary': ['psycopg2-binary'],
             'postgresql_pg8000': ['pg8000'],
             'postgresql_psycopg2cffi': ['psycopg2cffi'],
             'oracle': ['cx_oracle'],
diff --git a/tox.ini b/tox.ini
index 96c74b3aabc3a6b5f33968d2e8404709950009e8..a1a4c490436dd53c879f563b60f37c1f537fbb5a 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -15,7 +15,7 @@ install_command=python -m pip install {env:TOX_PIP_OPTS:} {opts} {packages}
 usedevelop=
      cov: True
 
-deps=pytest
+deps=pytest!=3.9.1
      pytest-xdist
      mock
      # needed only for correct profiling results