Source: python-es-client
Version: 8.17.4-2
Severity: serious
Justification: FTBFS
Tags: forky sid ftbfs
User: [email protected]
Usertags: ftbfs-20250809 ftbfs-forky

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

The full build log is available from:
http://qa-logs.debian.net/2025/08/09/python-es-client_8.17.4-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20250809;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20250809&[email protected]&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.

-- 
Relevant part of the build log (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:129: Building wheel for python3.13 with "build" 
> module
> I: pybuild base:311: python3.13 -m build --skip-dependency-check 
> --no-isolation --wheel --outdir 
> /build/reproducible-path/python-es-client-8.17.4/.pybuild/cpython3_3.13_es-client
>   
> * Building wheel...
> Successfully built es_client-8.17.4-py3-none-any.whl
> I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with 
> "installer" module
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:311: cd 
> /build/reproducible-path/python-es-client-8.17.4/.pybuild/cpython3_3.13_es-client/build;
>  python3.13 -m pytest --ignore=tests/integration -k 'not test_format '
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.13.5, pytest-8.3.5, pluggy-1.5.0
> rootdir: 
> /build/reproducible-path/python-es-client-8.17.4/.pybuild/cpython3_3.13_es-client/build
> configfile: pytest.ini
> plugins: cov-5.0.0
> collected 0 items / 7 errors
> 
> ==================================== ERRORS 
> ====================================
> _________________ ERROR collecting tests/unit/test_builder.py 
> __________________
> ImportError while importing test module 
> '/build/reproducible-path/python-es-client-8.17.4/.pybuild/cpython3_3.13_es-client/build/tests/unit/test_builder.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.13/importlib/__init__.py:88: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> tests/unit/__init__.py:9: in <module>
>     from es_client.defaults import LOGGING_SETTINGS
> es_client/__init__.py:3: in <module>
>     from .builder import Builder
> es_client/builder.py:7: in <module>
>     import elasticsearch8
> /usr/lib/python3/dist-packages/elasticsearch8/__init__.py:32: in <module>
>     raise ImportError(
> E   ImportError: An incompatible version of elastic-transport is installed. 
> Must be between v8.0.0 and v9.0.0. Install the correct version with the 
> following command: $ python -m pip install 'elastic-transport>=8, <9'
> _________________ ERROR collecting tests/unit/test_defaults.py 
> _________________
> ImportError while importing test module 
> '/build/reproducible-path/python-es-client-8.17.4/.pybuild/cpython3_3.13_es-client/build/tests/unit/test_defaults.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.13/importlib/__init__.py:88: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> tests/unit/__init__.py:9: in <module>
>     from es_client.defaults import LOGGING_SETTINGS
> es_client/__init__.py:3: in <module>
>     from .builder import Builder
> es_client/builder.py:7: in <module>
>     import elasticsearch8
> /usr/lib/python3/dist-packages/elasticsearch8/__init__.py:32: in <module>
>     raise ImportError(
> E   ImportError: An incompatible version of elastic-transport is installed. 
> Must be between v8.0.0 and v9.0.0. Install the correct version with the 
> following command: $ python -m pip install 'elastic-transport>=8, <9'
> ______________ ERROR collecting tests/unit/test_helpers_config.py 
> ______________
> ImportError while importing test module 
> '/build/reproducible-path/python-es-client-8.17.4/.pybuild/cpython3_3.13_es-client/build/tests/unit/test_helpers_config.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.13/importlib/__init__.py:88: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> tests/unit/__init__.py:9: in <module>
>     from es_client.defaults import LOGGING_SETTINGS
> es_client/__init__.py:3: in <module>
>     from .builder import Builder
> es_client/builder.py:7: in <module>
>     import elasticsearch8
> /usr/lib/python3/dist-packages/elasticsearch8/__init__.py:32: in <module>
>     raise ImportError(
> E   ImportError: An incompatible version of elastic-transport is installed. 
> Must be between v8.0.0 and v9.0.0. Install the correct version with the 
> following command: $ python -m pip install 'elastic-transport>=8, <9'
> _____________ ERROR collecting tests/unit/test_helpers_logging.py 
> ______________
> ImportError while importing test module 
> '/build/reproducible-path/python-es-client-8.17.4/.pybuild/cpython3_3.13_es-client/build/tests/unit/test_helpers_logging.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.13/importlib/__init__.py:88: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> tests/unit/__init__.py:9: in <module>
>     from es_client.defaults import LOGGING_SETTINGS
> es_client/__init__.py:3: in <module>
>     from .builder import Builder
> es_client/builder.py:7: in <module>
>     import elasticsearch8
> /usr/lib/python3/dist-packages/elasticsearch8/__init__.py:32: in <module>
>     raise ImportError(
> E   ImportError: An incompatible version of elastic-transport is installed. 
> Must be between v8.0.0 and v9.0.0. Install the correct version with the 
> following command: $ python -m pip install 'elastic-transport>=8, <9'
> ___________ ERROR collecting tests/unit/test_helpers_logging_new.py 
> ____________
> ImportError while importing test module 
> '/build/reproducible-path/python-es-client-8.17.4/.pybuild/cpython3_3.13_es-client/build/tests/unit/test_helpers_logging_new.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.13/importlib/__init__.py:88: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> tests/unit/__init__.py:9: in <module>
>     from es_client.defaults import LOGGING_SETTINGS
> es_client/__init__.py:3: in <module>
>     from .builder import Builder
> es_client/builder.py:7: in <module>
>     import elasticsearch8
> /usr/lib/python3/dist-packages/elasticsearch8/__init__.py:32: in <module>
>     raise ImportError(
> E   ImportError: An incompatible version of elastic-transport is installed. 
> Must be between v8.0.0 and v9.0.0. Install the correct version with the 
> following command: $ python -m pip install 'elastic-transport>=8, <9'
> ___________ ERROR collecting tests/unit/test_helpers_schemacheck.py 
> ____________
> ImportError while importing test module 
> '/build/reproducible-path/python-es-client-8.17.4/.pybuild/cpython3_3.13_es-client/build/tests/unit/test_helpers_schemacheck.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.13/importlib/__init__.py:88: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> tests/unit/__init__.py:9: in <module>
>     from es_client.defaults import LOGGING_SETTINGS
> es_client/__init__.py:3: in <module>
>     from .builder import Builder
> es_client/builder.py:7: in <module>
>     import elasticsearch8
> /usr/lib/python3/dist-packages/elasticsearch8/__init__.py:32: in <module>
>     raise ImportError(
> E   ImportError: An incompatible version of elastic-transport is installed. 
> Must be between v8.0.0 and v9.0.0. Install the correct version with the 
> following command: $ python -m pip install 'elastic-transport>=8, <9'
> ______________ ERROR collecting tests/unit/test_helpers_utils.py 
> _______________
> ImportError while importing test module 
> '/build/reproducible-path/python-es-client-8.17.4/.pybuild/cpython3_3.13_es-client/build/tests/unit/test_helpers_utils.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.13/importlib/__init__.py:88: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> tests/unit/__init__.py:9: in <module>
>     from es_client.defaults import LOGGING_SETTINGS
> es_client/__init__.py:3: in <module>
>     from .builder import Builder
> es_client/builder.py:7: in <module>
>     import elasticsearch8
> /usr/lib/python3/dist-packages/elasticsearch8/__init__.py:32: in <module>
>     raise ImportError(
> E   ImportError: An incompatible version of elastic-transport is installed. 
> Must be between v8.0.0 and v9.0.0. Install the correct version with the 
> following command: $ python -m pip install 'elastic-transport>=8, <9'
> =============================== warnings summary 
> ===============================
> ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1441
>   /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1441: 
> PytestConfigWarning: Unknown config option: env_files
>   
>     self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info 
> ============================
> ERROR tests/unit/test_builder.py
> ERROR tests/unit/test_defaults.py
> ERROR tests/unit/test_helpers_config.py
> ERROR tests/unit/test_helpers_logging.py
> ERROR tests/unit/test_helpers_logging_new.py
> ERROR tests/unit/test_helpers_schemacheck.py
> ERROR tests/unit/test_helpers_utils.py
> !!!!!!!!!!!!!!!!!!! Interrupted: 7 errors during collection 
> !!!!!!!!!!!!!!!!!!!!
> ========================= 1 warning, 7 errors in 0.42s 
> =========================
> E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=2: cd 
> /build/reproducible-path/python-es-client-8.17.4/.pybuild/cpython3_3.13_es-client/build;
>  python3.13 -m pytest --ignore=tests/integration -k 'not test_format '
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 
> returned exit code 13

Reply via email to