]> 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:50:29 +0000 (11:50 -0400)
references:

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

Change-Id: I216fde19dd0f5c4910d76c08400f2329b09ad584
(cherry picked from commit b4d42a84e22652c16b914a2f76421718be913027)

setup.py
tox.ini

index 6922b7d21ad56c2e4a3ea5ab1538f168f4c5565b..8e56be59d610487b3af4a53fdc986ddfb0cc5e06 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,
         classifiers=[
             "Development Status :: 5 - Production/Stable",
@@ -157,7 +157,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 f7c5fd5c8b88fc026bc8c86f662e27be2d993400..4dace3934db28d3fdecc8a518c141225a5c0115e 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -13,7 +13,7 @@ cov_args=--cov=sqlalchemy --cov-report term --cov-append --cov-report xml --excl
 usedevelop=
      cov: True
 
-deps=pytest
+deps=pytest!=3.9.1
      pytest-xdist
      mock
      # needed only for correct profiling results