Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support python 3.12 and end support of 3.8 #211

Merged
merged 5 commits into from
Aug 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
python-version: ['3.9', '3.10', '3.11', '3.12']

steps:
- uses: actions/checkout@v3
Expand All @@ -45,10 +45,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python 3.11
- name: Setup Python 3.9
uses: actions/setup-python@v3
with:
python-version: '3.11'
python-version: '3.9'
- name: Install dependencies
run:
python -m pip install -U pip wheel twine
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## unreleased

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


## v0.0.6 (2022-11-02)
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ test:
@python3 -m pytest -vv --rootdir tests .

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

pyenv-delete:
pyenv virtualenv-delete -f asyncpg-listen
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
install_requires = [
"asyncpg>=0.27.0",
"opentelemetry-api>=1.19",
"async_timeout>=3.0,<5.0; python_version<'3.11'"
"async_timeout>=3.0,<5.0; python_version<'3.12'"
]


Expand Down Expand Up @@ -42,7 +42,7 @@ def read_version():
long_description_content_type="text/markdown",
platforms=["macOS", "POSIX", "Windows"],
author="Yury Pliner",
python_requires=">=3.8",
python_requires=">=3.9",
project_urls={},
url="https://github.com/Pliner/asyncpg-listen",
author_email="[email protected]",
Expand All @@ -57,10 +57,10 @@ def read_version():
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
"Environment :: Web Environment",
"Development Status :: 5 - Production/Stable",
Expand Down
Loading