diff options
author | natsukium <tomoya.otabi@gmail.com> | 2023-11-24 10:48:22 +0900 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2023-12-20 20:15:26 +0100 |
commit | a1afcb22069de15288fc520cba814b3d9cc66d2e (patch) | |
tree | 3548db96e4d3c365c4754131ad1a8d9ecad1b5f4 | |
parent | ffb2e65e054b989c55a83f79af0ed4b912e22e14 (diff) |
python311Packages.pydantic-settings: 2.0.3 -> 2.1.0
Diff: https://github.com/pydantic/pydantic-settings/compare/v2.0.3...v2.1.0
-rw-r--r-- | pkgs/development/python-modules/pydantic-settings/default.nix | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/pydantic-settings/default.nix b/pkgs/development/python-modules/pydantic-settings/default.nix index c27bb5f27576..3034b2f92711 100644 --- a/pkgs/development/python-modules/pydantic-settings/default.nix +++ b/pkgs/development/python-modules/pydantic-settings/default.nix @@ -1,6 +1,7 @@ { lib , buildPythonPackage , fetchFromGitHub +, pythonOlder , hatchling , pydantic , python-dotenv @@ -11,14 +12,16 @@ buildPythonPackage rec { pname = "pydantic-settings"; - version = "2.0.3"; - format = "pyproject"; + version = "2.1.0"; + pyproject = true; + + disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "pydantic"; repo = "pydantic-settings"; rev = "v${version}"; - hash = "sha256-3V6daCibvVr8RKo2o+vHC++QgIYKAOyRg11ATrCzM5Y="; + hash = "sha256-hU7u/AzaqCHKSUDHybsgXTW8IWi9hzBttPYDmMqdZbI="; }; nativeBuildInputs = [ @@ -38,6 +41,11 @@ buildPythonPackage rec { pytest-mock ]; + disabledTests = [ + # expected to fail + "test_docs_examples[docs/index.md:212-246]" + ]; + preCheck = '' export HOME=$TMPDIR ''; |