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:
commit
6eef3d7245
|
@ -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
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue