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
2 changed files with 6 additions and 7 deletions
@@ -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
-4
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";