Skip to content

Commit 8f83026

Browse files
authored
Add python 3.11 and drop python 3.6 support (#892)
* Add python 3.11 to CI * Bump psycopg2-binary * Use release version * Remove legacy python version
1 parent 1ba66ca commit 8f83026

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
name: Test on Python ${{ matrix.python }}
1717
strategy:
1818
matrix:
19-
python: ['3.6', '3.7', '3.8', '3.9', '3.10']
19+
python: ['3.7', '3.8', '3.9', '3.10', '3.11']
2020
fail-fast: false
2121
runs-on: ubuntu-latest
2222
timeout-minutes: 20

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ pytest-cov==2.12.1
99
pytest-sugar==0.9.4
1010
pytest-timeout==1.4.2
1111
sphinxcontrib-asyncio==0.3.0
12-
psycopg2-binary==2.9.1
12+
psycopg2-binary==2.9.5
1313
sqlalchemy[postgresql_psycopg2binary]==1.4.38
1414
async-timeout==4.0.0
1515
mypy==0.910

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
from setuptools import setup, find_packages
55

6-
install_requires = ["psycopg2-binary>=2.8.4", "async_timeout>=3.0,<5.0"]
6+
install_requires = ["psycopg2-binary>=2.9.5", "async_timeout>=3.0,<5.0"]
77
extras_require = {"sa": ["sqlalchemy[postgresql_psycopg2binary]>=1.3,<1.5"]}
88

99

@@ -34,11 +34,11 @@ def read_changelog(path="CHANGES.txt"):
3434
"Intended Audience :: Developers",
3535
"Programming Language :: Python :: 3",
3636
"Programming Language :: Python :: 3 :: Only",
37-
"Programming Language :: Python :: 3.6",
3837
"Programming Language :: Python :: 3.7",
3938
"Programming Language :: Python :: 3.8",
4039
"Programming Language :: Python :: 3.9",
4140
"Programming Language :: Python :: 3.10",
41+
"Programming Language :: Python :: 3.11",
4242
"Operating System :: POSIX",
4343
"Operating System :: MacOS :: MacOS X",
4444
"Operating System :: Microsoft :: Windows",
@@ -58,7 +58,7 @@ def read_changelog(path="CHANGES.txt"):
5858
classifiers=classifiers,
5959
platforms=["macOS", "POSIX", "Windows"],
6060
author="Andrew Svetlov",
61-
python_requires=">=3.6",
61+
python_requires=">=3.7",
6262
project_urls={
6363
"Chat: Gitter": "https://gitter.im/aio-libs/Lobby",
6464
"CI: GA": "https://github.com/aio-libs/aiopg/actions?query=workflow%3ACI",

0 commit comments

Comments
 (0)