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 only python 3.11 and 3.12 #2

Merged
merged 2 commits into from
Sep 7, 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
4 changes: 2 additions & 2 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.11', '3.12']

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
- name: Setup Python 3.8
uses: actions/setup-python@v3
with:
python-version: '3.8'
python-version: '3.11'
- name: Install dependencies
run:
make deps
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## unreleased

* [Support python 3.12, drop 3.9 and 3.10](https://github.com/anna-money/opentelemetry-instrumentation-asyncpg-listen/pull/2)


## v0.0.1 (2024-09-07)

* A first version
10 changes: 4 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ name = "opentelemetry-instrumentation-asyncpg-listen"
dynamic = ["version"]
description = "OpenTelemetry asyncpg-listen instrumentation"
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.8"
license = "MIT"
requires-python = ">=3.11"
authors = [
{ name = "Iurii Pliner", email = "[email protected]" },
]
Expand All @@ -18,10 +18,8 @@ classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"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",
]
dependencies = [
"opentelemetry-api >= 1.19",
Expand All @@ -32,7 +30,7 @@ dependencies = [

[project.optional-dependencies]
instruments = [
"asyncpg-listen >= 0.0.6, < 0.1.0",
"asyncpg-listen >= 0.0.7, < 0.1.0",
]

[project.entry-points.opentelemetry_instrumentor]
Expand Down
4 changes: 2 additions & 2 deletions src/opentelemetry/instrumentation/asyncpg_listen/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import timeit
from typing import Collection, Tuple
from typing import Collection

import asyncpg_listen
import wrapt
Expand All @@ -11,7 +11,7 @@
from .package import _instruments
from .version import __version__

__all__: Tuple[str, ...] = ("AsyncpgListenInstrumentor",)
__all__: tuple[str, ...] = ("AsyncpgListenInstrumentor",)


class AsyncpgListenInstrumentor(BaseInstrumentor):
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
_instruments = ("asyncpg_listen>=0.0.6,<0.1.0",)
_instruments = ("asyncpg_listen>=0.0.7,<0.1.0",)
Loading