[Debian-astro-maintainers] Bug#1091018: astroplan: FTBFS: ModuleNotFoundError: No module named 'six'
Lucas Nussbaum
lucas at debian.org
Sun Dec 22 08:13:22 GMT 2024
Source: astroplan
Version: 0.10-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20241222 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> py3versions: no X-Python3-Version in control file, using supported versions
> dh_auto_build
> I: pybuild base:311: /usr/bin/python3.13 setup.py build
> /usr/lib/python3/dist-packages/setuptools/__init__.py:94: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
> !!
>
> ********************************************************************************
> Requirements should be satisfied by a PEP 517 installer.
> If you are using pip, you can try `pip install --use-pep517`.
> ********************************************************************************
>
> !!
> dist.fetch_build_eggs(dist.setup_requires)
> WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section'
> Traceback (most recent call last):
> File "/usr/lib/python3/dist-packages/setuptools_scm/_integration/pyproject_reading.py", line 36, in read_pyproject
> section = defn.get("tool", {})[tool_name]
> ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
> KeyError: 'setuptools_scm'
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroplan/build/astroplan
> copying astroplan/scheduling.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroplan/build/astroplan
> copying astroplan/conftest.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroplan/build/astroplan
> copying astroplan/observer.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroplan/build/astroplan
> copying astroplan/exceptions.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroplan/build/astroplan
> copying astroplan/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroplan/build/astroplan
> copying astroplan/constraints.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroplan/build/astroplan
> copying astroplan/version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroplan/build/astroplan
> copying astroplan/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroplan/build/astroplan
> copying astroplan/setup_package.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroplan/build/astroplan
> copying astroplan/target.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroplan/build/astroplan
> copying astroplan/moon.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroplan/build/astroplan
> copying astroplan/periodic.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroplan/build/astroplan
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroplan/build/astroplan/plots
> copying astroplan/plots/time_dependent.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroplan/build/astroplan/plots
> copying astroplan/plots/finder.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroplan/build/astroplan/plots
> copying astroplan/plots/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroplan/build/astroplan/plots
> copying astroplan/plots/sky.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroplan/build/astroplan/plots
> copying astroplan/plots/mplstyles.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroplan/build/astroplan/plots
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroplan/build/astroplan/tests
> copying astroplan/tests/test_moon.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroplan/build/astroplan/tests
> copying astroplan/tests/test_constraints.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroplan/build/astroplan/tests
> copying astroplan/tests/test_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroplan/build/astroplan/tests
> copying astroplan/tests/test_observer.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroplan/build/astroplan/tests
> copying astroplan/tests/test_scheduling.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroplan/build/astroplan/tests
> copying astroplan/tests/test_periodic.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroplan/build/astroplan/tests
> copying astroplan/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroplan/build/astroplan/tests
> copying astroplan/tests/test_target.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroplan/build/astroplan/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroplan/build/astroplan/plots/tests
> copying astroplan/plots/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroplan/build/astroplan/plots/tests
> copying astroplan/plots/tests/test_sky.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_astroplan/build/astroplan/plots/tests
> I: pybuild base:311: /usr/bin/python3 setup.py build
> /usr/lib/python3/dist-packages/setuptools/__init__.py:94: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
> !!
>
> ********************************************************************************
> Requirements should be satisfied by a PEP 517 installer.
> If you are using pip, you can try `pip install --use-pep517`.
> ********************************************************************************
>
> !!
> dist.fetch_build_eggs(dist.setup_requires)
> WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section'
> Traceback (most recent call last):
> File "/usr/lib/python3/dist-packages/setuptools_scm/_integration/pyproject_reading.py", line 36, in read_pyproject
> section = defn.get("tool", {})[tool_name]
> ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
> KeyError: 'setuptools_scm'
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroplan/build/astroplan
> copying astroplan/scheduling.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroplan/build/astroplan
> copying astroplan/conftest.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroplan/build/astroplan
> copying astroplan/observer.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroplan/build/astroplan
> copying astroplan/exceptions.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroplan/build/astroplan
> copying astroplan/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroplan/build/astroplan
> copying astroplan/constraints.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroplan/build/astroplan
> copying astroplan/version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroplan/build/astroplan
> copying astroplan/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroplan/build/astroplan
> copying astroplan/setup_package.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroplan/build/astroplan
> copying astroplan/target.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroplan/build/astroplan
> copying astroplan/moon.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroplan/build/astroplan
> copying astroplan/periodic.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroplan/build/astroplan
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroplan/build/astroplan/plots
> copying astroplan/plots/time_dependent.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroplan/build/astroplan/plots
> copying astroplan/plots/finder.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroplan/build/astroplan/plots
> copying astroplan/plots/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroplan/build/astroplan/plots
> copying astroplan/plots/sky.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroplan/build/astroplan/plots
> copying astroplan/plots/mplstyles.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroplan/build/astroplan/plots
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroplan/build/astroplan/tests
> copying astroplan/tests/test_moon.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroplan/build/astroplan/tests
> copying astroplan/tests/test_constraints.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroplan/build/astroplan/tests
> copying astroplan/tests/test_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroplan/build/astroplan/tests
> copying astroplan/tests/test_observer.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroplan/build/astroplan/tests
> copying astroplan/tests/test_scheduling.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroplan/build/astroplan/tests
> copying astroplan/tests/test_periodic.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroplan/build/astroplan/tests
> copying astroplan/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroplan/build/astroplan/tests
> copying astroplan/tests/test_target.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroplan/build/astroplan/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroplan/build/astroplan/plots/tests
> copying astroplan/plots/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroplan/build/astroplan/plots/tests
> copying astroplan/plots/tests/test_sky.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_astroplan/build/astroplan/plots/tests
> PYTHONPATH=. sphinx-build -D html_last_updated_fmt="July 05, 2024" -D html_show_copyright=0 -N -bhtml docs/ build/html
> Running Sphinx v8.1.3
> Matplotlib created a temporary cache directory at /tmp/matplotlib-8_1o3dmx because the default path (/sbuild-nonexistent/.config/matplotlib) is not a writable directory; it is highly recommended to set the MPLCONFIGDIR environment variable to a writable directory, in particular to speed up the import of Matplotlib and to better support multiprocessing.
>
> Configuration error:
> There is a programmable error in your configuration file:
>
> Traceback (most recent call last):
> File "/usr/lib/python3/dist-packages/sphinx/config.py", line 529, in eval_config_file
> exec(code, namespace) # NoQA: S102
> ^^^^^^^^^^^^^^^^^^^^^
> File "/<<PKGBUILDDIR>>/docs/conf.py", line 69, in <module>
> __import__(project)
> File "/<<PKGBUILDDIR>>/astroplan/__init__.py", line 21, in <module>
> from .observer import *
> File "/<<PKGBUILDDIR>>/astroplan/observer.py", line 4, in <module>
> from six import string_types
> ModuleNotFoundError: No module named 'six'
>
> make[1]: *** [debian/rules:16: override_dh_auto_build] Error 2
The full build log is available from:
http://qa-logs.debian.net/2024/12/22/astroplan_0.10-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20241222;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20241222&fusertaguser=lucas@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.
More information about the Debian-astro-maintainers
mailing list