Merge pull request #259729 from natsukium/factory-boy

python311Packages.factory-boy: rename from factory_boy

authored by

Martin Weinelt and committed by
GitHub
37773cd0 f19fb329

+31 -30
+1 -1
nixos/tests/sqlite3-to-mysql.nix
··· 19 python3Packages.pytest 20 python3Packages.pytest-mock 21 python3Packages.pytest-timeout 22 - python3Packages.factory_boy 23 python3Packages.docker # only needed so import does not fail 24 sqlite3-to-mysql 25 ])
··· 19 python3Packages.pytest 20 python3Packages.pytest-mock 21 python3Packages.pytest-timeout 22 + python3Packages.factory-boy 23 python3Packages.docker # only needed so import does not fail 24 sqlite3-to-mysql 25 ])
+1 -1
pkgs/applications/misc/privacyidea/default.nix
··· 23 doCheck = false; 24 }); 25 # version 3.3.0+ does not support SQLAlchemy 1.3 26 - factory_boy = super.factory_boy.overridePythonAttrs (oldAttrs: rec { 27 version = "3.2.1"; 28 src = oldAttrs.src.override { 29 inherit version;
··· 23 doCheck = false; 24 }); 25 # version 3.3.0+ does not support SQLAlchemy 1.3 26 + factory-boy = super.factory-boy.overridePythonAttrs (oldAttrs: rec { 27 version = "3.2.1"; 28 src = oldAttrs.src.override { 29 inherit version;
+1 -1
pkgs/applications/office/paperless-ngx/default.nix
··· 242 243 nativeCheckInputs = with python.pkgs; [ 244 daphne 245 - factory_boy 246 imagehash 247 pdfminer-six 248 pytest-django
··· 242 243 nativeCheckInputs = with python.pkgs; [ 244 daphne 245 + factory-boy 246 imagehash 247 pdfminer-six 248 pytest-django
+2 -2
pkgs/applications/version-management/sourcehut/todo.nix
··· 7 , alembic 8 , pystache 9 , pytest 10 - , factory_boy 11 , python 12 , unzip 13 }: ··· 54 # pytest tests fail 55 nativeCheckInputs = [ 56 pytest 57 - factory_boy 58 ]; 59 60 dontUseSetuptoolsCheck = true;
··· 7 , alembic 8 , pystache 9 , pytest 10 + , factory-boy 11 , python 12 , unzip 13 }: ··· 54 # pytest tests fail 55 nativeCheckInputs = [ 56 pytest 57 + factory-boy 58 ]; 59 60 dontUseSetuptoolsCheck = true;
+2 -2
pkgs/development/python-modules/argilla/default.nix
··· 61 , pytest-cov 62 , pytest-mock 63 , pytest-asyncio 64 - , factory_boy 65 }: 66 let 67 pname = "argilla"; ··· 166 pytest-cov 167 pytest-mock 168 pytest-asyncio 169 - factory_boy 170 ] 171 ++ optional-dependencies.server 172 ++ optional-dependencies.postgresql
··· 61 , pytest-cov 62 , pytest-mock 63 , pytest-asyncio 64 + , factory-boy 65 }: 66 let 67 pname = "argilla"; ··· 166 pytest-cov 167 pytest-mock 168 pytest-asyncio 169 + factory-boy 170 ] 171 ++ optional-dependencies.server 172 ++ optional-dependencies.postgresql
+2 -2
pkgs/development/python-modules/django-extensions/default.nix
··· 3 , fetchFromGitHub 4 , fetchpatch 5 , django 6 - , factory_boy 7 , mock 8 , pip 9 , pygments ··· 45 __darwinAllowLocalNetworking = true; 46 47 nativeCheckInputs = [ 48 - factory_boy 49 mock 50 pip 51 pygments # not explicitly declared in setup.py, but some tests require it
··· 3 , fetchFromGitHub 4 , fetchpatch 5 , django 6 + , factory-boy 7 , mock 8 , pip 9 , pygments ··· 45 __darwinAllowLocalNetworking = true; 46 47 nativeCheckInputs = [ 48 + factory-boy 49 mock 50 pip 51 pygments # not explicitly declared in setup.py, but some tests require it
+2 -2
pkgs/development/python-modules/django-silk/default.nix
··· 2 , autopep8 3 , buildPythonPackage 4 , django 5 - , factory_boy 6 , fetchFromGitHub 7 , fetchpatch 8 , freezegun ··· 73 freezegun 74 networkx 75 pydot 76 - factory_boy 77 ]; 78 79 pythonImportsCheck = [
··· 2 , autopep8 3 , buildPythonPackage 4 , django 5 + , factory-boy 6 , fetchFromGitHub 7 , fetchpatch 8 , freezegun ··· 73 freezegun 74 networkx 75 pydot 76 + factory-boy 77 ]; 78 79 pythonImportsCheck = [
+2 -2
pkgs/development/python-modules/eth-keys/default.nix
··· 6 , eth-hash 7 , eth-typing 8 , eth-utils 9 - , factory_boy 10 , hypothesis 11 , isPyPy 12 , pyasn1 ··· 33 34 nativeCheckInputs = [ 35 asn1tools 36 - factory_boy 37 hypothesis 38 pyasn1 39 pytestCheckHook
··· 6 , eth-hash 7 , eth-typing 8 , eth-utils 9 + , factory-boy 10 , hypothesis 11 , isPyPy 12 , pyasn1 ··· 33 34 nativeCheckInputs = [ 35 asn1tools 36 + factory-boy 37 hypothesis 38 pyasn1 39 pytestCheckHook
pkgs/development/python-modules/factory_boy/default.nix pkgs/development/python-modules/factory-boy/default.nix
+2 -2
pkgs/development/python-modules/nasdaq-data-link/default.nix
··· 1 { lib 2 , buildPythonPackage 3 - , factory_boy 4 , fetchFromGitHub 5 , httpretty 6 , inflection ··· 42 ]; 43 44 nativeCheckInputs = [ 45 - factory_boy 46 httpretty 47 jsondate 48 mock
··· 1 { lib 2 , buildPythonPackage 3 + , factory-boy 4 , fetchFromGitHub 5 , httpretty 6 , inflection ··· 42 ]; 43 44 nativeCheckInputs = [ 45 + factory-boy 46 httpretty 47 jsondate 48 mock
+2 -2
pkgs/development/python-modules/pylint-django/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , django 4 - , factory_boy 5 , fetchFromGitHub 6 , pylint-plugin-utils 7 , pytestCheckHook ··· 28 ]; 29 30 nativeCheckInputs = [ 31 - factory_boy 32 pytestCheckHook 33 ]; 34
··· 1 { lib 2 , buildPythonPackage 3 , django 4 + , factory-boy 5 , fetchFromGitHub 6 , pylint-plugin-utils 7 , pytestCheckHook ··· 28 ]; 29 30 nativeCheckInputs = [ 31 + factory-boy 32 pytestCheckHook 33 ]; 34
+2 -2
pkgs/development/python-modules/pytest-factoryboy/default.nix
··· 10 11 # propagated 12 , inflection 13 - , factory_boy 14 , typing-extensions 15 16 # tests ··· 38 ]; 39 40 propagatedBuildInputs = [ 41 - factory_boy 42 inflection 43 typing-extensions 44 ];
··· 10 11 # propagated 12 , inflection 13 + , factory-boy 14 , typing-extensions 15 16 # tests ··· 38 ]; 39 40 propagatedBuildInputs = [ 41 + factory-boy 42 inflection 43 typing-extensions 44 ];
+2 -2
pkgs/development/python-modules/pytest-randomly/default.nix
··· 1 { lib 2 , buildPythonPackage 3 - , factory_boy 4 , faker 5 , fetchFromGitHub 6 , importlib-metadata ··· 34 ]; 35 36 nativeCheckInputs = [ 37 - factory_boy 38 faker 39 numpy 40 pytest-xdist
··· 1 { lib 2 , buildPythonPackage 3 + , factory-boy 4 , faker 5 , fetchFromGitHub 6 , importlib-metadata ··· 34 ]; 35 36 nativeCheckInputs = [ 37 + factory-boy 38 faker 39 numpy 40 pytest-xdist
+2 -2
pkgs/development/python-modules/quandl/default.nix
··· 1 { lib 2 , buildPythonPackage 3 - , factory_boy 4 , faker 5 , fetchPypi 6 , httpretty ··· 49 ]; 50 51 nativeCheckInputs = [ 52 - factory_boy 53 faker 54 httpretty 55 jsondate
··· 1 { lib 2 , buildPythonPackage 3 + , factory-boy 4 , faker 5 , fetchPypi 6 , httpretty ··· 49 ]; 50 51 nativeCheckInputs = [ 52 + factory-boy 53 faker 54 httpretty 55 jsondate
+2 -2
pkgs/development/python-modules/tld/default.nix
··· 1 { lib 2 , buildPythonPackage 3 - , factory_boy 4 , faker 5 , fetchPypi 6 , pytestCheckHook ··· 28 ]; 29 30 checkInputs = [ 31 - factory_boy 32 faker 33 ]; 34
··· 1 { lib 2 , buildPythonPackage 3 + , factory-boy 4 , faker 5 , fetchPypi 6 , pytestCheckHook ··· 28 ]; 29 30 checkInputs = [ 31 + factory-boy 32 faker 33 ]; 34
+2 -2
pkgs/development/python-modules/toggl-cli/default.nix
··· 2 , buildPythonPackage 3 , click 4 , click-completion 5 - , factory_boy 6 , faker 7 , fetchPypi 8 , inquirer ··· 52 pytestCheckHook 53 pytest-mock 54 faker 55 - factory_boy 56 ]; 57 58 postPatch = ''
··· 2 , buildPythonPackage 3 , click 4 , click-completion 5 + , factory-boy 6 , faker 7 , fetchPypi 8 , inquirer ··· 52 pytestCheckHook 53 pytest-mock 54 faker 55 + factory-boy 56 ]; 57 58 postPatch = ''
+2 -2
pkgs/development/python-modules/wagtail-factories/default.nix
··· 1 { buildPythonPackage 2 , callPackage 3 - , factory_boy 4 , fetchFromGitHub 5 , lib 6 , wagtail ··· 18 }; 19 20 propagatedBuildInputs = [ 21 - factory_boy 22 wagtail 23 ]; 24
··· 1 { buildPythonPackage 2 , callPackage 3 + , factory-boy 4 , fetchFromGitHub 5 , lib 6 , wagtail ··· 18 }; 19 20 propagatedBuildInputs = [ 21 + factory-boy 22 wagtail 23 ]; 24
+1
pkgs/top-level/python-aliases.nix
··· 129 Fabric = fabric; # addedd 2023-02-19 130 face_recognition = face-recognition; # added 2022-10-15 131 face_recognition_models = face-recognition-models; # added 2022-10-15 132 fake_factory = throw "fake_factory has been removed because it is unused and deprecated by upstream since 2016."; # added 2022-05-30 133 faulthandler = throw "faulthandler is built into ${python.executable}"; # added 2021-07-12 134 inherit (super.pkgs) fetchPypi; # added 2023-05-25
··· 129 Fabric = fabric; # addedd 2023-02-19 130 face_recognition = face-recognition; # added 2022-10-15 131 face_recognition_models = face-recognition-models; # added 2022-10-15 132 + factory_boy = factory-boy; # added 2023-10-08 133 fake_factory = throw "fake_factory has been removed because it is unused and deprecated by upstream since 2016."; # added 2022-05-30 134 faulthandler = throw "faulthandler is built into ${python.executable}"; # added 2021-07-12 135 inherit (super.pkgs) fetchPypi; # added 2023-05-25
+1 -1
pkgs/top-level/python-packages.nix
··· 3716 3717 face-recognition-models = callPackage ../development/python-modules/face-recognition/models.nix { }; 3718 3719 - factory_boy = callPackage ../development/python-modules/factory_boy { }; 3720 3721 fairscale = callPackage ../development/python-modules/fairscale { }; 3722
··· 3716 3717 face-recognition-models = callPackage ../development/python-modules/face-recognition/models.nix { }; 3718 3719 + factory-boy = callPackage ../development/python-modules/factory-boy { }; 3720 3721 fairscale = callPackage ../development/python-modules/fairscale { }; 3722