python311Packages.factory_boy: 3.2.1 -> 3.3.0

Changelog: https://github.com/FactoryBoy/factory_boy/blob/3.3.0/docs/changelog.rst
This commit is contained in:
Fabian Affolter 2023-07-19 11:58:58 +02:00 committed by Martin Weinelt
parent 59a8e9915e
commit 1148d2369b

View File

@ -7,20 +7,29 @@
, flask-sqlalchemy
, mongoengine
, pytestCheckHook
, pythonOlder
, sqlalchemy
, sqlalchemy-utils
}:
buildPythonPackage rec {
pname = "factory-boy";
version = "3.2.1";
version = "3.3.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "factory_boy";
inherit version;
hash = "sha256-qY0newwEfHXrbkq4UIp/gfsD0sshmG9ieRNUbveipV4=";
hash = "sha256-vHbZfRplu9mEKm1yKIIJjrVJ7I7hCB+fsuj/KfDDAPE=";
};
postPatch = ''
substituteInPlace tests/test_version.py \
--replace '"3.2.1.dev0")' '"${version}")'
'';
propagatedBuildInputs = [
faker
];
@ -32,6 +41,7 @@ buildPythonPackage rec {
mongoengine
pytestCheckHook
sqlalchemy
sqlalchemy-utils
];
# Checks for MongoDB requires an a running DB
@ -51,6 +61,7 @@ buildPythonPackage rec {
meta = with lib; {
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 ];
maintainers = with maintainers; [ fab ];
};