Merge pull request #290878 from mweinelt/pydantic-1.10.14

python311Packages.pydantic_1: 1.10.13 -> 1.10.14
This commit is contained in:
Martin Weinelt 2024-02-23 18:46:36 +01:00 committed by GitHub
commit b94b890ac6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 13 additions and 2 deletions

View File

@ -21,6 +21,7 @@ python3.pkgs.buildPythonApplication rec {
"botocore"
"google-api-python-client"
"slack-sdk"
"pydantic"
];
nativeBuildInputs = with python3.pkgs; [

View File

@ -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" ];