python3Packages.pydantic-extra-types: 2.10.5 -> 2.10.6
https://github.com/pydantic/pydantic-extra-types/blob/v2.10.6/HISTORY.md
This commit is contained in:
committed by
Robert Schütz
parent
e8634318d0
commit
edecdd9e3f
@@ -6,6 +6,7 @@
|
||||
hatchling,
|
||||
pydantic,
|
||||
typing-extensions,
|
||||
cron-converter,
|
||||
semver,
|
||||
pendulum,
|
||||
phonenumbers,
|
||||
@@ -13,19 +14,20 @@
|
||||
pymongo,
|
||||
python-ulid,
|
||||
pytz,
|
||||
tzdata,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pydantic-extra-types";
|
||||
version = "2.10.5";
|
||||
version = "2.10.6";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pydantic";
|
||||
repo = "pydantic-extra-types";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-05yGIAgN/sW+Nj7F720ZAHeMz/AyvwHMfzp4OdLREe4=";
|
||||
hash = "sha256-g2a7tfldt39RCZxd9ta/JTPYnfZTTsLE6kA2fuo3fFg=";
|
||||
};
|
||||
|
||||
build-system = [ hatchling ];
|
||||
@@ -37,6 +39,7 @@ buildPythonPackage rec {
|
||||
|
||||
optional-dependencies = {
|
||||
all = [
|
||||
cron-converter
|
||||
pendulum
|
||||
phonenumbers
|
||||
pycountry
|
||||
@@ -44,7 +47,9 @@ buildPythonPackage rec {
|
||||
python-ulid
|
||||
pytz
|
||||
semver
|
||||
tzdata
|
||||
];
|
||||
cron = [ cron-converter ];
|
||||
phonenumbers = [ phonenumbers ];
|
||||
pycountry = [ pycountry ];
|
||||
semver = [ semver ];
|
||||
@@ -52,6 +57,15 @@ buildPythonPackage rec {
|
||||
pendulum = [ pendulum ];
|
||||
};
|
||||
|
||||
pytestFlags = [
|
||||
"-Wignore::DeprecationWarning"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# https://github.com/pydantic/pydantic-extra-types/issues/346
|
||||
"test_json_schema"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pydantic_extra_types" ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ] ++ optional-dependencies.all;
|
||||
|
||||
Reference in New Issue
Block a user