python310Packages.build 0 -> 1 attrpath: python310Packages.build Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] Going to be running update for following packages: - python3.10-build-0.10.0 Press Enter key to continue... Running update for: - python3.10-build-0.10.0: UPDATING ... - python3.10-build-0.10.0: DONE. Packages updated! [quotedUrls] [quotedUrls] nothing found to replace Diff after rewrites: diff --git a/pkgs/development/python-modules/build/default.nix b/pkgs/development/python-modules/build/default.nix index f86f47e2bd85..53c10ec79385 100644 --- a/pkgs/development/python-modules/build/default.nix +++ b/pkgs/development/python-modules/build/default.nix @@ -19,7 +19,7 @@ buildPythonPackage rec { pname = "build"; - version = "0.10.0"; + version = "1.0.3"; format = "pyproject"; disabled = pythonOlder "3.6"; @@ -27,8 +27,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "pypa"; repo = pname; - rev = version; - hash = "sha256-kXFrfTb7+68EV+gSENL81IFSR+ue7Fl6R2gsuFFBJhI="; + rev = "refs/tags/${version}"; + hash = "sha256-SGWpm+AGIfqKMpDfmz2aMYmcs+XVREbHIXSuU4R7U/k="; }; nativeBuildInputs = [ No auto update branch exists Old version 0.10.0" not present in staging derivation file with contents: { lib , stdenv , build , buildPythonPackage , fetchFromGitHub , flit-core , filelock , packaging , pyproject-hooks , pytest-mock , pytest-rerunfailures , pytest-xdist , pytestCheckHook , pythonOlder , setuptools , tomli , wheel }: buildPythonPackage rec { pname = "build"; version = "1.0.3"; format = "pyproject"; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "pypa"; repo = "build"; rev = "refs/tags/${version}"; hash = "sha256-SGWpm+AGIfqKMpDfmz2aMYmcs+XVREbHIXSuU4R7U/k="; }; nativeBuildInputs = [ flit-core ]; propagatedBuildInputs = [ packaging pyproject-hooks ] ++ lib.optionals (pythonOlder "3.11") [ tomli ]; # We need to disable tests because this package is part of the bootstrap chain # and its test dependencies cannot be built yet when this is being built. doCheck = false; passthru.tests = { pytest = buildPythonPackage { pname = "${pname}-pytest"; inherit src version; format = "other"; dontBuild = true; dontInstall = true; nativeCheckInputs = [ build filelock pytest-mock pytest-rerunfailures pytest-xdist pytestCheckHook setuptools wheel ]; pytestFlagsArray = [ "-W" "ignore::DeprecationWarning" ]; __darwinAllowLocalNetworking = true; disabledTests = [ # Tests often fail with StopIteration "test_isolat" "test_default_pip_is_never_too_old" "test_build" "test_with_get_requires" "test_init" "test_output" "test_wheel_metadata" ] ++ lib.optionals stdenv.isDarwin [ # Expects Apple's Python and its quirks "test_can_get_venv_paths_with_conflicting_default_scheme" ]; }; }; pythonImportsCheck = [ "build" ]; meta = with lib; { mainProgram = "pyproject-build"; description = "Simple, correct PEP517 package builder"; longDescription = '' build will invoke the PEP 517 hooks to build a distribution package. It is a simple build tool and does not perform any dependency management. ''; homepage = "https://github.com/pypa/build"; changelog = "https://github.com/pypa/build/blob/${version}/CHANGELOG.rst"; license = licenses.mit; maintainers = teams.python.members ++ [ maintainers.fab ]; }; }