Skip to content

Commit

Permalink
Support Python 3.8, 3.9, and 3.10 and drop support for 3.6 (#60)
Browse files Browse the repository at this point in the history
* 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: ClearcodeHQ/pytest-postgresql#487
  • Loading branch information
jeancochrane authored Apr 30, 2022
1 parent ea5c5ee commit 17dd72e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python: [3.6.x, 3.7.x]
python: [3.7.x, 3.8.x, 3.9.x, 3.10.x]
sqlalchemy: [1.2.*, 1.3.*, 1.4.*]
services:
postgres:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def readme():
'SQLAlchemy>=1.2.2',
'Flask-SQLAlchemy>=2.3',
'packaging>=14.1'],
extras_require={'tests': ['pytest-postgresql>=2.4.0', 'psycopg2-binary', 'pytest>=6.0.1']},
extras_require={'tests': ['pytest-postgresql>=2.4.0,<4.0.0', 'psycopg2-binary', 'pytest>=6.0.1']},
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Plugins',
Expand Down

0 comments on commit 17dd72e

Please sign in to comment.