python313Packages.elastic-apm: 6.23.0 -> 6.24.0 (#442159)
This commit is contained in:
@@ -19,7 +19,6 @@
|
||||
pytest-mock,
|
||||
pytest-random-order,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
sanic,
|
||||
sanic-testing,
|
||||
setuptools,
|
||||
@@ -33,28 +32,16 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "elastic-apm";
|
||||
version = "6.23.0";
|
||||
version = "6.24.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "elastic";
|
||||
repo = "apm-agent-python";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-S1Ebo9AWN+Mf3OFwxNTiR/AZtje3gNiYkZnVqGb7D4c=";
|
||||
hash = "sha256-mHDUcIII1gERlGMJvXPe3Hb38wNAylfMQpeLjA1Xbuk=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "fix-tests-with-latest-starlette-and-sanic.patch";
|
||||
url = "https://github.com/elastic/apm-agent-python/commit/80d167f54b6bf1db8b6e7ee52e2ac6803bc64f54.patch";
|
||||
hash = "sha256-VtA7+SyEZiL3aqpikyYJQ4tmdmsUpIdkSx6RtC1AzqY=";
|
||||
})
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [ "wrapt" ];
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
@@ -94,6 +81,8 @@ buildPythonPackage rec {
|
||||
disabledTestPaths = [
|
||||
# Exclude tornado tests
|
||||
"tests/contrib/asyncio/tornado/tornado_tests.py"
|
||||
# Exclude client tests
|
||||
"tests/instrumentation/asyncio_tests/aiohttp_client_tests.py"
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
# Flaky tests on Darwin
|
||||
@@ -105,8 +94,8 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Python agent for the Elastic APM";
|
||||
homepage = "https://github.com/elastic/apm-agent-python";
|
||||
changelog = "https://github.com/elastic/apm-agent-python/releases/tag/v${version}";
|
||||
license = with licenses; [ bsd3 ];
|
||||
changelog = "https://github.com/elastic/apm-agent-python/releases/tag/${src.tag}";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
mainProgram = "elasticapm-run";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user