1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

python312Packages.versioningit: don't test with pydantic_1 (#351793)

This commit is contained in:
Robert Schütz 2024-11-01 22:29:05 -07:00 committed by GitHub
commit 6eef3d7245
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 7 deletions

View file

@ -20,7 +20,7 @@
buildPythonPackage rec {
pname = "versioningit";
version = "3.1.2";
format = "pyproject";
pyproject = true;
disabled = pythonOlder "3.8";
@ -29,13 +29,16 @@ buildPythonPackage rec {
hash = "sha256-Tbg+2Z9WsH2DlAvuNEXKRsoSDRO2swTNtftE5apO3sA=";
};
nativeBuildInputs = [ hatchling ];
build-system = [ hatchling ];
propagatedBuildInputs =
dependencies =
[ packaging ]
++ lib.optionals (pythonOlder "3.10") [ importlib-metadata ]
++ lib.optionals (pythonOlder "3.11") [ tomli ];
# AttributeError: type object 'CaseDetails' has no attribute 'model_validate_json'
doCheck = lib.versionAtLeast pydantic.version "2";
nativeCheckInputs = [
pytestCheckHook
build

View file

@ -335,10 +335,6 @@ let
];
};
versioningit = super.versioningit.overridePythonAttrs {
doCheck = false;
};
# Pinned due to API changes ~1.0
vultr = super.vultr.overridePythonAttrs (oldAttrs: rec {
version = "0.1.2";