python311Packages.pydantic-settings 0 -> 1 attrpath: python311Packages.pydantic-settings 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] this derivation will be built: /nix/store/3b5w34crmks87116yca6yvhzpbf91ysi-packages.json.drv building '/nix/store/3b5w34crmks87116yca6yvhzpbf91ysi-packages.json.drv'... Going to be running update for following packages: - python3.11-pydantic-settings-2.1.0 Press Enter key to continue... Running update for: - python3.11-pydantic-settings-2.1.0: UPDATING ... - python3.11-pydantic-settings-2.1.0: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/pydantic-settings/default.nix b/pkgs/development/python-modules/pydantic-settings/default.nix index 000f0dd52a17..250c1b875630 100644 --- a/pkgs/development/python-modules/pydantic-settings/default.nix +++ b/pkgs/development/python-modules/pydantic-settings/default.nix @@ -12,7 +12,7 @@ let self = buildPythonPackage rec { pname = "pydantic-settings"; - version = "2.1.0"; + version = "2.2.1"; pyproject = true; disabled = pythonOlder "3.8"; @@ -20,8 +20,8 @@ let self = buildPythonPackage rec { src = fetchFromGitHub { owner = "pydantic"; repo = "pydantic-settings"; - rev = "v${version}"; - hash = "sha256-hU7u/AzaqCHKSUDHybsgXTW8IWi9hzBttPYDmMqdZbI="; + rev = "refs/tags/v${version}"; + hash = "sha256-4o8LlIFVizoxb484lVT67e24jhtUl49otr1lX/2zZ4M="; }; nativeBuildInputs = [ No auto update branch exists Old version 2.1.0" not present in staging derivation file with contents: { lib , buildPythonPackage , fetchFromGitHub , pythonOlder , hatchling , pydantic , python-dotenv , pytestCheckHook , pytest-examples , pytest-mock }: let self = buildPythonPackage rec { pname = "pydantic-settings"; version = "2.2.1"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "pydantic"; repo = "pydantic-settings"; rev = "refs/tags/v${version}"; hash = "sha256-4o8LlIFVizoxb484lVT67e24jhtUl49otr1lX/2zZ4M="; }; nativeBuildInputs = [ hatchling ]; propagatedBuildInputs = [ pydantic python-dotenv ]; pythonImportsCheck = [ "pydantic_settings" ]; nativeCheckInputs = [ pytestCheckHook pytest-examples pytest-mock ]; disabledTests = [ # expected to fail "test_docs_examples[docs/index.md:212-246]" ]; preCheck = '' export HOME=$TMPDIR ''; # ruff is a dependency of pytest-examples which is required to run the tests. # We do not want all of the downstream packages that depend on pydantic-settings to also depend on ruff. doCheck = false; passthru.tests = { pytest = self.overridePythonAttrs { doCheck = true; }; }; meta = with lib; { description = "Settings management using pydantic"; homepage = "https://github.com/pydantic/pydantic-settings"; license = licenses.mit; broken = lib.versionOlder pydantic.version "2.0.0"; maintainers = with maintainers; [ ]; }; }; in self