Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: python3Packages.prometheus-client 0 -> 1 attrpath: python3Packages.prometheus-client Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/1jq0cf4hmihlc3r1xiza4x35pfb1w321-packages.json.drv building '/nix/store/1jq0cf4hmihlc3r1xiza4x35pfb1w321-packages.json.drv'... Going to be running update for following packages: - python3.13-prometheus-client-0.22.1 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - python3.13-prometheus-client-0.22.1: UPDATING ... - python3.13-prometheus-client-0.22.1: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/prometheus-client/default.nix b/pkgs/development/python-modules/prometheus-client/default.nix index f704ff1d4ce7..4fe7e987ec54 100644 --- a/pkgs/development/python-modules/prometheus-client/default.nix +++ b/pkgs/development/python-modules/prometheus-client/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "prometheus-client"; - version = "0.22.1"; + version = "0.24.1"; pyproject = true; src = fetchFromGitHub { owner = "prometheus"; repo = "client_python"; tag = "v${version}"; - hash = "sha256-DEuIoVpRDJTd9qXBeHa5jrBscmGgosCKAluqCuUBzuU="; + hash = "sha256-4swqhoCVrD7GflFbQX+QH9yGVDjbfwXvd7trs30STQQ="; }; build-system = [ setuptools ]; No auto update branch exists Old version 0.22.1" not present in staging derivation file with contents: { lib, stdenv, buildPythonPackage, fetchFromGitHub, setuptools, asgiref, twisted, pytest-benchmark, pytestCheckHook, }: buildPythonPackage rec { pname = "prometheus-client"; version = "0.24.1"; pyproject = true; src = fetchFromGitHub { owner = "prometheus"; repo = "client_python"; tag = "v${version}"; hash = "sha256-4swqhoCVrD7GflFbQX+QH9yGVDjbfwXvd7trs30STQQ="; }; build-system = [ setuptools ]; dependencies = [ asgiref ]; optional-dependencies.twisted = [ twisted ]; __darwinAllowLocalNetworking = true; nativeCheckInputs = [ pytest-benchmark pytestCheckHook ] ++ lib.concatAttrValues optional-dependencies; pytestFlags = [ "--benchmark-disable" ]; pythonImportsCheck = [ "prometheus_client" ]; disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [ # fails in darwin sandbox: Operation not permitted "test_instance_ip_grouping_key" ]; meta = { description = "Prometheus instrumentation library for Python applications"; homepage = "https://github.com/prometheus/client_python"; changelog = "https://github.com/prometheus/client_python/releases/tag/${src.tag}"; license = lib.licenses.asl20; maintainers = [ ]; }; }