Skip to content

Commit 17dd72e

Browse files
authored
Support Python 3.8, 3.9, and 3.10 and drop support for 3.6 (#60)
* Support Python 3.8, 3.9, and 3.10 and drop support for 3.6 * Provide upper bound for pytest-postgresql<4.0.0 This is necessary because in the 4.0.0 release pytest-postgresql dropped support for psycopg2: dbfixtures/pytest-postgresql#487
1 parent ea5c5ee commit 17dd72e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
python: [3.6.x, 3.7.x]
17+
python: [3.7.x, 3.8.x, 3.9.x, 3.10.x]
1818
sqlalchemy: [1.2.*, 1.3.*, 1.4.*]
1919
services:
2020
postgres:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def readme():
2121
'SQLAlchemy>=1.2.2',
2222
'Flask-SQLAlchemy>=2.3',
2323
'packaging>=14.1'],
24-
extras_require={'tests': ['pytest-postgresql>=2.4.0', 'psycopg2-binary', 'pytest>=6.0.1']},
24+
extras_require={'tests': ['pytest-postgresql>=2.4.0,<4.0.0', 'psycopg2-binary', 'pytest>=6.0.1']},
2525
classifiers=[
2626
'Development Status :: 4 - Beta',
2727
'Environment :: Plugins',

0 commit comments

Comments
 (0)