==> Building on glalie ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/python-factory-boy ./ .SRCINFO 1,169 100% 0.00kB/s 0:00:00 1,169 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=2/4) PKGBUILD 1,834 100% 1.75MB/s 0:00:00 1,834 100% 1.75MB/s 0:00:00 (xfr#2, to-chk=1/4) python-factory-boy-3.3.0-2.log 371 100% 362.30kB/s 0:00:00 371 100% 362.30kB/s 0:00:00 (xfr#3, to-chk=0/4) sent 1,949 bytes received 126 bytes 4,150.00 bytes/sec total size is 3,196 speedup is 1.54 ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l root53 on remote host... ==> Locking clean chroot...done [?25l:: Synchronizing package databases... core downloading... extra downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [root53]...done ==> Making package: python-factory-boy 3.3.0-2 (Mon Jun 3 03:08:16 2024) ==> Retrieving sources...  -> Downloading python-factory-boy-3.3.0.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 145k 0 145k 0 0 89458 0 --:--:-- 0:00:01 --:--:-- 485k  -> Downloading f0859075b048b85c8ed44c051f18070cbd20d03d.patch... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1384 100 1384 0 0 2092 0 --:--:-- --:--:-- --:--:-- 2093 ==> Validating source files with sha512sums... python-factory-boy-3.3.0.tar.gz ... Passed f0859075b048b85c8ed44c051f18070cbd20d03d.patch ... Passed ==> Making package: python-factory-boy 3.3.0-2 (Mon Jun 3 03:08:46 2024) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (6) New Version Net Change core/expat 2.6.2-1 0.38 MiB extra/mpdecimal 4.0.0-2 0.29 MiB core/python 3.12.3-1 105.93 MiB extra/python-dateutil 2.9.0-5 0.99 MiB extra/python-six 1.16.0-9 0.11 MiB extra/python-faker 25.0.1-1 18.33 MiB Total Installed Size: 126.04 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing expat... installing mpdecimal... installing python... Optional dependencies for python python-setuptools: for building Python packages using tooling that is usually bundled with Python python-pip: for installing Python packages using tooling that is usually bundled with Python python-pipx: for installing Python software not packaged on Arch Linux sqlite: for a default database integration [installed] xz: for lzma [installed] tk: for tkinter installing python-six... installing python-dateutil... installing python-faker... Optional dependencies for python-faker python-xmltodict: for xml provider [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (58) New Version Net Change Download Size extra/python-anyjson 0.3.3-19 0.02 MiB extra/python-arrow 1.3.0-3 0.75 MiB extra/python-asgiref 3.7.2-2 0.21 MiB extra/python-autocommand 2.2.2-6 0.08 MiB extra/python-babel 2.14.0-2 34.47 MiB extra/python-blinker 1.7.0-2 0.11 MiB extra/python-cffi 1.16.0-2 1.32 MiB extra/python-click 8.1.7-3 1.18 MiB extra/python-colour 0.1.5-13 0.11 MiB extra/python-cryptography 42.0.6-1 4.51 MiB extra/python-fastjsonschema 2.19.1-3 0.26 MiB extra/python-furl 2.1.3-5 0.25 MiB extra/python-greenlet 3.0.3-2 0.41 MiB extra/python-infinity 1.5-7 0.02 MiB extra/python-inflect 7.2.1-2 0.36 MiB extra/python-iniconfig 2.0.0-5 0.04 MiB extra/python-intervals 0.9.2-5 0.10 MiB extra/python-itsdangerous 2.1.2-4 0.13 MiB extra/python-jaraco.context 4.3.0-4 0.03 MiB extra/python-jaraco.functools 4.0.1-1 0.07 MiB extra/python-jaraco.text 3.12.0-3 0.08 MiB extra/python-jinja 1:3.1.4-1 1.74 MiB extra/python-markupsafe 2.1.5-2 0.07 MiB extra/python-more-itertools 10.2.0-2 0.61 MiB extra/python-ordered-set 4.1.0-5 0.06 MiB extra/python-orderedmultidict 1.0.1-11 0.14 MiB extra/python-packaging 24.0-1 0.50 MiB extra/python-passlib 1.7.4-7 5.22 MiB extra/python-pendulum 3.0.0-2 1.62 MiB extra/python-phonenumbers 8.13.37-1 62.29 MiB extra/python-platformdirs 4.2.0-3 0.23 MiB extra/python-pluggy 1.5.0-1 0.20 MiB extra/python-pycparser 2.22-2 1.71 MiB extra/python-pymongo 4.6.1-2 4.68 MiB 0.66 MiB extra/python-pyproject-hooks 1.1.0-1 0.10 MiB extra/python-pytz 2024.1-2 0.16 MiB extra/python-sentinels 1.0.0-11 0.01 MiB 0.01 MiB extra/python-sqlparse 0.4.4-2 0.48 MiB extra/python-time-machine 2.14.1-2 0.09 MiB extra/python-tomli 2.0.1-4 0.10 MiB extra/python-trove-classifiers 2024.5.22-1 0.12 MiB extra/python-typeguard 4.2.1-2 0.40 MiB extra/python-typing_extensions 4.12.0-1 0.41 MiB extra/python-tzdata 2024.1-2 0.56 MiB extra/python-validate-pyproject 0.16-1 0.31 MiB extra/python-werkzeug 3.0.1-1 2.37 MiB extra/python-build 1.2.1-3 0.19 MiB extra/python-django 4.2.11-2 33.54 MiB extra/python-flask 2.3.3-2 0.99 MiB extra/python-flask-sqlalchemy 3.0.5-1 0.36 MiB 0.09 MiB extra/python-installer 0.7.0-8 0.18 MiB extra/python-mongoengine 0.28.2-1 1.31 MiB 0.22 MiB extra/python-mongomock 4.0.0-5 0.73 MiB 0.14 MiB extra/python-pytest 1:8.2.1-1 3.91 MiB extra/python-setuptools 1:69.0.3-6 4.39 MiB extra/python-sqlalchemy 1.4.52-4 19.81 MiB extra/python-sqlalchemy-utils 0.38.3-4 0.99 MiB extra/python-wheel 0.43.0-4 0.25 MiB Total Download Size: 1.12 MiB Total Installed Size: 195.33 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... python-pymongo-4.6.1-2-riscv64 downloading... python-mongoengine-0.28.2-1-any downloading... python-mongomock-4.0.0-5-any downloading... python-flask-sqlalchemy-3.0.5-1-any downloading... python-sentinels-1.0.0-11-any downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing python-packaging... installing python-pyproject-hooks... installing python-build... Optional dependencies for python-build python-pip: to use as the Python package installer (default) python-uv: to use as the Python package installer python-virtualenv: to use virtualenv for build isolation installing python-installer... installing python-more-itertools... installing python-jaraco.functools... installing python-jaraco.context... installing python-autocommand... installing python-typing_extensions... installing python-typeguard... installing python-inflect... installing python-jaraco.text... installing python-ordered-set... installing python-platformdirs... installing python-tomli... installing python-fastjsonschema... installing python-trove-classifiers... installing python-validate-pyproject... installing python-setuptools... installing python-wheel... Optional dependencies for python-wheel python-keyring: for wheel.signatures python-xdg: for wheel.signatures installing python-iniconfig... installing python-pluggy... installing python-pytest... installing python-markupsafe... installing python-werkzeug... installing python-jinja... Optional dependencies for python-jinja python-babel: for i18n support [pending] installing python-itsdangerous... installing python-click... installing python-blinker... installing python-flask... Optional dependencies for python-flask python-asgiref: async functions and views [pending] python-dotenv: loading env vars from files installing python-pytz... installing python-sqlparse... installing python-asgiref... installing python-django... Optional dependencies for python-django python-psycopg2: for PostgreSQL backend python-argon2_cffi: for Argon2 password hashing support installing python-greenlet... installing python-sqlalchemy... Optional dependencies for python-sqlalchemy python-psycopg2: connect to PostgreSQL database installing python-anyjson... installing python-babel... installing python-arrow... installing python-infinity... installing python-intervals... installing python-phonenumbers... installing python-passlib... Optional dependencies for python-passlib python-fastpbkdf2: accelerate PBKDF2-based hashes python-bcrypt: accelerate Bcrypt hashes python-scrypt: accelerate SCrypt hashes installing python-colour... installing python-orderedmultidict... installing python-furl... installing python-pycparser... installing python-cffi... Optional dependencies for python-cffi python-setuptools: "limited api" version checking in cffi.setuptools_ext [installed] installing python-cryptography... installing python-tzdata... installing python-time-machine... Optional dependencies for python-time-machine python-pytest: for pytest plugin [installed] installing python-pendulum... installing python-sqlalchemy-utils... installing python-flask-sqlalchemy... installing python-pymongo... Optional dependencies for python-pymongo python-pyopenssl: for [ocsp] python-requests: for [ocsp] python-service-identity: for [ocsp] python-snappy: for [snappy] python-zstandard: for [zstd] python-dnspython: for [srv] installing python-mongoengine... Optional dependencies for python-mongoengine python-dateutil: for DateTimeField [installed] python-pillow: for ImageField / ImageGridFsProxy installing python-sentinels... installing python-mongomock... [?25h==> Retrieving sources...  -> Found python-factory-boy-3.3.0.tar.gz  -> Found f0859075b048b85c8ed44c051f18070cbd20d03d.patch ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting python-factory-boy-3.3.0.tar.gz with bsdtar ==> Starting prepare()... patching file tests/test_version.py ==> Starting build()... * Getting build dependencies for wheel... 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' * Building wheel... running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/factory copying factory/errors.py -> build/lib/factory copying factory/alchemy.py -> build/lib/factory copying factory/utils.py -> build/lib/factory copying factory/__init__.py -> build/lib/factory copying factory/enums.py -> build/lib/factory copying factory/django.py -> build/lib/factory copying factory/mogo.py -> build/lib/factory copying factory/random.py -> build/lib/factory copying factory/base.py -> build/lib/factory copying factory/declarations.py -> build/lib/factory copying factory/faker.py -> build/lib/factory copying factory/builder.py -> build/lib/factory copying factory/mongoengine.py -> build/lib/factory copying factory/helpers.py -> build/lib/factory copying factory/fuzzy.py -> build/lib/factory installing to build/bdist.linux-riscv64/wheel running install running install_lib creating build/bdist.linux-riscv64 creating build/bdist.linux-riscv64/wheel creating build/bdist.linux-riscv64/wheel/factory copying build/lib/factory/errors.py -> build/bdist.linux-riscv64/wheel/factory copying build/lib/factory/alchemy.py -> build/bdist.linux-riscv64/wheel/factory copying build/lib/factory/utils.py -> build/bdist.linux-riscv64/wheel/factory copying build/lib/factory/__init__.py -> build/bdist.linux-riscv64/wheel/factory copying build/lib/factory/enums.py -> build/bdist.linux-riscv64/wheel/factory copying build/lib/factory/django.py -> build/bdist.linux-riscv64/wheel/factory copying build/lib/factory/mogo.py -> build/bdist.linux-riscv64/wheel/factory copying build/lib/factory/random.py -> build/bdist.linux-riscv64/wheel/factory copying build/lib/factory/base.py -> build/bdist.linux-riscv64/wheel/factory copying build/lib/factory/declarations.py -> build/bdist.linux-riscv64/wheel/factory copying build/lib/factory/faker.py -> build/bdist.linux-riscv64/wheel/factory copying build/lib/factory/builder.py -> build/bdist.linux-riscv64/wheel/factory copying build/lib/factory/mongoengine.py -> build/bdist.linux-riscv64/wheel/factory copying build/lib/factory/helpers.py -> build/bdist.linux-riscv64/wheel/factory copying build/lib/factory/fuzzy.py -> build/bdist.linux-riscv64/wheel/factory running install_egg_info running 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 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' Copying factory_boy.egg-info to build/bdist.linux-riscv64/wheel/factory_boy-3.3.0-py3.12.egg-info running install_scripts creating build/bdist.linux-riscv64/wheel/factory_boy-3.3.0.dist-info/WHEEL creating '/build/python-factory-boy/src/factory_boy-3.3.0/dist/.tmp-jlb7e6gl/factory_boy-3.3.0-py2.py3-none-any.whl' and adding 'build/bdist.linux-riscv64/wheel' to it adding 'factory/__init__.py' adding 'factory/alchemy.py' adding 'factory/base.py' adding 'factory/builder.py' adding 'factory/declarations.py' adding 'factory/django.py' adding 'factory/enums.py' adding 'factory/errors.py' adding 'factory/faker.py' adding 'factory/fuzzy.py' adding 'factory/helpers.py' adding 'factory/mogo.py' adding 'factory/mongoengine.py' adding 'factory/random.py' adding 'factory/utils.py' adding 'factory_boy-3.3.0.dist-info/LICENSE' adding 'factory_boy-3.3.0.dist-info/METADATA' adding 'factory_boy-3.3.0.dist-info/WHEEL' adding 'factory_boy-3.3.0.dist-info/top_level.txt' adding 'factory_boy-3.3.0.dist-info/RECORD' removing build/bdist.linux-riscv64/wheel Successfully built factory_boy-3.3.0-py2.py3-none-any.whl ==> Starting check()... ============================= test session starts ============================== platform linux -- Python 3.12.3, pytest-8.2.1, pluggy-1.5.0 rootdir: /build/python-factory-boy/src/factory_boy-3.3.0 plugins: Faker-25.0.1, time-machine-2.14.1, typeguard-4.2.1 collected 438 items examples/flask_alchemy/test_demoapp.py .. [ 0%] tests/test_alchemy.py ......................... [ 6%] tests/test_base.py .................................... [ 14%] tests/test_declarations.py ............................... [ 21%] tests/test_dev_experience.py .. [ 21%] tests/test_django.py ................................................... [ 33%] sssssssssssssss................ [ 40%] tests/test_docs_internals.py . [ 40%] tests/test_faker.py ..... [ 42%] tests/test_fuzzy.py .................................................... [ 53%] .......... [ 56%] tests/test_helpers.py ... [ 56%] tests/test_mongoengine.py EE [ 57%] tests/test_regression.py . [ 57%] tests/test_transformer.py ................. [ 61%] tests/test_using.py .................................................... [ 73%] ........................................................................ [ 89%] ......................... [ 95%] tests/test_utils.py ................... [ 99%] tests/test_version.py . [100%] ==================================== ERRORS ==================================== _______________ ERROR at setup of MongoEngineTestCase.test_build _______________ cls = @classmethod def setUpClass(cls): from pymongo import read_preferences as mongo_rp > cls.db = mongoengine.connect( db=cls.db_name, host=cls.db_host, port=cls.db_port, # PyMongo>=2.1 requires an explicit read_preference. read_preference=mongo_rp.ReadPreference.PRIMARY, # PyMongo>=2.1 has a 20s timeout, use 100ms instead serverselectiontimeoutms=cls.server_timeout_ms, is_mock=True, uuidRepresentation='standard', ) tests/test_mongoengine.py:51: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/mongoengine/connection.py:465: in connect register_connection(alias, db, **kwargs) /usr/lib/python3.12/site-packages/mongoengine/connection.py:249: in register_connection conn_settings = _get_connection_settings( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ db = 'factory_boy_test', name = None, host = 'localhost', port = 27017 read_preference = Primary(), username = None, password = None authentication_source = None, authentication_mechanism = None authmechanismproperties = None kwargs = {'is_mock': True, 'serverselectiontimeoutms': 300, 'uuidRepresentation': 'standard'} conn_settings = {'authentication_mechanism': None, 'authentication_source': None, 'authmechanismproperties': None, 'host': 'localhost', ...} conn_host = ['localhost'], resolved_hosts = [], entity = 'localhost' def _get_connection_settings( db=None, name=None, host=None, port=None, read_preference=READ_PREFERENCE, username=None, password=None, authentication_source=None, authentication_mechanism=None, authmechanismproperties=None, **kwargs, ): """Get the connection settings as a dict :param db: the name of the database to use, for compatibility with connect :param name: the name of the specific database to use :param host: the host name of the: program: `mongod` instance to connect to :param port: the port that the: program: `mongod` instance is running on :param read_preference: The read preference for the collection :param username: username to authenticate with :param password: password to authenticate with :param authentication_source: database to authenticate against :param authentication_mechanism: database authentication mechanisms. By default, use SCRAM-SHA-1 with MongoDB 3.0 and later, MONGODB-CR (MongoDB Challenge Response protocol) for older servers. :param mongo_client_class: using alternative connection client other than pymongo.MongoClient, e.g. mongomock, montydb, that provides pymongo alike interface but not necessarily for connecting to a real mongo instance. :param kwargs: ad-hoc parameters to be passed into the pymongo driver, for example maxpoolsize, tz_aware, etc. See the documentation for pymongo's `MongoClient` for a full list. """ conn_settings = { "name": name or db or DEFAULT_DATABASE_NAME, "host": host or DEFAULT_HOST, "port": port or DEFAULT_PORT, "read_preference": read_preference, "username": username, "password": password, "authentication_source": authentication_source, "authentication_mechanism": authentication_mechanism, "authmechanismproperties": authmechanismproperties, } _check_db_name(conn_settings["name"]) conn_host = conn_settings["host"] # Host can be a list or a string, so if string, force to a list. if isinstance(conn_host, str): conn_host = [conn_host] resolved_hosts = [] for entity in conn_host: # Reject old mongomock integration # To be removed in a few versions after 0.27.0 if entity.startswith("mongomock://") or kwargs.get("is_mock"): > raise Exception( "Use of mongomock:// URI or 'is_mock' were removed in favor of 'mongo_client_class=mongomock.MongoClient'. " "Check the CHANGELOG for more info" ) E Exception: Use of mongomock:// URI or 'is_mock' were removed in favor of 'mongo_client_class=mongomock.MongoClient'. Check the CHANGELOG for more info /usr/lib/python3.12/site-packages/mongoengine/connection.py:116: Exception _____________ ERROR at setup of MongoEngineTestCase.test_creation ______________ cls = @classmethod def setUpClass(cls): from pymongo import read_preferences as mongo_rp > cls.db = mongoengine.connect( db=cls.db_name, host=cls.db_host, port=cls.db_port, # PyMongo>=2.1 requires an explicit read_preference. read_preference=mongo_rp.ReadPreference.PRIMARY, # PyMongo>=2.1 has a 20s timeout, use 100ms instead serverselectiontimeoutms=cls.server_timeout_ms, is_mock=True, uuidRepresentation='standard', ) tests/test_mongoengine.py:51: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/mongoengine/connection.py:465: in connect register_connection(alias, db, **kwargs) /usr/lib/python3.12/site-packages/mongoengine/connection.py:249: in register_connection conn_settings = _get_connection_settings( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ db = 'factory_boy_test', name = None, host = 'localhost', port = 27017 read_preference = Primary(), username = None, password = None authentication_source = None, authentication_mechanism = None authmechanismproperties = None kwargs = {'is_mock': True, 'serverselectiontimeoutms': 300, 'uuidRepresentation': 'standard'} conn_settings = {'authentication_mechanism': None, 'authentication_source': None, 'authmechanismproperties': None, 'host': 'localhost', ...} conn_host = ['localhost'], resolved_hosts = [], entity = 'localhost' def _get_connection_settings( db=None, name=None, host=None, port=None, read_preference=READ_PREFERENCE, username=None, password=None, authentication_source=None, authentication_mechanism=None, authmechanismproperties=None, **kwargs, ): """Get the connection settings as a dict :param db: the name of the database to use, for compatibility with connect :param name: the name of the specific database to use :param host: the host name of the: program: `mongod` instance to connect to :param port: the port that the: program: `mongod` instance is running on :param read_preference: The read preference for the collection :param username: username to authenticate with :param password: password to authenticate with :param authentication_source: database to authenticate against :param authentication_mechanism: database authentication mechanisms. By default, use SCRAM-SHA-1 with MongoDB 3.0 and later, MONGODB-CR (MongoDB Challenge Response protocol) for older servers. :param mongo_client_class: using alternative connection client other than pymongo.MongoClient, e.g. mongomock, montydb, that provides pymongo alike interface but not necessarily for connecting to a real mongo instance. :param kwargs: ad-hoc parameters to be passed into the pymongo driver, for example maxpoolsize, tz_aware, etc. See the documentation for pymongo's `MongoClient` for a full list. """ conn_settings = { "name": name or db or DEFAULT_DATABASE_NAME, "host": host or DEFAULT_HOST, "port": port or DEFAULT_PORT, "read_preference": read_preference, "username": username, "password": password, "authentication_source": authentication_source, "authentication_mechanism": authentication_mechanism, "authmechanismproperties": authmechanismproperties, } _check_db_name(conn_settings["name"]) conn_host = conn_settings["host"] # Host can be a list or a string, so if string, force to a list. if isinstance(conn_host, str): conn_host = [conn_host] resolved_hosts = [] for entity in conn_host: # Reject old mongomock integration # To be removed in a few versions after 0.27.0 if entity.startswith("mongomock://") or kwargs.get("is_mock"): > raise Exception( "Use of mongomock:// URI or 'is_mock' were removed in favor of 'mongo_client_class=mongomock.MongoClient'. " "Check the CHANGELOG for more info" ) E Exception: Use of mongomock:// URI or 'is_mock' were removed in favor of 'mongo_client_class=mongomock.MongoClient'. Check the CHANGELOG for more info /usr/lib/python3.12/site-packages/mongoengine/connection.py:116: Exception =============================== warnings summary =============================== ../../../../usr/lib/python3.12/site-packages/passlib/utils/__init__.py:854 /usr/lib/python3.12/site-packages/passlib/utils/__init__.py:854: DeprecationWarning: 'crypt' is deprecated and slated for removal in Python 3.13 from crypt import crypt as _crypt tests/test_base.py:8 /build/python-factory-boy/src/factory_boy-3.3.0/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.3.0/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_transformer.py:86 /build/python-factory-boy/src/factory_boy-3.3.0/tests/test_transformer.py:86: PytestCollectionWarning: cannot collect test class 'TestObject' because it has a __init__ constructor (from: tests/test_transformer.py) class TestObject: tests/test_using.py:24 /build/python-factory-boy/src/factory_boy-3.3.0/tests/test_using.py:24: PytestCollectionWarning: cannot collect test class 'TestObject' because it has a __init__ constructor (from: tests/test_using.py) class TestObject: tests/test_using.py:107 /build/python-factory-boy/src/factory_boy-3.3.0/tests/test_using.py:107: PytestCollectionWarning: cannot collect test class 'TestModel' because it has a __init__ constructor (from: tests/test_using.py) class TestModel(FakeModel): examples/flask_alchemy/test_demoapp.py::DemoAppTestCase::test_userlog_factory /build/python-factory-boy/src/factory_boy-3.3.0/examples/flask_alchemy/demoapp.py:33: RemovedIn20Warning: Deprecated API features detected! These feature(s) are not compatible with SQLAlchemy 2.0. To prevent incompatible upgrades prior to updating applications, ensure requirements files are pinned to "sqlalchemy<2.0". Set environment variable SQLALCHEMY_WARN_20=1 to show all deprecation warnings. Set environment variable SQLALCHEMY_SILENCE_UBER_WARNING=1 to silence this message. (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9) self.user = user -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ ERROR tests/test_mongoengine.py::MongoEngineTestCase::test_build - Exception:... ERROR tests/test_mongoengine.py::MongoEngineTestCase::test_creation - Excepti... ============ 421 passed, 15 skipped, 7 warnings, 2 errors in 38.87s ============ ==> ERROR: A failure occurred in check().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/root53/build [?25h[?25hreceiving incremental file list python-factory-boy-3.3.0-2-riscv64-build.log python-factory-boy-3.3.0-2-riscv64-check.log python-factory-boy-3.3.0-2-riscv64-prepare.log sent 81 bytes received 4,016 bytes 2,731.33 bytes/sec total size is 19,700 speedup is 4.81