Commit 5abf5d4a authored by Robert Schütz's avatar Robert Schütz
Browse files

python312Packages.versioningit: don't test with pydantic_1

parent 07b88919
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -36,6 +36,9 @@ buildPythonPackage rec {
    ++ 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
+0 −4
Original line number Diff line number Diff line
@@ -318,10 +318,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";