python313Packages.polyfactory: 2.19.0 -> 2.22.1 (#428302)
This commit is contained in:
@@ -14,19 +14,18 @@
|
||||
pydantic,
|
||||
pytestCheckHook,
|
||||
email-validator,
|
||||
pytest-lazy-fixtures,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "polyfactory";
|
||||
version = "2.19.0";
|
||||
version = "2.22.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "litestar-org";
|
||||
repo = "polyfactory";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-0VsH2J+vEk3cF7AYvirnXPupSLE2EGrp9FF+/EOWAbw=";
|
||||
hash = "sha256-PzMl0LHBs3cmV4OEj/aTDq0peN/ALXNp5rijuTwU31A=";
|
||||
};
|
||||
|
||||
build-system = [ hatchling ];
|
||||
@@ -48,9 +47,15 @@ buildPythonPackage rec {
|
||||
pytest-asyncio
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
"tests/test_beanie_factory.py"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# Unsupported type: LiteralAlias
|
||||
"test_type_alias"
|
||||
# Unsupported type: 'JsonValue' on field '' from class RecursiveTypeModelFactory.
|
||||
"test_recursive_type_annotation"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "polyfactory" ];
|
||||
@@ -59,7 +64,7 @@ buildPythonPackage rec {
|
||||
homepage = "https://polyfactory.litestar.dev/";
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = with lib.maintainers; [ bot-wxt1221 ];
|
||||
changelog = "https://github.com/litestar-org/polyfactory/releases/tag/v${version}";
|
||||
changelog = "https://github.com/litestar-org/polyfactory/releases/tag/${src.tag}";
|
||||
description = "Simple and powerful factories for mock data generation";
|
||||
license = lib.licenses.mit;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user