opentelemetry-instrumentation-aiopg 0.43b0__tar.gz → 0.45b0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (12) hide show
  1. {opentelemetry_instrumentation_aiopg-0.43b0 → opentelemetry_instrumentation_aiopg-0.45b0}/PKG-INFO +5 -10
  2. {opentelemetry_instrumentation_aiopg-0.43b0 → opentelemetry_instrumentation_aiopg-0.45b0}/pyproject.toml +3 -9
  3. {opentelemetry_instrumentation_aiopg-0.43b0 → opentelemetry_instrumentation_aiopg-0.45b0}/src/opentelemetry/instrumentation/aiopg/version.py +1 -1
  4. {opentelemetry_instrumentation_aiopg-0.43b0 → opentelemetry_instrumentation_aiopg-0.45b0}/tests/test_aiopg_integration.py +2 -2
  5. {opentelemetry_instrumentation_aiopg-0.43b0 → opentelemetry_instrumentation_aiopg-0.45b0}/.gitignore +0 -0
  6. {opentelemetry_instrumentation_aiopg-0.43b0 → opentelemetry_instrumentation_aiopg-0.45b0}/LICENSE +0 -0
  7. {opentelemetry_instrumentation_aiopg-0.43b0 → opentelemetry_instrumentation_aiopg-0.45b0}/README.rst +0 -0
  8. {opentelemetry_instrumentation_aiopg-0.43b0 → opentelemetry_instrumentation_aiopg-0.45b0}/src/opentelemetry/instrumentation/aiopg/__init__.py +0 -0
  9. {opentelemetry_instrumentation_aiopg-0.43b0 → opentelemetry_instrumentation_aiopg-0.45b0}/src/opentelemetry/instrumentation/aiopg/aiopg_integration.py +0 -0
  10. {opentelemetry_instrumentation_aiopg-0.43b0 → opentelemetry_instrumentation_aiopg-0.45b0}/src/opentelemetry/instrumentation/aiopg/package.py +0 -0
  11. {opentelemetry_instrumentation_aiopg-0.43b0 → opentelemetry_instrumentation_aiopg-0.45b0}/src/opentelemetry/instrumentation/aiopg/wrappers.py +0 -0
  12. {opentelemetry_instrumentation_aiopg-0.43b0 → opentelemetry_instrumentation_aiopg-0.45b0}/tests/__init__.py +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.3
2
2
  Name: opentelemetry-instrumentation-aiopg
3
- Version: 0.43b0
3
+ Version: 0.45b0
4
4
  Summary: OpenTelemetry aiopg instrumentation
5
5
  Project-URL: Homepage, https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/instrumentation/opentelemetry-instrumentation-aiopg
6
6
  Author-email: OpenTelemetry Authors <cncf-opentelemetry-contributors@lists.cncf.io>
@@ -11,22 +11,17 @@ Classifier: Intended Audience :: Developers
11
11
  Classifier: License :: OSI Approved :: Apache Software License
12
12
  Classifier: Programming Language :: Python
13
13
  Classifier: Programming Language :: Python :: 3
14
- Classifier: Programming Language :: Python :: 3.7
15
14
  Classifier: Programming Language :: Python :: 3.8
16
15
  Classifier: Programming Language :: Python :: 3.9
17
16
  Classifier: Programming Language :: Python :: 3.10
18
17
  Classifier: Programming Language :: Python :: 3.11
19
- Requires-Python: >=3.7
18
+ Requires-Python: >=3.8
20
19
  Requires-Dist: opentelemetry-api~=1.12
21
- Requires-Dist: opentelemetry-instrumentation-dbapi==0.43b0
22
- Requires-Dist: opentelemetry-instrumentation==0.43b0
20
+ Requires-Dist: opentelemetry-instrumentation-dbapi==0.45b0
21
+ Requires-Dist: opentelemetry-instrumentation==0.45b0
23
22
  Requires-Dist: wrapt<2.0.0,>=1.0.0
24
23
  Provides-Extra: instruments
25
24
  Requires-Dist: aiopg<2.0.0,>=0.13.0; extra == 'instruments'
26
- Provides-Extra: test
27
- Requires-Dist: opentelemetry-instrumentation-aiopg[instruments]; extra == 'test'
28
- Requires-Dist: opentelemetry-semantic-conventions==0.43b0; extra == 'test'
29
- Requires-Dist: opentelemetry-test-utils==0.43b0; extra == 'test'
30
25
  Description-Content-Type: text/x-rst
31
26
 
32
27
  OpenTelemetry aiopg instrumentation
@@ -8,7 +8,7 @@ dynamic = ["version"]
8
8
  description = "OpenTelemetry aiopg instrumentation"
9
9
  readme = "README.rst"
10
10
  license = "Apache-2.0"
11
- requires-python = ">=3.7"
11
+ requires-python = ">=3.8"
12
12
  authors = [
13
13
  { name = "OpenTelemetry Authors", email = "cncf-opentelemetry-contributors@lists.cncf.io" },
14
14
  ]
@@ -18,7 +18,6 @@ classifiers = [
18
18
  "License :: OSI Approved :: Apache Software License",
19
19
  "Programming Language :: Python",
20
20
  "Programming Language :: Python :: 3",
21
- "Programming Language :: Python :: 3.7",
22
21
  "Programming Language :: Python :: 3.8",
23
22
  "Programming Language :: Python :: 3.9",
24
23
  "Programming Language :: Python :: 3.10",
@@ -26,8 +25,8 @@ classifiers = [
26
25
  ]
27
26
  dependencies = [
28
27
  "opentelemetry-api ~= 1.12",
29
- "opentelemetry-instrumentation == 0.43b0",
30
- "opentelemetry-instrumentation-dbapi == 0.43b0",
28
+ "opentelemetry-instrumentation == 0.45b0",
29
+ "opentelemetry-instrumentation-dbapi == 0.45b0",
31
30
  "wrapt >= 1.0.0, < 2.0.0",
32
31
  ]
33
32
 
@@ -35,11 +34,6 @@ dependencies = [
35
34
  instruments = [
36
35
  "aiopg >= 0.13.0, < 2.0.0",
37
36
  ]
38
- test = [
39
- "opentelemetry-instrumentation-aiopg[instruments]",
40
- "opentelemetry-semantic-conventions == 0.43b0",
41
- "opentelemetry-test-utils == 0.43b0",
42
- ]
43
37
 
44
38
  [project.entry-points.opentelemetry_instrumentor]
45
39
  aiopg = "opentelemetry.instrumentation.aiopg:AiopgInstrumentor"
@@ -12,4 +12,4 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
- __version__ = "0.43b0"
15
+ __version__ = "0.45b0"
@@ -76,7 +76,7 @@ class TestAiopgInstrumentor(TestBase):
76
76
  cnx = async_call(aiopg.connect(database="test"))
77
77
  cursor = async_call(cnx.cursor())
78
78
  query = "SELECT * FROM test"
79
- cursor.execute(query)
79
+ async_call(cursor.execute(query))
80
80
 
81
81
  spans_list = self.memory_exporter.get_finished_spans()
82
82
  self.assertEqual(len(spans_list), 1)
@@ -127,7 +127,7 @@ class TestAiopgInstrumentor(TestBase):
127
127
  cnx = async_call(pool.acquire())
128
128
  cursor = async_call(cnx.cursor())
129
129
  query = "SELECT * FROM test"
130
- cursor.execute(query)
130
+ async_call(cursor.execute(query))
131
131
 
132
132
  spans_list = self.memory_exporter.get_finished_spans()
133
133
  self.assertEqual(len(spans_list), 1)