otlp-test-data 0.9.1__tar.gz → 0.9.3__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: otlp-test-data
3
- Version: 0.9.1
3
+ Version: 0.9.3
4
4
  Summary: Produces OTLP data using OTEL instrumentation
5
5
  Classifier: Development Status :: 3 - Alpha
6
6
  Classifier: Intended Audience :: Developers
@@ -29,6 +29,7 @@ Requires-Dist: freezegun~=1.5
29
29
  Requires-Dist: opentelemetry-api~=1.30
30
30
  Requires-Dist: opentelemetry-exporter-otlp~=1.30
31
31
  Requires-Dist: opentelemetry-exporter-otlp-proto-http~=1.30
32
+ Requires-Dist: grpcio<2.0.0,>=1.66.2; python_version >= "3.13"
32
33
 
33
34
  # otlp-test-data
34
35
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: otlp-test-data
3
- Version: 0.9.1
3
+ Version: 0.9.3
4
4
  Summary: Produces OTLP data using OTEL instrumentation
5
5
  Classifier: Development Status :: 3 - Alpha
6
6
  Classifier: Intended Audience :: Developers
@@ -29,6 +29,7 @@ Requires-Dist: freezegun~=1.5
29
29
  Requires-Dist: opentelemetry-api~=1.30
30
30
  Requires-Dist: opentelemetry-exporter-otlp~=1.30
31
31
  Requires-Dist: opentelemetry-exporter-otlp-proto-http~=1.30
32
+ Requires-Dist: grpcio<2.0.0,>=1.66.2; python_version >= "3.13"
32
33
 
33
34
  # otlp-test-data
34
35
 
@@ -2,3 +2,6 @@ freezegun~=1.5
2
2
  opentelemetry-api~=1.30
3
3
  opentelemetry-exporter-otlp~=1.30
4
4
  opentelemetry-exporter-otlp-proto-http~=1.30
5
+
6
+ [:python_version >= "3.13"]
7
+ grpcio<2.0.0,>=1.66.2
@@ -31,15 +31,15 @@ class Config:
31
31
  time = None
32
32
 
33
33
 
34
- def sample_proto(config: Config | None) -> bytes:
34
+ def sample_proto(config: Config | None = None) -> bytes:
35
35
  return _proto_to_bytes(_spans_to_proto_object(sample_spans(config)))
36
36
 
37
37
 
38
- def sample_json(config: Config | None) -> bytes:
38
+ def sample_json(config: Config | None = None) -> bytes:
39
39
  return _proto_to_json(_spans_to_proto_object(sample_spans(config)))
40
40
 
41
41
 
42
- def sample_spans(config: Config | None) -> Sequence[ReadableSpan]:
42
+ def sample_spans(config: Config | None = None) -> Sequence[ReadableSpan]:
43
43
  """Creates and finishes two spans, then returns them as a list."""
44
44
  global time
45
45
  config = config or Config()
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "otlp-test-data"
3
- version = "0.9.1"
3
+ version = "0.9.3"
4
4
  description = "Produces OTLP data using OTEL instrumentation"
5
5
  requires-python = ">=3.8"
6
6
  # https://github.com/astral-sh/uv/issues/4204
@@ -34,6 +34,9 @@ dependencies = [
34
34
  "opentelemetry-api ~= 1.30",
35
35
  "opentelemetry-exporter-otlp ~= 1.30",
36
36
  "opentelemetry-exporter-otlp-proto-http ~= 1.30",
37
+ # Work around https://github.com/grpc/grpc/issues/38790
38
+ # grpcio is a transient dep of exporters above
39
+ "grpcio >= 1.66.2, < 2.0.0; python_version >= '3.13'",
37
40
  ]
38
41
 
39
42
  [dependency-groups]
@@ -47,6 +50,7 @@ testing = [
47
50
 
48
51
  [tool.semantic_release]
49
52
  version_variables = ["pyproject.toml:project.version"]
53
+ tag_format = "{version}"
50
54
 
51
55
  [tool.semantic_release.changelog]
52
56
  changelog_file = "changelog.md"
File without changes
File without changes