mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-11 07:15:54 +03:00
python311Packages.factory-boy: rename from factory_boy
This commit is contained in:
parent
0cbdedb436
commit
abd8c26137
@ -19,7 +19,7 @@ import ./make-test-python.nix ({ pkgs, lib, ... }:
|
|||||||
python3Packages.pytest
|
python3Packages.pytest
|
||||||
python3Packages.pytest-mock
|
python3Packages.pytest-mock
|
||||||
python3Packages.pytest-timeout
|
python3Packages.pytest-timeout
|
||||||
python3Packages.factory_boy
|
python3Packages.factory-boy
|
||||||
python3Packages.docker # only needed so import does not fail
|
python3Packages.docker # only needed so import does not fail
|
||||||
sqlite3-to-mysql
|
sqlite3-to-mysql
|
||||||
])
|
])
|
||||||
|
@ -23,7 +23,7 @@ let
|
|||||||
doCheck = false;
|
doCheck = false;
|
||||||
});
|
});
|
||||||
# version 3.3.0+ does not support SQLAlchemy 1.3
|
# version 3.3.0+ does not support SQLAlchemy 1.3
|
||||||
factory_boy = super.factory_boy.overridePythonAttrs (oldAttrs: rec {
|
factory-boy = super.factory-boy.overridePythonAttrs (oldAttrs: rec {
|
||||||
version = "3.2.1";
|
version = "3.2.1";
|
||||||
src = oldAttrs.src.override {
|
src = oldAttrs.src.override {
|
||||||
inherit version;
|
inherit version;
|
||||||
|
@ -242,7 +242,7 @@ python.pkgs.buildPythonApplication rec {
|
|||||||
|
|
||||||
nativeCheckInputs = with python.pkgs; [
|
nativeCheckInputs = with python.pkgs; [
|
||||||
daphne
|
daphne
|
||||||
factory_boy
|
factory-boy
|
||||||
imagehash
|
imagehash
|
||||||
pdfminer-six
|
pdfminer-six
|
||||||
pytest-django
|
pytest-django
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
, alembic
|
, alembic
|
||||||
, pystache
|
, pystache
|
||||||
, pytest
|
, pytest
|
||||||
, factory_boy
|
, factory-boy
|
||||||
, python
|
, python
|
||||||
, unzip
|
, unzip
|
||||||
}:
|
}:
|
||||||
@ -54,7 +54,7 @@ buildPythonPackage rec {
|
|||||||
# pytest tests fail
|
# pytest tests fail
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
pytest
|
pytest
|
||||||
factory_boy
|
factory-boy
|
||||||
];
|
];
|
||||||
|
|
||||||
dontUseSetuptoolsCheck = true;
|
dontUseSetuptoolsCheck = true;
|
||||||
|
@ -61,7 +61,7 @@
|
|||||||
, pytest-cov
|
, pytest-cov
|
||||||
, pytest-mock
|
, pytest-mock
|
||||||
, pytest-asyncio
|
, pytest-asyncio
|
||||||
, factory_boy
|
, factory-boy
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
pname = "argilla";
|
pname = "argilla";
|
||||||
@ -166,7 +166,7 @@ buildPythonPackage {
|
|||||||
pytest-cov
|
pytest-cov
|
||||||
pytest-mock
|
pytest-mock
|
||||||
pytest-asyncio
|
pytest-asyncio
|
||||||
factory_boy
|
factory-boy
|
||||||
]
|
]
|
||||||
++ optional-dependencies.server
|
++ optional-dependencies.server
|
||||||
++ optional-dependencies.postgresql
|
++ optional-dependencies.postgresql
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchpatch
|
, fetchpatch
|
||||||
, django
|
, django
|
||||||
, factory_boy
|
, factory-boy
|
||||||
, mock
|
, mock
|
||||||
, pip
|
, pip
|
||||||
, pygments
|
, pygments
|
||||||
@ -45,7 +45,7 @@ buildPythonPackage rec {
|
|||||||
__darwinAllowLocalNetworking = true;
|
__darwinAllowLocalNetworking = true;
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
factory_boy
|
factory-boy
|
||||||
mock
|
mock
|
||||||
pip
|
pip
|
||||||
pygments # not explicitly declared in setup.py, but some tests require it
|
pygments # not explicitly declared in setup.py, but some tests require it
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
, autopep8
|
, autopep8
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, django
|
, django
|
||||||
, factory_boy
|
, factory-boy
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchpatch
|
, fetchpatch
|
||||||
, freezegun
|
, freezegun
|
||||||
@ -73,7 +73,7 @@ buildPythonPackage rec {
|
|||||||
freezegun
|
freezegun
|
||||||
networkx
|
networkx
|
||||||
pydot
|
pydot
|
||||||
factory_boy
|
factory-boy
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
, eth-hash
|
, eth-hash
|
||||||
, eth-typing
|
, eth-typing
|
||||||
, eth-utils
|
, eth-utils
|
||||||
, factory_boy
|
, factory-boy
|
||||||
, hypothesis
|
, hypothesis
|
||||||
, isPyPy
|
, isPyPy
|
||||||
, pyasn1
|
, pyasn1
|
||||||
@ -33,7 +33,7 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
asn1tools
|
asn1tools
|
||||||
factory_boy
|
factory-boy
|
||||||
hypothesis
|
hypothesis
|
||||||
pyasn1
|
pyasn1
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, factory_boy
|
, factory-boy
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, httpretty
|
, httpretty
|
||||||
, inflection
|
, inflection
|
||||||
@ -42,7 +42,7 @@ buildPythonPackage rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
factory_boy
|
factory-boy
|
||||||
httpretty
|
httpretty
|
||||||
jsondate
|
jsondate
|
||||||
mock
|
mock
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, django
|
, django
|
||||||
, factory_boy
|
, factory-boy
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pylint-plugin-utils
|
, pylint-plugin-utils
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
@ -28,7 +28,7 @@ buildPythonPackage rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
factory_boy
|
factory-boy
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
# propagated
|
# propagated
|
||||||
, inflection
|
, inflection
|
||||||
, factory_boy
|
, factory-boy
|
||||||
, typing-extensions
|
, typing-extensions
|
||||||
|
|
||||||
# tests
|
# tests
|
||||||
@ -38,7 +38,7 @@ buildPythonPackage rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
factory_boy
|
factory-boy
|
||||||
inflection
|
inflection
|
||||||
typing-extensions
|
typing-extensions
|
||||||
];
|
];
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, factory_boy
|
, factory-boy
|
||||||
, faker
|
, faker
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, importlib-metadata
|
, importlib-metadata
|
||||||
@ -34,7 +34,7 @@ buildPythonPackage rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
factory_boy
|
factory-boy
|
||||||
faker
|
faker
|
||||||
numpy
|
numpy
|
||||||
pytest-xdist
|
pytest-xdist
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, factory_boy
|
, factory-boy
|
||||||
, faker
|
, faker
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, httpretty
|
, httpretty
|
||||||
@ -49,7 +49,7 @@ buildPythonPackage rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
factory_boy
|
factory-boy
|
||||||
faker
|
faker
|
||||||
httpretty
|
httpretty
|
||||||
jsondate
|
jsondate
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, factory_boy
|
, factory-boy
|
||||||
, faker
|
, faker
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
@ -28,7 +28,7 @@ buildPythonPackage rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
factory_boy
|
factory-boy
|
||||||
faker
|
faker
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, click
|
, click
|
||||||
, click-completion
|
, click-completion
|
||||||
, factory_boy
|
, factory-boy
|
||||||
, faker
|
, faker
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, inquirer
|
, inquirer
|
||||||
@ -52,7 +52,7 @@ buildPythonPackage rec {
|
|||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
pytest-mock
|
pytest-mock
|
||||||
faker
|
faker
|
||||||
factory_boy
|
factory-boy
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ buildPythonPackage
|
{ buildPythonPackage
|
||||||
, callPackage
|
, callPackage
|
||||||
, factory_boy
|
, factory-boy
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, lib
|
, lib
|
||||||
, wagtail
|
, wagtail
|
||||||
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
factory_boy
|
factory-boy
|
||||||
wagtail
|
wagtail
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -126,6 +126,7 @@ mapAliases ({
|
|||||||
Fabric = fabric; # addedd 2023-02-19
|
Fabric = fabric; # addedd 2023-02-19
|
||||||
face_recognition = face-recognition; # added 2022-10-15
|
face_recognition = face-recognition; # added 2022-10-15
|
||||||
face_recognition_models = face-recognition-models; # added 2022-10-15
|
face_recognition_models = face-recognition-models; # added 2022-10-15
|
||||||
|
factory_boy = factory-boy; # added 2023-10-08
|
||||||
fake_factory = throw "fake_factory has been removed because it is unused and deprecated by upstream since 2016."; # added 2022-05-30
|
fake_factory = throw "fake_factory has been removed because it is unused and deprecated by upstream since 2016."; # added 2022-05-30
|
||||||
faulthandler = throw "faulthandler is built into ${python.executable}"; # added 2021-07-12
|
faulthandler = throw "faulthandler is built into ${python.executable}"; # added 2021-07-12
|
||||||
inherit (super.pkgs) fetchPypi; # added 2023-05-25
|
inherit (super.pkgs) fetchPypi; # added 2023-05-25
|
||||||
|
@ -3716,7 +3716,7 @@ self: super: with self; {
|
|||||||
|
|
||||||
face-recognition-models = callPackage ../development/python-modules/face-recognition/models.nix { };
|
face-recognition-models = callPackage ../development/python-modules/face-recognition/models.nix { };
|
||||||
|
|
||||||
factory_boy = callPackage ../development/python-modules/factory_boy { };
|
factory-boy = callPackage ../development/python-modules/factory-boy { };
|
||||||
|
|
||||||
fairscale = callPackage ../development/python-modules/fairscale { };
|
fairscale = callPackage ../development/python-modules/fairscale { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user