Skip to content

Commit

Permalink
python311Packages.opentelemetry: fix version
Browse files Browse the repository at this point in the history
These packages are in the same repository as `opentelemetry-api`, but
their versions are synchronized with `opentelemetry-instrumentation` in
another repository.
  • Loading branch information
natsukium committed Jun 4, 2024
1 parent 585cf46 commit d349f8d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
pythonOlder,
hatchling,
opentelemetry-api,
opentelemetry-instrumentation,
opentelemetry-sdk,
opentelemetry-test-utils,
prometheus-client,
Expand All @@ -13,7 +14,9 @@
buildPythonPackage {
inherit (opentelemetry-api) src;
pname = "opentelemetry-exporter-prometheus";
version = "0.44b0";
# This package is in the same repository as `opentelemetry-api`,
# but its version is synchronized with `opentelemetry-instrumentation` in another repository.
version = opentelemetry-instrumentation.version;
pyproject = true;

disabled = pythonOlder "3.8";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,16 @@
pythonOlder,
hatchling,
opentelemetry-api,
opentelemetry-instrumentation,
pytestCheckHook,
}:

buildPythonPackage {
inherit (opentelemetry-api) src;
pname = "opentelemetry-semantic-conventions";
version = "0.44b0";
# This package is in the same repository as `opentelemetry-api`,
# but its version is synchronized with `opentelemetry-instrumentation` in another repository.
version = opentelemetry-instrumentation.version;
pyproject = true;

disabled = pythonOlder "3.8";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,16 @@
asgiref,
hatchling,
opentelemetry-api,
opentelemetry-instrumentation,
opentelemetry-sdk,
}:

buildPythonPackage {
inherit (opentelemetry-api) src;
pname = "opentelemetry-test-utils";
version = "0.44b0";
# This package is in the same repository as `opentelemetry-api`,
# but its version is synchronized with `opentelemetry-instrumentation` in another repository.
version = opentelemetry-instrumentation.version;
pyproject = true;

disabled = pythonOlder "3.8";
Expand Down

0 comments on commit d349f8d

Please sign in to comment.