mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
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"
|
||||
"google-api-python-client"
|
||||
"slack-sdk"
|
||||
"pydantic"
|
||||
];
|
||||
|
||||
nativeBuildInputs = with python3.pkgs; [
|
||||
|
@ -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" ];
|
||||
|
Loading…
Reference in New Issue
Block a user