Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: python3Packages.protobuf6 0 -> 1 attrpath: python3Packages.protobuf6 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/00hpjpqh3wgh88fdrdyp5l8wmhhmh1nm-packages.json.drv building '/nix/store/00hpjpqh3wgh88fdrdyp5l8wmhhmh1nm-packages.json.drv'... Going to be running update for following packages: - python3.13-protobuf-6.33.5 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - python3.13-protobuf-6.33.5: UPDATING ... - python3.13-protobuf-6.33.5: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/protobuf/6.nix b/pkgs/development/python-modules/protobuf/6.nix index 1d05e4ad3346..ccface244a5a 100644 --- a/pkgs/development/python-modules/protobuf/6.nix +++ b/pkgs/development/python-modules/protobuf/6.nix @@ -9,12 +9,12 @@ buildPythonPackage (finalAttrs: { pname = "protobuf"; - version = "6.33.5"; + version = "7.34.1"; pyproject = true; src = fetchPypi { inherit (finalAttrs) pname version; - hash = "sha256-bdysKggfi3uWQsCUBrxqQpASj85fRxzd0WWWC7kRnlw="; + hash = "sha256-nOQiRecEzFAnvnl8HbHrkxhNRNHN1xgR+y2bJa1UEoA="; }; build-system = [ setuptools ]; No auto update branch exists Old version 6.33.5" not present in staging derivation file with contents: { buildPythonPackage, fetchPypi, lib, python, setuptools, protobuf, }: buildPythonPackage (finalAttrs: { pname = "protobuf"; version = "6.33.6"; pyproject = true; src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-pnaNJSSDEsKXVYr5ap+ckp6MTO4GWcsH54BzEJXzgTU="; }; build-system = [ setuptools ]; propagatedNativeBuildInputs = [ protobuf ]; doCheck = # https://protobuf.dev/support/cross-version-runtime-guarantee/#backwards # The non-python protobuf provides the protoc binary which must not be newer. assert lib.versionAtLeast finalAttrs.version ("6." + protobuf.version); # the pypi source archive does not ship tests false; pythonImportsCheck = [ "google.protobuf" "google.protobuf.compiler" "google.protobuf.internal" "google.protobuf.pyext" "google.protobuf.testdata" "google.protobuf.util" "google._upb._message" ]; # Tries to explicitly create a namespace package with pkg_resources, # which breaks everything with our PYTHONPATH setup. postInstall = '' rm $out/${python.sitePackages}/google/__init__.py ''; meta = { description = "Protocol Buffers are Google's data interchange format"; homepage = "https://developers.google.com/protocol-buffers/"; changelog = "https://github.com/protocolbuffers/protobuf/releases/v${ builtins.substring 2 (-1) finalAttrs.version }"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ GaetanLepage ]; }; })