Merge pull request #290878 from mweinelt/pydantic-1.10.14
python311Packages.pydantic_1: 1.10.13 -> 1.10.14
This commit is contained in:
commit
b94b890ac6
@ -21,6 +21,7 @@ python3.pkgs.buildPythonApplication rec {
|
|||||||
"botocore"
|
"botocore"
|
||||||
"google-api-python-client"
|
"google-api-python-client"
|
||||||
"slack-sdk"
|
"slack-sdk"
|
||||||
|
"pydantic"
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = with python3.pkgs; [
|
nativeBuildInputs = with python3.pkgs; [
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
, pytest-mock
|
, pytest-mock
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, python-dotenv
|
, python-dotenv
|
||||||
|
, pythonAtLeast
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, setuptools
|
, setuptools
|
||||||
, typing-extensions
|
, typing-extensions
|
||||||
@ -14,7 +15,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pydantic";
|
pname = "pydantic";
|
||||||
version = "1.10.13";
|
version = "1.10.14";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
@ -23,7 +24,7 @@ buildPythonPackage rec {
|
|||||||
owner = "pydantic";
|
owner = "pydantic";
|
||||||
repo = "pydantic";
|
repo = "pydantic";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-ruDVcCLPVuwIkHOjYVuKOoP3hHHr7ItIY55Y6hUgR74=";
|
hash = "sha256-tcaHSPZggVwyzCgDmwOgcGqUmUrJOmkdSNudJTFQ3bc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
@ -62,6 +63,15 @@ buildPythonPackage rec {
|
|||||||
export HOME=$(mktemp -d)
|
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;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
pythonImportsCheck = [ "pydantic" ];
|
pythonImportsCheck = [ "pydantic" ];
|
||||||
|
Loading…
Reference in New Issue
Block a user