python3Packages.factory-boy: 3.3.0 -> 3.3.1

https://github.com/FactoryBoy/factory_boy/blob/3.3.1/docs/changelog.rst
This commit is contained in:
Martin Weinelt
2024-10-13 11:03:19 +02:00
parent 3f6c2085e4
commit b4f1934f75
@@ -9,42 +9,44 @@
mongoengine,
pytestCheckHook,
pythonOlder,
mongomock,
sqlalchemy,
sqlalchemy-utils,
setuptools,
}:
buildPythonPackage rec {
pname = "factory-boy";
version = "3.3.0";
format = "setuptools";
version = "3.3.1";
pyproject = true;
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.8";
src = fetchPypi {
pname = "factory_boy";
inherit version;
hash = "sha256-vHbZfRplu9mEKm1yKIIJjrVJ7I7hCB+fsuj/KfDDAPE=";
hash = "sha256-gxeqUonN/EX5yuVw/rB6YXcxbILjTRTfPC4fIvJqvvA=";
};
postPatch = ''
substituteInPlace tests/test_version.py \
--replace '"3.2.1.dev0")' '"${version}")'
'';
build-system = [ setuptools ];
propagatedBuildInputs = [ faker ];
dependencies = [ faker ];
nativeCheckInputs = [
django
flask
flask-sqlalchemy
mongoengine
mongomock
pytestCheckHook
sqlalchemy
sqlalchemy-utils
];
# Checks for MongoDB requires an a running DB
disabledTests = [ "MongoEngineTestCase" ];
disabledTests = [
# Test checks for MongoDB requires an a running DB
"MongoEngineTestCase"
];
disabledTestPaths = [
# incompatible with latest flask-sqlalchemy
@@ -57,7 +59,7 @@ buildPythonPackage rec {
description = "Python package to create factories for complex objects";
homepage = "https://github.com/rbarrois/factory_boy";
changelog = "https://github.com/FactoryBoy/factory_boy/blob/${version}/docs/changelog.rst";
license = with licenses; [ mit ];
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}