opentelemetry-instrumentation-aiopg 0.44b0__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.44b0 → opentelemetry_instrumentation_aiopg-0.45b0}/PKG-INFO +4 -8
  2. {opentelemetry_instrumentation_aiopg-0.44b0 → opentelemetry_instrumentation_aiopg-0.45b0}/pyproject.toml +2 -7
  3. {opentelemetry_instrumentation_aiopg-0.44b0 → opentelemetry_instrumentation_aiopg-0.45b0}/src/opentelemetry/instrumentation/aiopg/version.py +1 -1
  4. {opentelemetry_instrumentation_aiopg-0.44b0 → opentelemetry_instrumentation_aiopg-0.45b0}/tests/test_aiopg_integration.py +2 -2
  5. {opentelemetry_instrumentation_aiopg-0.44b0 → opentelemetry_instrumentation_aiopg-0.45b0}/.gitignore +0 -0
  6. {opentelemetry_instrumentation_aiopg-0.44b0 → opentelemetry_instrumentation_aiopg-0.45b0}/LICENSE +0 -0
  7. {opentelemetry_instrumentation_aiopg-0.44b0 → opentelemetry_instrumentation_aiopg-0.45b0}/README.rst +0 -0
  8. {opentelemetry_instrumentation_aiopg-0.44b0 → opentelemetry_instrumentation_aiopg-0.45b0}/src/opentelemetry/instrumentation/aiopg/__init__.py +0 -0
  9. {opentelemetry_instrumentation_aiopg-0.44b0 → opentelemetry_instrumentation_aiopg-0.45b0}/src/opentelemetry/instrumentation/aiopg/aiopg_integration.py +0 -0
  10. {opentelemetry_instrumentation_aiopg-0.44b0 → opentelemetry_instrumentation_aiopg-0.45b0}/src/opentelemetry/instrumentation/aiopg/package.py +0 -0
  11. {opentelemetry_instrumentation_aiopg-0.44b0 → opentelemetry_instrumentation_aiopg-0.45b0}/src/opentelemetry/instrumentation/aiopg/wrappers.py +0 -0
  12. {opentelemetry_instrumentation_aiopg-0.44b0 → 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.44b0
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>
@@ -17,15 +17,11 @@ Classifier: Programming Language :: Python :: 3.10
17
17
  Classifier: Programming Language :: Python :: 3.11
18
18
  Requires-Python: >=3.8
19
19
  Requires-Dist: opentelemetry-api~=1.12
20
- Requires-Dist: opentelemetry-instrumentation-dbapi==0.44b0
21
- Requires-Dist: opentelemetry-instrumentation==0.44b0
20
+ Requires-Dist: opentelemetry-instrumentation-dbapi==0.45b0
21
+ Requires-Dist: opentelemetry-instrumentation==0.45b0
22
22
  Requires-Dist: wrapt<2.0.0,>=1.0.0
23
23
  Provides-Extra: instruments
24
24
  Requires-Dist: aiopg<2.0.0,>=0.13.0; extra == 'instruments'
25
- Provides-Extra: test
26
- Requires-Dist: opentelemetry-instrumentation-aiopg[instruments]; extra == 'test'
27
- Requires-Dist: opentelemetry-semantic-conventions==0.44b0; extra == 'test'
28
- Requires-Dist: opentelemetry-test-utils==0.44b0; extra == 'test'
29
25
  Description-Content-Type: text/x-rst
30
26
 
31
27
  OpenTelemetry aiopg instrumentation
@@ -25,8 +25,8 @@ classifiers = [
25
25
  ]
26
26
  dependencies = [
27
27
  "opentelemetry-api ~= 1.12",
28
- "opentelemetry-instrumentation == 0.44b0",
29
- "opentelemetry-instrumentation-dbapi == 0.44b0",
28
+ "opentelemetry-instrumentation == 0.45b0",
29
+ "opentelemetry-instrumentation-dbapi == 0.45b0",
30
30
  "wrapt >= 1.0.0, < 2.0.0",
31
31
  ]
32
32
 
@@ -34,11 +34,6 @@ dependencies = [
34
34
  instruments = [
35
35
  "aiopg >= 0.13.0, < 2.0.0",
36
36
  ]
37
- test = [
38
- "opentelemetry-instrumentation-aiopg[instruments]",
39
- "opentelemetry-semantic-conventions == 0.44b0",
40
- "opentelemetry-test-utils == 0.44b0",
41
- ]
42
37
 
43
38
  [project.entry-points.opentelemetry_instrumentor]
44
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.44b0"
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)