--- Begin Message ---
Source: ormar
Version: 0.12.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20221220 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules binary
> dh binary --buildsystem=pybuild
> dh_update_autotools_config -O--buildsystem=pybuild
> dh_autoreconf -O--buildsystem=pybuild
> dh_auto_configure -O--buildsystem=pybuild
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild plugin_pyproject:107: Building wheel for python3.11 with "build"
> module
> I: pybuild base:240: python3.11 -m build --skip-dependency-check
> --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ormar
> * Building wheel...
> Successfully built ormar-0.12.0-py3-none-any.whl
> I: pybuild plugin_pyproject:118: Unpacking wheel built for python3.11 with
> "installer" module
> I: pybuild plugin_pyproject:107: Building wheel for python3.10 with "build"
> module
> I: pybuild base:240: python3.10 -m build --skip-dependency-check
> --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ormar
> * Building wheel...
> Successfully built ormar-0.12.0-py3-none-any.whl
> I: pybuild plugin_pyproject:118: Unpacking wheel built for python3.10 with
> "installer" module
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ormar/build;
> python3.11 -m pytest --asyncio-mode=auto
> ============================= test session starts
> ==============================
> platform linux -- Python 3.11.1, pytest-7.2.0, pluggy-1.0.0+repack
> rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ormar/build
> plugins: anyio-3.6.2, tornasync-0.6.0.post2, asyncio-0.20.3
> asyncio: mode=Mode.AUTO
> collected 411 items / 19 errors
>
> ==================================== ERRORS
> ====================================
> _ ERROR collecting
> tests/test_exclude_include_dict/test_excluding_fields_in_fastapi.py _
> ImportError while importing test module
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ormar/build/tests/test_exclude_include_dict/test_excluding_fields_in_fastapi.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> tests/test_exclude_include_dict/test_excluding_fields_in_fastapi.py:10: in
> <module>
> from starlette.testclient import TestClient
> /usr/lib/python3/dist-packages/starlette/testclient.py:16: in <module>
> import httpx
> E ModuleNotFoundError: No module named 'httpx'
> __________ ERROR collecting tests/test_fastapi/test_binary_fields.py
> ___________
> ImportError while importing test module
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ormar/build/tests/test_fastapi/test_binary_fields.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> tests/test_fastapi/test_binary_fields.py:10: in <module>
> from starlette.testclient import TestClient
> /usr/lib/python3/dist-packages/starlette/testclient.py:16: in <module>
> import httpx
> E ModuleNotFoundError: No module named 'httpx'
> __________ ERROR collecting tests/test_fastapi/test_choices_schema.py
> __________
> ImportError while importing test module
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ormar/build/tests/test_fastapi/test_choices_schema.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> tests/test_fastapi/test_choices_schema.py:11: in <module>
> from starlette.testclient import TestClient
> /usr/lib/python3/dist-packages/starlette/testclient.py:16: in <module>
> import httpx
> E ModuleNotFoundError: No module named 'httpx'
> _ ERROR collecting
> tests/test_fastapi/test_docs_with_multiple_relations_to_one.py _
> ImportError while importing test module
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ormar/build/tests/test_fastapi/test_docs_with_multiple_relations_to_one.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> tests/test_fastapi/test_docs_with_multiple_relations_to_one.py:7: in <module>
> from starlette.testclient import TestClient
> /usr/lib/python3/dist-packages/starlette/testclient.py:16: in <module>
> import httpx
> E ModuleNotFoundError: No module named 'httpx'
> ____ ERROR collecting tests/test_fastapi/test_excludes_with_get_pydantic.py
> ____
> ImportError while importing test module
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ormar/build/tests/test_fastapi/test_excludes_with_get_pydantic.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> tests/test_fastapi/test_excludes_with_get_pydantic.py:4: in <module>
> from starlette.testclient import TestClient
> /usr/lib/python3/dist-packages/starlette/testclient.py:16: in <module>
> import httpx
> E ModuleNotFoundError: No module named 'httpx'
> _________ ERROR collecting tests/test_fastapi/test_excluding_fields.py
> _________
> ImportError while importing test module
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ormar/build/tests/test_fastapi/test_excluding_fields.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> tests/test_fastapi/test_excluding_fields.py:7: in <module>
> from starlette.testclient import TestClient
> /usr/lib/python3/dist-packages/starlette/testclient.py:16: in <module>
> import httpx
> E ModuleNotFoundError: No module named 'httpx'
> ______ ERROR collecting tests/test_fastapi/test_extra_ignore_parameter.py
> ______
> ImportError while importing test module
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ormar/build/tests/test_fastapi/test_extra_ignore_parameter.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> tests/test_fastapi/test_extra_ignore_parameter.py:7: in <module>
> from starlette.testclient import TestClient
> /usr/lib/python3/dist-packages/starlette/testclient.py:16: in <module>
> import httpx
> E ModuleNotFoundError: No module named 'httpx'
> ___________ ERROR collecting tests/test_fastapi/test_fastapi_docs.py
> ___________
> ImportError while importing test module
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ormar/build/tests/test_fastapi/test_fastapi_docs.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> tests/test_fastapi/test_fastapi_docs.py:9: in <module>
> from starlette.testclient import TestClient
> /usr/lib/python3/dist-packages/starlette/testclient.py:16: in <module>
> import httpx
> E ModuleNotFoundError: No module named 'httpx'
> __________ ERROR collecting tests/test_fastapi/test_fastapi_usage.py
> ___________
> ImportError while importing test module
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ormar/build/tests/test_fastapi/test_fastapi_usage.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> tests/test_fastapi/test_fastapi_usage.py:6: in <module>
> from starlette.testclient import TestClient
> /usr/lib/python3/dist-packages/starlette/testclient.py:16: in <module>
> import httpx
> E ModuleNotFoundError: No module named 'httpx'
> ___ ERROR collecting tests/test_fastapi/test_inheritance_concrete_fastapi.py
> ___
> ImportError while importing test module
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ormar/build/tests/test_fastapi/test_inheritance_concrete_fastapi.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> tests/test_fastapi/test_inheritance_concrete_fastapi.py:7: in <module>
> from starlette.testclient import TestClient
> /usr/lib/python3/dist-packages/starlette/testclient.py:16: in <module>
> import httpx
> E ModuleNotFoundError: No module named 'httpx'
> ____ ERROR collecting tests/test_fastapi/test_inheritance_mixins_fastapi.py
> ____
> ImportError while importing test module
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ormar/build/tests/test_fastapi/test_inheritance_mixins_fastapi.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> tests/test_fastapi/test_inheritance_mixins_fastapi.py:6: in <module>
> from starlette.testclient import TestClient
> /usr/lib/python3/dist-packages/starlette/testclient.py:16: in <module>
> import httpx
> E ModuleNotFoundError: No module named 'httpx'
> ________ ERROR collecting tests/test_fastapi/test_json_field_fastapi.py
> ________
> ImportError while importing test module
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ormar/build/tests/test_fastapi/test_json_field_fastapi.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> tests/test_fastapi/test_json_field_fastapi.py:10: in <module>
> from starlette.testclient import TestClient
> /usr/lib/python3/dist-packages/starlette/testclient.py:16: in <module>
> import httpx
> E ModuleNotFoundError: No module named 'httpx'
> __________ ERROR collecting tests/test_fastapi/test_m2m_forwardref.py
> __________
> ImportError while importing test module
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ormar/build/tests/test_fastapi/test_m2m_forwardref.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> tests/test_fastapi/test_m2m_forwardref.py:9: in <module>
> from starlette.testclient import TestClient
> /usr/lib/python3/dist-packages/starlette/testclient.py:16: in <module>
> import httpx
> E ModuleNotFoundError: No module named 'httpx'
> ______ ERROR collecting tests/test_fastapi/test_more_reallife_fastapi.py
> _______
> ImportError while importing test module
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ormar/build/tests/test_fastapi/test_more_reallife_fastapi.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> tests/test_fastapi/test_more_reallife_fastapi.py:8: in <module>
> from starlette.testclient import TestClient
> /usr/lib/python3/dist-packages/starlette/testclient.py:16: in <module>
> import httpx
> E ModuleNotFoundError: No module named 'httpx'
> __________ ERROR collecting tests/test_fastapi/test_nested_saving.py
> ___________
> ImportError while importing test module
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ormar/build/tests/test_fastapi/test_nested_saving.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> tests/test_fastapi/test_nested_saving.py:8: in <module>
> from starlette.testclient import TestClient
> /usr/lib/python3/dist-packages/starlette/testclient.py:16: in <module>
> import httpx
> E ModuleNotFoundError: No module named 'httpx'
> _________ ERROR collecting tests/test_fastapi/test_recursion_error.py
> __________
> ImportError while importing test module
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ormar/build/tests/test_fastapi/test_recursion_error.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> tests/test_fastapi/test_recursion_error.py:11: in <module>
> from starlette.testclient import TestClient
> /usr/lib/python3/dist-packages/starlette/testclient.py:16: in <module>
> import httpx
> E ModuleNotFoundError: No module named 'httpx'
> __ ERROR collecting tests/test_fastapi/test_relations_with_nested_defaults.py
> __
> ImportError while importing test module
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ormar/build/tests/test_fastapi/test_relations_with_nested_defaults.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> tests/test_fastapi/test_relations_with_nested_defaults.py:8: in <module>
> from starlette.testclient import TestClient
> /usr/lib/python3/dist-packages/starlette/testclient.py:16: in <module>
> import httpx
> E ModuleNotFoundError: No module named 'httpx'
> _______ ERROR collecting tests/test_fastapi/test_skip_reverse_models.py
> ________
> ImportError while importing test module
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ormar/build/tests/test_fastapi/test_skip_reverse_models.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> tests/test_fastapi/test_skip_reverse_models.py:8: in <module>
> from starlette.testclient import TestClient
> /usr/lib/python3/dist-packages/starlette/testclient.py:16: in <module>
> import httpx
> E ModuleNotFoundError: No module named 'httpx'
> _________ ERROR collecting tests/test_fastapi/test_wekref_exclusion.py
> _________
> ImportError while importing test module
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ormar/build/tests/test_fastapi/test_wekref_exclusion.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.11/importlib/__init__.py:126: in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> tests/test_fastapi/test_wekref_exclusion.py:9: in <module>
> from starlette.testclient import TestClient
> /usr/lib/python3/dist-packages/starlette/testclient.py:16: in <module>
> import httpx
> E ModuleNotFoundError: No module named 'httpx'
> =============================== warnings summary
> ===============================
> ormar/fields/base.py:51
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ormar/build/ormar/fields/base.py:51:
> DeprecationWarning: Parameter `pydantic_only` is deprecated and will be
> removed in one of the next releases.
> You can declare pydantic fields in a normal way.
> Check documentation:
> https://collerek.github.io/ormar/fields/pydantic-fields
> warnings.warn(
>
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info
> ============================
> ERROR tests/test_exclude_include_dict/test_excluding_fields_in_fastapi.py
> ERROR tests/test_fastapi/test_binary_fields.py
> ERROR tests/test_fastapi/test_choices_schema.py
> ERROR tests/test_fastapi/test_docs_with_multiple_relations_to_one.py
> ERROR tests/test_fastapi/test_excludes_with_get_pydantic.py
> ERROR tests/test_fastapi/test_excluding_fields.py
> ERROR tests/test_fastapi/test_extra_ignore_parameter.py
> ERROR tests/test_fastapi/test_fastapi_docs.py
> ERROR tests/test_fastapi/test_fastapi_usage.py
> ERROR tests/test_fastapi/test_inheritance_concrete_fastapi.py
> ERROR tests/test_fastapi/test_inheritance_mixins_fastapi.py
> ERROR tests/test_fastapi/test_json_field_fastapi.py
> ERROR tests/test_fastapi/test_m2m_forwardref.py
> ERROR tests/test_fastapi/test_more_reallife_fastapi.py
> ERROR tests/test_fastapi/test_nested_saving.py
> ERROR tests/test_fastapi/test_recursion_error.py
> ERROR tests/test_fastapi/test_relations_with_nested_defaults.py
> ERROR tests/test_fastapi/test_skip_reverse_models.py
> ERROR tests/test_fastapi/test_wekref_exclusion.py
> !!!!!!!!!!!!!!!!!!! Interrupted: 19 errors during collection
> !!!!!!!!!!!!!!!!!!!
> ======================== 1 warning, 19 errors in 4.28s
> =========================
> E: pybuild pybuild:386: test: plugin pyproject failed with: exit code=2: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ormar/build; python3.11 -m pytest
> --asyncio-mode=auto
> I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ormar/build;
> python3.10 -m pytest --asyncio-mode=auto
> ============================= test session starts
> ==============================
> platform linux -- Python 3.10.9, pytest-7.2.0, pluggy-1.0.0+repack
> rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ormar/build
> plugins: anyio-3.6.2, tornasync-0.6.0.post2, asyncio-0.20.3
> asyncio: mode=auto
> collected 411 items / 19 errors
>
> ==================================== ERRORS
> ====================================
> _ ERROR collecting
> tests/test_exclude_include_dict/test_excluding_fields_in_fastapi.py _
> ImportError while importing test module
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ormar/build/tests/test_exclude_include_dict/test_excluding_fields_in_fastapi.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)
> tests/test_exclude_include_dict/test_excluding_fields_in_fastapi.py:10: in
> <module>
> from starlette.testclient import TestClient
> /usr/lib/python3/dist-packages/starlette/testclient.py:16: in <module>
> import httpx
> E ModuleNotFoundError: No module named 'httpx'
> __________ ERROR collecting tests/test_fastapi/test_binary_fields.py
> ___________
> ImportError while importing test module
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ormar/build/tests/test_fastapi/test_binary_fields.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)
> tests/test_fastapi/test_binary_fields.py:10: in <module>
> from starlette.testclient import TestClient
> /usr/lib/python3/dist-packages/starlette/testclient.py:16: in <module>
> import httpx
> E ModuleNotFoundError: No module named 'httpx'
> __________ ERROR collecting tests/test_fastapi/test_choices_schema.py
> __________
> ImportError while importing test module
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ormar/build/tests/test_fastapi/test_choices_schema.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)
> tests/test_fastapi/test_choices_schema.py:11: in <module>
> from starlette.testclient import TestClient
> /usr/lib/python3/dist-packages/starlette/testclient.py:16: in <module>
> import httpx
> E ModuleNotFoundError: No module named 'httpx'
> _ ERROR collecting
> tests/test_fastapi/test_docs_with_multiple_relations_to_one.py _
> ImportError while importing test module
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ormar/build/tests/test_fastapi/test_docs_with_multiple_relations_to_one.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)
> tests/test_fastapi/test_docs_with_multiple_relations_to_one.py:7: in <module>
> from starlette.testclient import TestClient
> /usr/lib/python3/dist-packages/starlette/testclient.py:16: in <module>
> import httpx
> E ModuleNotFoundError: No module named 'httpx'
> ____ ERROR collecting tests/test_fastapi/test_excludes_with_get_pydantic.py
> ____
> ImportError while importing test module
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ormar/build/tests/test_fastapi/test_excludes_with_get_pydantic.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)
> tests/test_fastapi/test_excludes_with_get_pydantic.py:4: in <module>
> from starlette.testclient import TestClient
> /usr/lib/python3/dist-packages/starlette/testclient.py:16: in <module>
> import httpx
> E ModuleNotFoundError: No module named 'httpx'
> _________ ERROR collecting tests/test_fastapi/test_excluding_fields.py
> _________
> ImportError while importing test module
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ormar/build/tests/test_fastapi/test_excluding_fields.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)
> tests/test_fastapi/test_excluding_fields.py:7: in <module>
> from starlette.testclient import TestClient
> /usr/lib/python3/dist-packages/starlette/testclient.py:16: in <module>
> import httpx
> E ModuleNotFoundError: No module named 'httpx'
> ______ ERROR collecting tests/test_fastapi/test_extra_ignore_parameter.py
> ______
> ImportError while importing test module
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ormar/build/tests/test_fastapi/test_extra_ignore_parameter.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)
> tests/test_fastapi/test_extra_ignore_parameter.py:7: in <module>
> from starlette.testclient import TestClient
> /usr/lib/python3/dist-packages/starlette/testclient.py:16: in <module>
> import httpx
> E ModuleNotFoundError: No module named 'httpx'
> ___________ ERROR collecting tests/test_fastapi/test_fastapi_docs.py
> ___________
> ImportError while importing test module
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ormar/build/tests/test_fastapi/test_fastapi_docs.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)
> tests/test_fastapi/test_fastapi_docs.py:9: in <module>
> from starlette.testclient import TestClient
> /usr/lib/python3/dist-packages/starlette/testclient.py:16: in <module>
> import httpx
> E ModuleNotFoundError: No module named 'httpx'
> __________ ERROR collecting tests/test_fastapi/test_fastapi_usage.py
> ___________
> ImportError while importing test module
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ormar/build/tests/test_fastapi/test_fastapi_usage.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)
> tests/test_fastapi/test_fastapi_usage.py:6: in <module>
> from starlette.testclient import TestClient
> /usr/lib/python3/dist-packages/starlette/testclient.py:16: in <module>
> import httpx
> E ModuleNotFoundError: No module named 'httpx'
> ___ ERROR collecting tests/test_fastapi/test_inheritance_concrete_fastapi.py
> ___
> ImportError while importing test module
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ormar/build/tests/test_fastapi/test_inheritance_concrete_fastapi.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)
> tests/test_fastapi/test_inheritance_concrete_fastapi.py:7: in <module>
> from starlette.testclient import TestClient
> /usr/lib/python3/dist-packages/starlette/testclient.py:16: in <module>
> import httpx
> E ModuleNotFoundError: No module named 'httpx'
> ____ ERROR collecting tests/test_fastapi/test_inheritance_mixins_fastapi.py
> ____
> ImportError while importing test module
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ormar/build/tests/test_fastapi/test_inheritance_mixins_fastapi.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)
> tests/test_fastapi/test_inheritance_mixins_fastapi.py:6: in <module>
> from starlette.testclient import TestClient
> /usr/lib/python3/dist-packages/starlette/testclient.py:16: in <module>
> import httpx
> E ModuleNotFoundError: No module named 'httpx'
> ________ ERROR collecting tests/test_fastapi/test_json_field_fastapi.py
> ________
> ImportError while importing test module
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ormar/build/tests/test_fastapi/test_json_field_fastapi.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)
> tests/test_fastapi/test_json_field_fastapi.py:10: in <module>
> from starlette.testclient import TestClient
> /usr/lib/python3/dist-packages/starlette/testclient.py:16: in <module>
> import httpx
> E ModuleNotFoundError: No module named 'httpx'
> __________ ERROR collecting tests/test_fastapi/test_m2m_forwardref.py
> __________
> ImportError while importing test module
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ormar/build/tests/test_fastapi/test_m2m_forwardref.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)
> tests/test_fastapi/test_m2m_forwardref.py:9: in <module>
> from starlette.testclient import TestClient
> /usr/lib/python3/dist-packages/starlette/testclient.py:16: in <module>
> import httpx
> E ModuleNotFoundError: No module named 'httpx'
> ______ ERROR collecting tests/test_fastapi/test_more_reallife_fastapi.py
> _______
> ImportError while importing test module
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ormar/build/tests/test_fastapi/test_more_reallife_fastapi.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)
> tests/test_fastapi/test_more_reallife_fastapi.py:8: in <module>
> from starlette.testclient import TestClient
> /usr/lib/python3/dist-packages/starlette/testclient.py:16: in <module>
> import httpx
> E ModuleNotFoundError: No module named 'httpx'
> __________ ERROR collecting tests/test_fastapi/test_nested_saving.py
> ___________
> ImportError while importing test module
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ormar/build/tests/test_fastapi/test_nested_saving.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)
> tests/test_fastapi/test_nested_saving.py:8: in <module>
> from starlette.testclient import TestClient
> /usr/lib/python3/dist-packages/starlette/testclient.py:16: in <module>
> import httpx
> E ModuleNotFoundError: No module named 'httpx'
> _________ ERROR collecting tests/test_fastapi/test_recursion_error.py
> __________
> ImportError while importing test module
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ormar/build/tests/test_fastapi/test_recursion_error.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)
> tests/test_fastapi/test_recursion_error.py:11: in <module>
> from starlette.testclient import TestClient
> /usr/lib/python3/dist-packages/starlette/testclient.py:16: in <module>
> import httpx
> E ModuleNotFoundError: No module named 'httpx'
> __ ERROR collecting tests/test_fastapi/test_relations_with_nested_defaults.py
> __
> ImportError while importing test module
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ormar/build/tests/test_fastapi/test_relations_with_nested_defaults.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)
> tests/test_fastapi/test_relations_with_nested_defaults.py:8: in <module>
> from starlette.testclient import TestClient
> /usr/lib/python3/dist-packages/starlette/testclient.py:16: in <module>
> import httpx
> E ModuleNotFoundError: No module named 'httpx'
> _______ ERROR collecting tests/test_fastapi/test_skip_reverse_models.py
> ________
> ImportError while importing test module
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ormar/build/tests/test_fastapi/test_skip_reverse_models.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)
> tests/test_fastapi/test_skip_reverse_models.py:8: in <module>
> from starlette.testclient import TestClient
> /usr/lib/python3/dist-packages/starlette/testclient.py:16: in <module>
> import httpx
> E ModuleNotFoundError: No module named 'httpx'
> _________ ERROR collecting tests/test_fastapi/test_wekref_exclusion.py
> _________
> ImportError while importing test module
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ormar/build/tests/test_fastapi/test_wekref_exclusion.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)
> tests/test_fastapi/test_wekref_exclusion.py:9: in <module>
> from starlette.testclient import TestClient
> /usr/lib/python3/dist-packages/starlette/testclient.py:16: in <module>
> import httpx
> E ModuleNotFoundError: No module named 'httpx'
> =============================== warnings summary
> ===============================
> ormar/fields/base.py:51
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ormar/build/ormar/fields/base.py:51:
> DeprecationWarning: Parameter `pydantic_only` is deprecated and will be
> removed in one of the next releases.
> You can declare pydantic fields in a normal way.
> Check documentation:
> https://collerek.github.io/ormar/fields/pydantic-fields
> warnings.warn(
>
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info
> ============================
> ERROR tests/test_exclude_include_dict/test_excluding_fields_in_fastapi.py
> ERROR tests/test_fastapi/test_binary_fields.py
> ERROR tests/test_fastapi/test_choices_schema.py
> ERROR tests/test_fastapi/test_docs_with_multiple_relations_to_one.py
> ERROR tests/test_fastapi/test_excludes_with_get_pydantic.py
> ERROR tests/test_fastapi/test_excluding_fields.py
> ERROR tests/test_fastapi/test_extra_ignore_parameter.py
> ERROR tests/test_fastapi/test_fastapi_docs.py
> ERROR tests/test_fastapi/test_fastapi_usage.py
> ERROR tests/test_fastapi/test_inheritance_concrete_fastapi.py
> ERROR tests/test_fastapi/test_inheritance_mixins_fastapi.py
> ERROR tests/test_fastapi/test_json_field_fastapi.py
> ERROR tests/test_fastapi/test_m2m_forwardref.py
> ERROR tests/test_fastapi/test_more_reallife_fastapi.py
> ERROR tests/test_fastapi/test_nested_saving.py
> ERROR tests/test_fastapi/test_recursion_error.py
> ERROR tests/test_fastapi/test_relations_with_nested_defaults.py
> ERROR tests/test_fastapi/test_skip_reverse_models.py
> ERROR tests/test_fastapi/test_wekref_exclusion.py
> !!!!!!!!!!!!!!!!!!! Interrupted: 19 errors during collection
> !!!!!!!!!!!!!!!!!!!
> ======================== 1 warning, 19 errors in 4.72s
> =========================
> E: pybuild pybuild:386: test: plugin pyproject failed with: exit code=2: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_ormar/build; python3.10 -m pytest
> --asyncio-mode=auto
> dh_auto_test: error: pybuild --test -i python{version} -p "3.11 3.10"
> returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2022/12/20/ormar_0.12.0-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20221220;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20221220&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
--- End Message ---