mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
python3Packages.opentelemetry-instrumentation: 0.61b0 -> 0.64b0
https://github.com/open-telemetry/opentelemetry-python-contrib/releases/tag/vv0.64b0
This commit is contained in:
parent
7cf24f3f52
commit
060bb0f04d
2 changed files with 10 additions and 13 deletions
|
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
buildPythonPackage,
|
||||
fetchpatch,
|
||||
requests,
|
||||
hatchling,
|
||||
opentelemetry-api,
|
||||
|
|
@ -8,7 +7,9 @@
|
|||
opentelemetry-semantic-conventions,
|
||||
opentelemetry-util-http,
|
||||
httpretty,
|
||||
mocket,
|
||||
opentelemetry-test-utils,
|
||||
pytest-benchmark,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
|
|
@ -19,16 +20,6 @@ buildPythonPackage {
|
|||
|
||||
sourceRoot = "${opentelemetry-instrumentation.src.name}/instrumentation/opentelemetry-instrumentation-requests";
|
||||
|
||||
patches = [
|
||||
# remove hardcoded requests version from fixtures
|
||||
(fetchpatch {
|
||||
url = "https://github.com/open-telemetry/opentelemetry-python-contrib/commit/69a94e0c3b25edfdc4abeb18a4d26f5b7532e7ba.patch";
|
||||
stripLen = 2;
|
||||
includes = [ "tests/test_requests_integration.py" ];
|
||||
hash = "sha256-JGWJVHR6lAg8bG1fpfJ4BJbqipnVFRLV7i/bKwOmtPk=";
|
||||
})
|
||||
];
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
dependencies = [
|
||||
|
|
@ -41,10 +32,16 @@ buildPythonPackage {
|
|||
|
||||
nativeCheckInputs = [
|
||||
httpretty
|
||||
mocket
|
||||
opentelemetry-test-utils
|
||||
pytest-benchmark
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pytestFlags = [
|
||||
"--benchmark-disable"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "opentelemetry.instrumentation.requests" ];
|
||||
|
||||
meta = opentelemetry-instrumentation.meta // {
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "opentelemetry-instrumentation";
|
||||
version = "0.61b0";
|
||||
version = "0.64b0";
|
||||
pyproject = true;
|
||||
|
||||
# To avoid breakage, every package in opentelemetry-python-contrib must inherit this version, src, and meta
|
||||
|
|
@ -20,7 +20,7 @@ buildPythonPackage (finalAttrs: {
|
|||
owner = "open-telemetry";
|
||||
repo = "opentelemetry-python-contrib";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-DT13gcYPNYXBPnf622WsA16C+7sabJfOshDquHn06Ok=";
|
||||
hash = "sha256-dOcDzJD1xxCN7+Zrn+2mF/gbZjy/XC6uAKDhpfYLf98=";
|
||||
};
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/opentelemetry-instrumentation";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue