running pytest /usr/lib/python3.10/site-packages/setuptools/command/easy_install.py:156: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( /usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( Searching for Faker>=0.7.0 Reading https://pypi.org/simple/Faker/ /usr/lib/python3.10/site-packages/pkg_resources/__init__.py:116: PkgResourcesDeprecationWarning: is an invalid version and will not be supported in a future release warnings.warn( Downloading https://files.pythonhosted.org/packages/33/58/02649e1b42ef4188c4a5aaec2d2ea424f50576f481646f0685e27021deb1/Faker-11.3.0-py3-none-any.whl#sha256=61f97034cea252b8426d81810afab2f3c27b584f2b4313400a0cc83a9b013ded Best match: Faker 11.3.0 Processing Faker-11.3.0-py3-none-any.whl Installing Faker-11.3.0-py3-none-any.whl to /build/python-factory-boy/src/factory_boy-3.2.1/.eggs Installed /build/python-factory-boy/src/factory_boy-3.2.1/.eggs/Faker-11.3.0-py3.10.egg running egg_info creating factory_boy.egg-info writing factory_boy.egg-info/PKG-INFO writing dependency_links to factory_boy.egg-info/dependency_links.txt writing requirements to factory_boy.egg-info/requires.txt writing top-level names to factory_boy.egg-info/top_level.txt writing manifest file 'factory_boy.egg-info/SOURCES.txt' reading manifest file 'factory_boy.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching 'readthedocs.yml' warning: no previously-included files matching '*.py[cod]' found anywhere in distribution warning: no previously-included files matching '__pycache__' found anywhere in distribution warning: no previously-included files matching '.*.sw[po]' found anywhere in distribution no previously-included directories found matching '.github' no previously-included directories found matching 'docs/_build' adding license file 'LICENSE' writing manifest file 'factory_boy.egg-info/SOURCES.txt' running build_ext ============================= test session starts ============================== platform linux -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-0.13.1 rootdir: /build/python-factory-boy/src/factory_boy-3.2.1 plugins: Faker-11.3.0 collected 408 items / 1 error / 407 selected ==================================== ERRORS ==================================== ___________ ERROR collecting examples/flask_alchemy/test_demoapp.py ____________ ImportError while importing test module '/build/python-factory-boy/src/factory_boy-3.2.1/examples/flask_alchemy/test_demoapp.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) examples/flask_alchemy/test_demoapp.py:3: in import demoapp examples/flask_alchemy/demoapp.py:4: in from flask_sqlalchemy import SQLAlchemy E ModuleNotFoundError: No module named 'flask_sqlalchemy' =============================== warnings summary =============================== tests/test_base.py:8 /build/python-factory-boy/src/factory_boy-3.2.1/tests/test_base.py:8: PytestCollectionWarning: cannot collect test class 'TestObject' because it has a __init__ constructor (from: tests/test_base.py) class TestObject: tests/test_base.py:38 /build/python-factory-boy/src/factory_boy-3.2.1/tests/test_base.py:38: PytestCollectionWarning: cannot collect test class 'TestModel' because it has a __init__ constructor (from: tests/test_base.py) class TestModel(FakeDjangoModel): tests/test_using.py:18 /build/python-factory-boy/src/factory_boy-3.2.1/tests/test_using.py:18: PytestCollectionWarning: cannot collect test class 'TestObject' because it has a __init__ constructor (from: tests/test_using.py) class TestObject: tests/test_using.py:101 /build/python-factory-boy/src/factory_boy-3.2.1/tests/test_using.py:101: PytestCollectionWarning: cannot collect test class 'TestModel' because it has a __init__ constructor (from: tests/test_using.py) class TestModel(FakeModel): -- Docs: https://docs.pytest.org/en/stable/warnings.html =========================== short test summary info ============================ ERROR examples/flask_alchemy/test_demoapp.py !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!! ======================== 4 warnings, 1 error in 14.20s ========================= ==> ERROR: A failure occurred in check().  Aborting...