Unverified Commit b94b890a authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

Merge pull request #290878 from mweinelt/pydantic-1.10.14

python311Packages.pydantic_1: 1.10.13 -> 1.10.14
parents 6643d56e f72a84d9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@ python3.pkgs.buildPythonApplication rec {
    "botocore"
    "google-api-python-client"
    "slack-sdk"
    "pydantic"
  ];

  nativeBuildInputs = with python3.pkgs; [
+12 −2
Original line number Diff line number Diff line
@@ -6,6 +6,7 @@
, pytest-mock
, pytestCheckHook
, python-dotenv
, pythonAtLeast
, pythonOlder
, setuptools
, typing-extensions
@@ -14,7 +15,7 @@

buildPythonPackage rec {
  pname = "pydantic";
  version = "1.10.13";
  version = "1.10.14";
  pyproject = true;

  disabled = pythonOlder "3.7";
@@ -23,7 +24,7 @@ buildPythonPackage rec {
    owner = "pydantic";
    repo = "pydantic";
    rev = "refs/tags/v${version}";
    hash = "sha256-ruDVcCLPVuwIkHOjYVuKOoP3hHHr7ItIY55Y6hUgR74=";
    hash = "sha256-tcaHSPZggVwyzCgDmwOgcGqUmUrJOmkdSNudJTFQ3bc=";
  };

  nativeBuildInputs = [
@@ -62,6 +63,15 @@ buildPythonPackage rec {
    export HOME=$(mktemp -d)
  '';

  disabledTests = lib.optionals (pythonAtLeast "3.12") [
    # depends on distuils
    "test_cython_function_untouched"
    # AssertionError on exact types and wording
    "test_model_subclassing_abstract_base_classes_without_implementation_raises_exception"
    "test_partial_specification_name"
    "test_secretfield"
  ];

  enableParallelBuilding = true;

  pythonImportsCheck = [ "pydantic" ];