Bug#1084324: pygac: FTBFS: E ModuleNotFoundError: No module named 'six'
Santiago Vila
sanvila at debian.org
Mon Oct 7 09:38:17 BST 2024
Package: src:pygac
Version: 1.7.4-1
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
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.12 with "build" module
I: pybuild base:311: python3.12 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12
* Building wheel...
Successfully built pygac-1.7.4-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with "installer" module
dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; python3.12 -m pytest --pyargs pygac
============================= test session starts ==============================
platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build
configfile: pyproject.toml
plugins: typeguard-4.3.0
collected 0 items / 11 errors
==================================== ERRORS ====================================
_________________ ERROR collecting pygac/tests/test_angles.py __________________
ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/pygac/tests/test_angles.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
pygac/__init__.py:34: in <module>
from pygac.runner import get_reader_class, process_file # noqa
pygac/runner.py:34: in <module>
from pygac.gac_klm import GACKLMReader
pygac/gac_klm.py:33: in <module>
from pygac.gac_reader import GACReader
pygac/gac_reader.py:31: in <module>
from pygac.reader import Reader, ReaderError
pygac/reader.py:37: in <module>
import six
E ModuleNotFoundError: No module named 'six'
______________ ERROR collecting pygac/tests/test_calibrate_klm.py ______________
ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/pygac/tests/test_calibrate_klm.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
pygac/__init__.py:34: in <module>
from pygac.runner import get_reader_class, process_file # noqa
pygac/runner.py:34: in <module>
from pygac.gac_klm import GACKLMReader
pygac/gac_klm.py:33: in <module>
from pygac.gac_reader import GACReader
pygac/gac_reader.py:31: in <module>
from pygac.reader import Reader, ReaderError
pygac/reader.py:37: in <module>
import six
E ModuleNotFoundError: No module named 'six'
______________ ERROR collecting pygac/tests/test_calibrate_pod.py ______________
ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/pygac/tests/test_calibrate_pod.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
pygac/__init__.py:34: in <module>
from pygac.runner import get_reader_class, process_file # noqa
pygac/runner.py:34: in <module>
from pygac.gac_klm import GACKLMReader
pygac/gac_klm.py:33: in <module>
from pygac.gac_reader import GACReader
pygac/gac_reader.py:31: in <module>
from pygac.reader import Reader, ReaderError
pygac/reader.py:37: in <module>
import six
E ModuleNotFoundError: No module named 'six'
________ ERROR collecting pygac/tests/test_calibration_coefficients.py _________
ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/pygac/tests/test_calibration_coefficients.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
pygac/__init__.py:34: in <module>
from pygac.runner import get_reader_class, process_file # noqa
pygac/runner.py:34: in <module>
from pygac.gac_klm import GACKLMReader
pygac/gac_klm.py:33: in <module>
from pygac.gac_reader import GACReader
pygac/gac_reader.py:31: in <module>
from pygac.reader import Reader, ReaderError
pygac/reader.py:37: in <module>
import six
E ModuleNotFoundError: No module named 'six'
___________________ ERROR collecting pygac/tests/test_io.py ____________________
ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/pygac/tests/test_io.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
pygac/__init__.py:34: in <module>
from pygac.runner import get_reader_class, process_file # noqa
pygac/runner.py:34: in <module>
from pygac.gac_klm import GACKLMReader
pygac/gac_klm.py:33: in <module>
from pygac.gac_reader import GACReader
pygac/gac_reader.py:31: in <module>
from pygac.reader import Reader, ReaderError
pygac/reader.py:37: in <module>
import six
E ModuleNotFoundError: No module named 'six'
___________________ ERROR collecting pygac/tests/test_klm.py ___________________
ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/pygac/tests/test_klm.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
pygac/__init__.py:34: in <module>
from pygac.runner import get_reader_class, process_file # noqa
pygac/runner.py:34: in <module>
from pygac.gac_klm import GACKLMReader
pygac/gac_klm.py:33: in <module>
from pygac.gac_reader import GACReader
pygac/gac_reader.py:31: in <module>
from pygac.reader import Reader, ReaderError
pygac/reader.py:37: in <module>
import six
E ModuleNotFoundError: No module named 'six'
___________________ ERROR collecting pygac/tests/test_pod.py ___________________
ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/pygac/tests/test_pod.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
pygac/__init__.py:34: in <module>
from pygac.runner import get_reader_class, process_file # noqa
pygac/runner.py:34: in <module>
from pygac.gac_klm import GACKLMReader
pygac/gac_klm.py:33: in <module>
from pygac.gac_reader import GACReader
pygac/gac_reader.py:31: in <module>
from pygac.reader import Reader, ReaderError
pygac/reader.py:37: in <module>
import six
E ModuleNotFoundError: No module named 'six'
_________________ ERROR collecting pygac/tests/test_reader.py __________________
ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/pygac/tests/test_reader.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
pygac/__init__.py:34: in <module>
from pygac.runner import get_reader_class, process_file # noqa
pygac/runner.py:34: in <module>
from pygac.gac_klm import GACKLMReader
pygac/gac_klm.py:33: in <module>
from pygac.gac_reader import GACReader
pygac/gac_reader.py:31: in <module>
from pygac.reader import Reader, ReaderError
pygac/reader.py:37: in <module>
import six
E ModuleNotFoundError: No module named 'six'
__________________ ERROR collecting pygac/tests/test_slerp.py __________________
ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/pygac/tests/test_slerp.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
pygac/__init__.py:34: in <module>
from pygac.runner import get_reader_class, process_file # noqa
pygac/runner.py:34: in <module>
from pygac.gac_klm import GACKLMReader
pygac/gac_klm.py:33: in <module>
from pygac.gac_reader import GACReader
pygac/gac_reader.py:31: in <module>
from pygac.reader import Reader, ReaderError
pygac/reader.py:37: in <module>
import six
E ModuleNotFoundError: No module named 'six'
___________________ ERROR collecting pygac/tests/test_tsm.py ___________________
ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/pygac/tests/test_tsm.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
pygac/__init__.py:34: in <module>
from pygac.runner import get_reader_class, process_file # noqa
pygac/runner.py:34: in <module>
from pygac.gac_klm import GACKLMReader
pygac/gac_klm.py:33: in <module>
from pygac.gac_reader import GACReader
pygac/gac_reader.py:31: in <module>
from pygac.reader import Reader, ReaderError
pygac/reader.py:37: in <module>
import six
E ModuleNotFoundError: No module named 'six'
__________________ ERROR collecting pygac/tests/test_utils.py __________________
ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/pygac/tests/test_utils.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
pygac/__init__.py:34: in <module>
from pygac.runner import get_reader_class, process_file # noqa
pygac/runner.py:34: in <module>
from pygac.gac_klm import GACKLMReader
pygac/gac_klm.py:33: in <module>
from pygac.gac_reader import GACReader
pygac/gac_reader.py:31: in <module>
from pygac.reader import Reader, ReaderError
pygac/reader.py:37: in <module>
import six
E ModuleNotFoundError: No module named 'six'
=========================== short test summary info ============================
ERROR pygac/tests/test_angles.py
ERROR pygac/tests/test_calibrate_klm.py
ERROR pygac/tests/test_calibrate_pod.py
ERROR pygac/tests/test_calibration_coefficients.py
ERROR pygac/tests/test_io.py
ERROR pygac/tests/test_klm.py
ERROR pygac/tests/test_pod.py
ERROR pygac/tests/test_reader.py
ERROR pygac/tests/test_slerp.py
ERROR pygac/tests/test_tsm.py
ERROR pygac/tests/test_utils.py
!!!!!!!!!!!!!!!!!!! Interrupted: 11 errors during collection !!!!!!!!!!!!!!!!!!!
============================== 11 errors in 0.28s ==============================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; python3.12 -m pytest --pyargs pygac
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.12 returned exit code 13
make: *** [debian/rules:16: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202410/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.
Thanks.
More information about the Pkg-grass-devel
mailing list