Skip to content

Commit a92d6bc

Browse files
authored
Support python 3.12 and end support of 3.8 (#211)
* Support python 3.12 and end support of 3.8 * Add to CHANGELOG.md * Bump python for pyenv * Install using the lowest version * It is needed to install async_timeout even for 3.11 MagicStack/asyncpg#1177
1 parent 8e6b3a7 commit a92d6bc

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

.github/workflows/ci.yml

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

1919
strategy:
2020
matrix:
21-
python-version: ['3.8', '3.9', '3.10', '3.11']
21+
python-version: ['3.9', '3.10', '3.11', '3.12']
2222

2323
steps:
2424
- uses: actions/checkout@v3
@@ -45,10 +45,10 @@ jobs:
4545
steps:
4646
- name: Checkout
4747
uses: actions/checkout@v3
48-
- name: Setup Python 3.11
48+
- name: Setup Python 3.9
4949
uses: actions/setup-python@v3
5050
with:
51-
python-version: '3.11'
51+
python-version: '3.9'
5252
- name: Install dependencies
5353
run:
5454
python -m pip install -U pip wheel twine

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## unreleased
22

33
* [Implement metrics/tracing on top of OpenTelemetry](https://github.com/anna-money/asyncpg-listen/pull/199)
4+
* [Support python 3.12 and end support of 3.8](https://github.com/anna-money/asyncpg-listen/pull/211)
45

56

67
## v0.0.6 (2022-11-02)

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ test:
2121
@python3 -m pytest -vv --rootdir tests .
2222

2323
pyenv:
24-
echo asyncpg-listen > .python-version && pyenv install -s 3.11 && pyenv virtualenv -f 3.11 asyncpg-listen
24+
echo asyncpg-listen > .python-version && pyenv install -s 3.12 && pyenv virtualenv -f 3.12 asyncpg-listen
2525

2626
pyenv-delete:
2727
pyenv virtualenv-delete -f asyncpg-listen

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
install_requires = [
77
"asyncpg>=0.27.0",
88
"opentelemetry-api>=1.19",
9-
"async_timeout>=3.0,<5.0; python_version<'3.11'"
9+
"async_timeout>=3.0,<5.0; python_version<'3.12'"
1010
]
1111

1212

@@ -42,7 +42,7 @@ def read_version():
4242
long_description_content_type="text/markdown",
4343
platforms=["macOS", "POSIX", "Windows"],
4444
author="Yury Pliner",
45-
python_requires=">=3.8",
45+
python_requires=">=3.9",
4646
project_urls={},
4747
url="https://github.com/Pliner/asyncpg-listen",
4848
author_email="[email protected]",
@@ -57,10 +57,10 @@ def read_version():
5757
"Intended Audience :: Developers",
5858
"Programming Language :: Python :: 3",
5959
"Programming Language :: Python :: 3 :: Only",
60-
"Programming Language :: Python :: 3.8",
6160
"Programming Language :: Python :: 3.9",
6261
"Programming Language :: Python :: 3.10",
6362
"Programming Language :: Python :: 3.11",
63+
"Programming Language :: Python :: 3.12",
6464
"Operating System :: OS Independent",
6565
"Environment :: Web Environment",
6666
"Development Status :: 5 - Production/Stable",

0 commit comments

Comments
 (0)