|
2 | 2 | name = "connectrpc-otel" |
3 | 3 | version = "0.1.0" |
4 | 4 | description = "OpenTelemetry instrumentation for connectrpc" |
5 | | -maintainers = [ |
6 | | - { name = "Anuraag Agrawal", email = "anuraaga@gmail.com" }, |
7 | | - { name = "Spencer Nelson", email = "spencer@firetiger.com" }, |
8 | | - { name = "Stefan VanBuren", email = "svanburen@buf.build" }, |
9 | | - { name = "Yasushi Itoh", email = "i2y.may.roku@gmail.com" }, |
10 | | -] |
11 | | -requires-python = ">= 3.10" |
12 | 5 | readme = "README.md" |
| 6 | +requires-python = ">= 3.10" |
13 | 7 | license = "Apache-2.0" |
14 | 8 | license-files = ["LICENSE"] |
| 9 | +maintainers = [ |
| 10 | + { name = "Anuraag Agrawal", email = "anuraaga@gmail.com" }, |
| 11 | + { name = "Spencer Nelson", email = "spencer@firetiger.com" }, |
| 12 | + { name = "Stefan VanBuren", email = "svanburen@buf.build" }, |
| 13 | + { name = "Yasushi Itoh", email = "i2y.may.roku@gmail.com" }, |
| 14 | +] |
15 | 15 | keywords = [ |
16 | | - "opentelemetry", |
17 | | - "otel", |
18 | | - "connectrpc", |
19 | | - "connect-python", |
20 | | - "middleware", |
21 | | - "tracing", |
22 | | - "observability", |
| 16 | + "connect-python", |
| 17 | + "connectrpc", |
| 18 | + "middleware", |
| 19 | + "observability", |
| 20 | + "opentelemetry", |
| 21 | + "otel", |
| 22 | + "tracing", |
23 | 23 | ] |
24 | 24 | classifiers = [ |
25 | | - "Development Status :: 4 - Beta", |
26 | | - "Environment :: Console", |
27 | | - "Intended Audience :: Developers", |
28 | | - "Operating System :: OS Independent", |
29 | | - "Programming Language :: Python :: 3", |
30 | | - "Programming Language :: Python :: 3 :: Only", |
31 | | - "Programming Language :: Python :: 3.10", |
32 | | - "Programming Language :: Python :: 3.11", |
33 | | - "Programming Language :: Python :: 3.12", |
34 | | - "Programming Language :: Python :: 3.13", |
35 | | - "Programming Language :: Python :: 3.14", |
36 | | - "Topic :: System :: Networking", |
| 25 | + "Development Status :: 4 - Beta", |
| 26 | + "Environment :: Console", |
| 27 | + "Intended Audience :: Developers", |
| 28 | + "Operating System :: OS Independent", |
| 29 | + "Programming Language :: Python :: 3", |
| 30 | + "Programming Language :: Python :: 3 :: Only", |
| 31 | + "Programming Language :: Python :: 3.10", |
| 32 | + "Programming Language :: Python :: 3.11", |
| 33 | + "Programming Language :: Python :: 3.12", |
| 34 | + "Programming Language :: Python :: 3.13", |
| 35 | + "Programming Language :: Python :: 3.14", |
| 36 | + "Topic :: System :: Networking", |
37 | 37 | ] |
38 | 38 | dependencies = [ |
39 | | - "opentelemetry-api>=1.39.1", |
40 | | - # We do not want to prevent users from updating OTel when connectrpc isn't depending on |
41 | | - # the latest. This does introduce a possibility of incompatibilities, but there is no |
42 | | - # alternative, and in practice, the APIs we use have been stable for a long time. |
43 | | - "opentelemetry-instrumentation>=0.60b1", |
| 39 | + "opentelemetry-api>=1.39.1", |
| 40 | + # We do not want to prevent users from updating OTel when connectrpc isn't depending on |
| 41 | + # the latest. This does introduce a possibility of incompatibilities, but there is no |
| 42 | + # alternative, and in practice, the APIs we use have been stable for a long time. |
| 43 | + "opentelemetry-instrumentation>=0.60b1", |
44 | 44 | ] |
45 | 45 |
|
| 46 | +[project.urls] |
| 47 | +Homepage = "https://github.com/connectrpc/connect-python" |
| 48 | +Issues = "https://github.com/connectrpc/connect-python/issues" |
| 49 | +Repository = "https://github.com/connectrpc/connect-python" |
| 50 | + |
| 51 | +[project.entry-points.opentelemetry_instrumentor] |
| 52 | +connectrpc = "connectrpc_otel:ConnectInstrumentor" |
| 53 | + |
46 | 54 | [dependency-groups] |
47 | 55 | dev = [ |
48 | | - # auto-instrumentation shouldn't include a dependency on the library being instrumented |
49 | | - # so it can be packaged in auto-instrumentation distros for general use. |
50 | | - # |
51 | | - # This library also supports manually initializing the interceptor. |
52 | | - # For users that manually instrument by initializing the interceptor, it is easier to |
53 | | - # have a real dependency to avoid any possible version conflicts. But for Python, |
54 | | - # the ecosystem vastly favors auto-instrumentation, and it is easier to add than remove |
55 | | - # a transitive dependency, so we go ahead and leave it out. |
56 | | - "connectrpc>=0.8.0", |
| 56 | + # auto-instrumentation shouldn't include a dependency on the library being instrumented |
| 57 | + # so it can be packaged in auto-instrumentation distros for general use. |
| 58 | + # |
| 59 | + # This library also supports manually initializing the interceptor. |
| 60 | + # For users that manually instrument by initializing the interceptor, it is easier to |
| 61 | + # have a real dependency to avoid any possible version conflicts. But for Python, |
| 62 | + # the ecosystem vastly favors auto-instrumentation, and it is easier to add than remove |
| 63 | + # a transitive dependency, so we go ahead and leave it out. |
| 64 | + "connectrpc>=0.8.0", |
57 | 65 |
|
58 | | - "opentelemetry-sdk==1.40.0", |
59 | | - "opentelemetry-instrumentation-asgi==0.61b0", |
60 | | - "opentelemetry-instrumentation-wsgi==0.61b0", |
| 66 | + "opentelemetry-instrumentation-asgi==0.61b0", |
| 67 | + "opentelemetry-instrumentation-wsgi==0.61b0", |
| 68 | + "opentelemetry-sdk==1.40.0", |
61 | 69 |
|
62 | | - "connect-python-example", |
63 | | - "pytest", |
| 70 | + "connect-python-example", |
| 71 | + "pytest", |
64 | 72 | ] |
65 | 73 |
|
66 | | -[project.entry-points.opentelemetry_instrumentor] |
67 | | -connectrpc = "connectrpc_otel:ConnectInstrumentor" |
68 | | - |
69 | | -[project.urls] |
70 | | -Homepage = "https://github.com/connectrpc/connect-python" |
71 | | -Repository = "https://github.com/connectrpc/connect-python" |
72 | | -Issues = "https://github.com/connectrpc/connect-python/issues" |
73 | | - |
74 | 74 | [build-system] |
75 | 75 | requires = ["uv_build>=0.11.0,<0.12.0"] |
76 | 76 | build-backend = "uv_build" |
77 | 77 |
|
| 78 | +[tool.ruff] |
| 79 | +extend = "../pyproject.toml" |
| 80 | + |
78 | 81 | [tool.uv.build-backend] |
79 | 82 | module-name = "connectrpc_otel" |
80 | 83 | module-root = "" |
81 | | - |
82 | | -[tool.ruff] |
83 | | -extend = "../pyproject.toml" |
0 commit comments