Skip to content

Commit

Permalink
Add psycopg tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tammy-baylis-swi committed Dec 7, 2024
1 parent bf49c8c commit c1d333c
Show file tree
Hide file tree
Showing 61 changed files with 362 additions and 267 deletions.
2 changes: 1 addition & 1 deletion _template/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
]
dependencies = [
"opentelemetry-api ~= 1.12",
#"opentelemetry-api ~= 1.12",
]

[project.entry-points.opentelemetry_instrumentor]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ classifiers = [
dependencies = [
"protobuf ~= 4.21",
"requests ~= 2.28",
"opentelemetry-api ~= 1.12",
"opentelemetry-sdk ~= 1.12",
#"opentelemetry-api ~= 1.12",
#"opentelemetry-sdk ~= 1.12",
"python-snappy ~= 0.6",
]

Expand Down
6 changes: 3 additions & 3 deletions exporter/opentelemetry-exporter-richconsole/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ classifiers = [
"Programming Language :: Python :: 3.12",
]
dependencies = [
"opentelemetry-api ~= 1.12",
"opentelemetry-sdk ~= 1.12",
"opentelemetry-semantic-conventions == 0.50b0.dev",
# "opentelemetry-api ~= 1.5",
# "opentelemetry-sdk ~= 1.5",
# "opentelemetry-semantic-conventions == 0.50b0.dev",
"rich>=10.0.0",
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ classifiers = [
"Programming Language :: Python :: 3.12",
]
dependencies = [
"opentelemetry-api ~= 1.5",
"opentelemetry-instrumentation == 0.50b0.dev",
# "opentelemetry-api ~= 1.5",
# "opentelemetry-instrumentation == 0.50b0.dev",
"wrapt >= 1.0.0, < 2.0.0",
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ classifiers = [
"Programming Language :: Python :: 3.12",
]
dependencies = [
"opentelemetry-api ~= 1.12",
"opentelemetry-instrumentation == 0.50b0.dev",
"opentelemetry-semantic-conventions == 0.50b0.dev",
"opentelemetry-util-http == 0.50b0.dev",
# "opentelemetry-api ~= 1.12",
# "opentelemetry-instrumentation == 0.50b0.dev",
# "opentelemetry-semantic-conventions == 0.50b0.dev",
# "opentelemetry-util-http == 0.50b0.dev",
"wrapt >= 1.0.0, < 2.0.0",
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ classifiers = [
"Programming Language :: Python :: 3.12",
]
dependencies = [
"opentelemetry-api ~= 1.12",
"opentelemetry-instrumentation == 0.50b0.dev",
"opentelemetry-semantic-conventions == 0.50b0.dev",
"opentelemetry-util-http == 0.50b0.dev",
# "opentelemetry-api ~= 1.12",
# "opentelemetry-instrumentation == 0.50b0.dev",
# "opentelemetry-semantic-conventions == 0.50b0.dev",
# "opentelemetry-util-http == 0.50b0.dev",
"wrapt >= 1.0.0, < 2.0.0",
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ classifiers = [
"Programming Language :: Python :: 3.12",
]
dependencies = [
"opentelemetry-api ~= 1.27",
"opentelemetry-instrumentation == 0.50b0.dev",
"opentelemetry-semantic-conventions == 0.50b0.dev",
# "opentelemetry-api ~= 1.27",
# "opentelemetry-instrumentation == 0.50b0.dev",
# "opentelemetry-semantic-conventions == 0.50b0.dev",
]

[project.optional-dependencies]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ classifiers = [
"Programming Language :: Python :: 3.12",
]
dependencies = [
"opentelemetry-api ~= 1.12",
"opentelemetry-instrumentation == 0.50b0.dev",
"opentelemetry-instrumentation-dbapi == 0.50b0.dev",
# "opentelemetry-api ~= 1.12",
# "opentelemetry-instrumentation == 0.50b0.dev",
# "opentelemetry-instrumentation-dbapi == 0.50b0.dev",
"wrapt >= 1.0.0, < 2.0.0",
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ classifiers = [
]
dependencies = [
"asgiref ~= 3.0",
"opentelemetry-api ~= 1.12",
"opentelemetry-instrumentation == 0.50b0.dev",
"opentelemetry-semantic-conventions == 0.50b0.dev",
"opentelemetry-util-http == 0.50b0.dev",
# "opentelemetry-api ~= 1.12",
# "opentelemetry-instrumentation == 0.50b0.dev",
# "opentelemetry-semantic-conventions == 0.50b0.dev",
# "opentelemetry-util-http == 0.50b0.dev",
]

[project.optional-dependencies]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ classifiers = [
"Programming Language :: Python :: 3.12",
]
dependencies = [
"opentelemetry-api ~= 1.14",
"opentelemetry-instrumentation == 0.50b0.dev",
"opentelemetry-semantic-conventions == 0.50b0.dev",
# "opentelemetry-api ~= 1.14",
# "opentelemetry-instrumentation == 0.50b0.dev",
# "opentelemetry-semantic-conventions == 0.50b0.dev",
"wrapt >= 1.0.0, < 2.0.0",
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ classifiers = [
"Programming Language :: Python :: 3.12",
]
dependencies = [
"opentelemetry-api ~= 1.12",
"opentelemetry-instrumentation == 0.50b0.dev",
"opentelemetry-semantic-conventions == 0.50b0.dev",
# "opentelemetry-api ~= 1.12",
# "opentelemetry-instrumentation == 0.50b0.dev",
# "opentelemetry-semantic-conventions == 0.50b0.dev",
]

[project.optional-dependencies]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ classifiers = [
"Programming Language :: Python :: 3.12",
]
dependencies = [
"opentelemetry-instrumentation == 0.50b0.dev",
"opentelemetry-semantic-conventions == 0.50b0.dev",
"opentelemetry-propagator-aws-xray ~= 1.0",
# "opentelemetry-instrumentation == 0.50b0.dev",
# "opentelemetry-semantic-conventions == 0.50b0.dev",
# "opentelemetry-propagator-aws-xray ~= 1.0",
]

[project.optional-dependencies]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ classifiers = [
"Programming Language :: Python :: 3.11",
]
dependencies = [
"opentelemetry-api ~= 1.12",
"opentelemetry-instrumentation == 0.50b0.dev",
"opentelemetry-semantic-conventions == 0.50b0.dev",
# "opentelemetry-api ~= 1.12",
# "opentelemetry-instrumentation == 0.50b0.dev",
# "opentelemetry-semantic-conventions == 0.50b0.dev",
]

[project.optional-dependencies]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ classifiers = [
"Programming Language :: Python :: 3.12",
]
dependencies = [
"opentelemetry-api ~= 1.12",
"opentelemetry-instrumentation == 0.50b0.dev",
"opentelemetry-semantic-conventions == 0.50b0.dev",
# "opentelemetry-api ~= 1.12",
# "opentelemetry-instrumentation == 0.50b0.dev",
# "opentelemetry-semantic-conventions == 0.50b0.dev",
"wrapt >= 1.0.0, < 2.0.0",
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ classifiers = [
"Programming Language :: Python :: 3.12",
]
dependencies = [
"opentelemetry-api ~= 1.12",
"opentelemetry-instrumentation == 0.50b0.dev",
"opentelemetry-semantic-conventions == 0.50b0.dev",
"opentelemetry-propagator-aws-xray ~= 1.0",
# "opentelemetry-api ~= 1.12",
# "opentelemetry-instrumentation == 0.50b0.dev",
# "opentelemetry-semantic-conventions == 0.50b0.dev",
# "opentelemetry-propagator-aws-xray ~= 1.0",
]

[project.optional-dependencies]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ classifiers = [
"Programming Language :: Python :: 3.12",
]
dependencies = [
"opentelemetry-api ~= 1.12",
"opentelemetry-instrumentation == 0.50b0.dev",
"opentelemetry-semantic-conventions == 0.50b0.dev",
# "opentelemetry-api ~= 1.12",
# "opentelemetry-instrumentation == 0.50b0.dev",
# "opentelemetry-semantic-conventions == 0.50b0.dev",
"wrapt >= 1.0.0, < 2.0.0",
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ classifiers = [
"Programming Language :: Python :: 3.12",
]
dependencies = [
"opentelemetry-api ~= 1.12",
"opentelemetry-instrumentation == 0.50b0.dev",
"opentelemetry-semantic-conventions == 0.50b0.dev",
# "opentelemetry-api ~= 1.12",
# "opentelemetry-instrumentation == 0.50b0.dev",
# "opentelemetry-semantic-conventions == 0.50b0.dev",
]

[project.optional-dependencies]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ classifiers = [
"Programming Language :: Python :: 3.12",
]
dependencies = [
"opentelemetry-instrumentation == 0.50b0.dev",
"opentelemetry-api ~= 1.12",
# "opentelemetry-instrumentation == 0.50b0.dev",
# "opentelemetry-api ~= 1.12",
"wrapt >= 1.0.0, < 2.0.0",
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ classifiers = [
"Programming Language :: Python :: 3.12",
]
dependencies = [
"opentelemetry-api ~= 1.12",
"opentelemetry-instrumentation == 0.50b0.dev",
"opentelemetry-semantic-conventions == 0.50b0.dev",
# "opentelemetry-api ~= 1.12",
# "opentelemetry-instrumentation == 0.50b0.dev",
# "opentelemetry-semantic-conventions == 0.50b0.dev",
"wrapt >= 1.0.0, < 2.0.0",
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ classifiers = [
"Programming Language :: Python :: 3.12",
]
dependencies = [
"opentelemetry-api ~= 1.12",
"opentelemetry-instrumentation == 0.50b0.dev",
"opentelemetry-instrumentation-wsgi == 0.50b0.dev",
"opentelemetry-semantic-conventions == 0.50b0.dev",
"opentelemetry-util-http == 0.50b0.dev",
# "opentelemetry-api ~= 1.12",
# "opentelemetry-instrumentation == 0.50b0.dev",
# "opentelemetry-instrumentation-wsgi == 0.50b0.dev",
# "opentelemetry-semantic-conventions == 0.50b0.dev",
# "opentelemetry-util-http == 0.50b0.dev",
]

[project.optional-dependencies]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ classifiers = [
"Programming Language :: Python :: 3.12",
]
dependencies = [
"opentelemetry-api ~= 1.12",
"opentelemetry-instrumentation == 0.50b0.dev",
"opentelemetry-semantic-conventions == 0.50b0.dev",
# "opentelemetry-api ~= 1.12",
# "opentelemetry-instrumentation == 0.50b0.dev",
# "opentelemetry-semantic-conventions == 0.50b0.dev",
"wrapt >= 1.0.0, < 2.0.0",
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ classifiers = [
"Programming Language :: Python :: 3.12",
]
dependencies = [
"opentelemetry-api ~= 1.12",
"opentelemetry-instrumentation == 0.50b0.dev",
"opentelemetry-instrumentation-wsgi == 0.50b0.dev",
"opentelemetry-semantic-conventions == 0.50b0.dev",
"opentelemetry-util-http == 0.50b0.dev",
# "opentelemetry-api ~= 1.12",
# "opentelemetry-instrumentation == 0.50b0.dev",
# "opentelemetry-instrumentation-wsgi == 0.50b0.dev",
# "opentelemetry-semantic-conventions == 0.50b0.dev",
# "opentelemetry-util-http == 0.50b0.dev",
"packaging >= 20.0",
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ classifiers = [
"Programming Language :: Python :: 3.12",
]
dependencies = [
"opentelemetry-api ~= 1.12",
"opentelemetry-instrumentation == 0.50b0.dev",
"opentelemetry-instrumentation-asgi == 0.50b0.dev",
"opentelemetry-semantic-conventions == 0.50b0.dev",
"opentelemetry-util-http == 0.50b0.dev",
# "opentelemetry-api ~= 1.12",
# "opentelemetry-instrumentation == 0.50b0.dev",
# "opentelemetry-instrumentation-asgi == 0.50b0.dev",
# "opentelemetry-semantic-conventions == 0.50b0.dev",
# "opentelemetry-util-http == 0.50b0.dev",
]

[project.optional-dependencies]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ classifiers = [
"Programming Language :: Python :: 3.12",
]
dependencies = [
"opentelemetry-api ~= 1.12",
"opentelemetry-instrumentation == 0.50b0.dev",
"opentelemetry-instrumentation-wsgi == 0.50b0.dev",
"opentelemetry-semantic-conventions == 0.50b0.dev",
"opentelemetry-util-http == 0.50b0.dev",
# "opentelemetry-api ~= 1.12",
# "opentelemetry-instrumentation == 0.50b0.dev",
# "opentelemetry-instrumentation-wsgi == 0.50b0.dev",
# "opentelemetry-semantic-conventions == 0.50b0.dev",
# "opentelemetry-util-http == 0.50b0.dev",
"packaging >= 21.0",
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ classifiers = [
"Programming Language :: Python :: 3.12",
]
dependencies = [
"opentelemetry-api ~= 1.12",
"opentelemetry-instrumentation == 0.50b0.dev",
"opentelemetry-semantic-conventions == 0.50b0.dev",
# "opentelemetry-api ~= 1.12",
# "opentelemetry-instrumentation == 0.50b0.dev",
# "opentelemetry-semantic-conventions == 0.50b0.dev",
"wrapt >= 1.0.0, < 2.0.0",
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ classifiers = [
"Programming Language :: Python :: 3.12",
]
dependencies = [
"opentelemetry-api ~= 1.12",
"opentelemetry-instrumentation == 0.50b0.dev",
"opentelemetry-semantic-conventions == 0.50b0.dev",
"opentelemetry-util-http == 0.50b0.dev",
# "opentelemetry-api ~= 1.12",
# "opentelemetry-instrumentation == 0.50b0.dev",
# "opentelemetry-semantic-conventions == 0.50b0.dev",
# "opentelemetry-util-http == 0.50b0.dev",
"wrapt >= 1.0.0, < 2.0.0",
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ classifiers = [
"Programming Language :: Python :: 3.12",
]
dependencies = [
"opentelemetry-api ~= 1.12",
"opentelemetry-instrumentation == 0.50b0.dev",
# "opentelemetry-api ~= 1.12",
# "opentelemetry-instrumentation == 0.50b0.dev",
"wrapt >= 1.0.0, < 2.0.0",
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ classifiers = [
"Programming Language :: Python :: 3.12",
]
dependencies = [
"opentelemetry-api ~= 1.5",
"opentelemetry-instrumentation == 0.50b0.dev",
"opentelemetry-semantic-conventions == 0.50b0.dev",
# "opentelemetry-api ~= 1.5",
# "opentelemetry-instrumentation == 0.50b0.dev",
# "opentelemetry-semantic-conventions == 0.50b0.dev",
]

[project.optional-dependencies]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ classifiers = [
"Programming Language :: Python :: 3.12",
]
dependencies = [
"opentelemetry-api ~= 1.12",
"opentelemetry-instrumentation == 0.50b0.dev",
# "opentelemetry-api ~= 1.12",
# "opentelemetry-instrumentation == 0.50b0.dev",
]

[project.optional-dependencies]
Expand Down
Loading

0 comments on commit c1d333c

Please sign in to comment.