[Debian-astro-maintainers] Bug#1058320: drms: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" returned exit code 13

Lucas Nussbaum lucas at debian.org
Tue Dec 12 08:18:11 GMT 2023


Source: drms
Version: 0.7.0-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20231212 ftbfs-trixie

Hi,

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


Relevant part (hopefully):
>  debian/rules binary
> dh binary --with python3 --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:310: python3.12 setup.py config 
> /usr/lib/python3/dist-packages/setuptools/__init__.py:84: _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)
> /usr/lib/python3/dist-packages/setuptools/installer.py:134: UserWarning: Unbuilt egg for drms [unknown version] (/<<PKGBUILDDIR>>)
>   pkg_resources.get_distribution('wheel')
> WARNING: The wheel package is not available.
> running config
> I: pybuild base:310: python3.11 setup.py config 
> /usr/lib/python3/dist-packages/setuptools/__init__.py:84: _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)
> /usr/lib/python3/dist-packages/setuptools/installer.py:134: UserWarning: Unbuilt egg for drms [unknown version] (/<<PKGBUILDDIR>>)
>   pkg_resources.get_distribution('wheel')
> WARNING: The wheel package is not available.
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:310: /usr/bin/python3.12 setup.py build 
> /usr/lib/python3/dist-packages/setuptools/__init__.py:84: _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)
> /usr/lib/python3/dist-packages/setuptools/installer.py:134: UserWarning: Unbuilt egg for drms [unknown version] (/<<PKGBUILDDIR>>)
>   pkg_resources.get_distribution('wheel')
> WARNING: The wheel package is not available.
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_drms/build/drms
> copying drms/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_drms/build/drms
> copying drms/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_drms/build/drms
> copying drms/version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_drms/build/drms
> copying drms/exceptions.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_drms/build/drms
> copying drms/main.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_drms/build/drms
> copying drms/_version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_drms/build/drms
> copying drms/client.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_drms/build/drms
> copying drms/json.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_drms/build/drms
> copying drms/config.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_drms/build/drms
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_drms/build/drms/tests
> copying drms/tests/test_kis_basic.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_drms/build/drms/tests
> copying drms/tests/test_series_info.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_drms/build/drms/tests
> copying drms/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_drms/build/drms/tests
> copying drms/tests/test_jsoc_query.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_drms/build/drms/tests
> copying drms/tests/test_client.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_drms/build/drms/tests
> copying drms/tests/test_main.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_drms/build/drms/tests
> copying drms/tests/test_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_drms/build/drms/tests
> copying drms/tests/test_init.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_drms/build/drms/tests
> copying drms/tests/conftest.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_drms/build/drms/tests
> copying drms/tests/test_jsoc_info.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_drms/build/drms/tests
> copying drms/tests/test_config.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_drms/build/drms/tests
> copying drms/tests/test_jsoc_email.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_drms/build/drms/tests
> copying drms/tests/test_jsoc_basic.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_drms/build/drms/tests
> copying drms/tests/test_exceptions.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_drms/build/drms/tests
> copying drms/tests/test_to_datetime.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_drms/build/drms/tests
> copying drms/tests/test_jsoc_export.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_drms/build/drms/tests
> running egg_info
> writing drms.egg-info/PKG-INFO
> writing dependency_links to drms.egg-info/dependency_links.txt
> writing entry points to drms.egg-info/entry_points.txt
> writing requirements to drms.egg-info/requires.txt
> writing top-level names to drms.egg-info/top_level.txt
> reading manifest file 'drms.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> no previously-included directories found matching 'paper'
> no previously-included directories found matching 'drms/_dev'
> adding license file 'LICENSE.rst'
> writing manifest file 'drms.egg-info/SOURCES.txt'
> copying drms/CITATION.rst -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_drms/build/drms
> I: pybuild base:310: /usr/bin/python3 setup.py build 
> /usr/lib/python3/dist-packages/setuptools/__init__.py:84: _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: The wheel package is not available.
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms
> copying drms/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms
> copying drms/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms
> copying drms/version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms
> copying drms/exceptions.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms
> copying drms/main.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms
> copying drms/_version.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms
> copying drms/client.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms
> copying drms/json.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms
> copying drms/config.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms/tests
> copying drms/tests/test_kis_basic.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms/tests
> copying drms/tests/test_series_info.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms/tests
> copying drms/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms/tests
> copying drms/tests/test_jsoc_query.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms/tests
> copying drms/tests/test_client.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms/tests
> copying drms/tests/test_main.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms/tests
> copying drms/tests/test_utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms/tests
> copying drms/tests/test_init.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms/tests
> copying drms/tests/conftest.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms/tests
> copying drms/tests/test_jsoc_info.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms/tests
> copying drms/tests/test_config.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms/tests
> copying drms/tests/test_jsoc_email.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms/tests
> copying drms/tests/test_jsoc_basic.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms/tests
> copying drms/tests/test_exceptions.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms/tests
> copying drms/tests/test_to_datetime.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms/tests
> copying drms/tests/test_jsoc_export.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms/tests
> running egg_info
> writing drms.egg-info/PKG-INFO
> writing dependency_links to drms.egg-info/dependency_links.txt
> writing entry points to drms.egg-info/entry_points.txt
> writing requirements to drms.egg-info/requires.txt
> writing top-level names to drms.egg-info/top_level.txt
> reading manifest file 'drms.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> no previously-included directories found matching 'paper'
> no previously-included directories found matching 'drms/_dev'
> adding license file 'LICENSE.rst'
> writing manifest file 'drms.egg-info/SOURCES.txt'
> copying drms/CITATION.rst -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build/drms
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_drms/build; python3.12 -m pytest --pyargs drms --remote-data=none
> ImportError while loading conftest '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_drms/build/drms/tests/conftest.py'.
> drms/__init__.py:14: in <module>
>     from .client import Client, ExportRequest, SeriesInfo
> drms/client.py:12: in <module>
>     import pandas as pd
> /usr/lib/python3/dist-packages/pandas/__init__.py:28: in <module>
>     from pandas.compat import is_numpy_dev as _is_numpy_dev  # pyright: ignore # noqa:F401
> /usr/lib/python3/dist-packages/pandas/compat/__init__.py:18: in <module>
>     from pandas.compat.numpy import (
> /usr/lib/python3/dist-packages/pandas/compat/numpy/__init__.py:4: in <module>
>     from pandas.util.version import Version
> /usr/lib/python3/dist-packages/pandas/util/__init__.py:2: in <module>
>     from pandas.util._decorators import (  # noqa:F401
> /usr/lib/python3/dist-packages/pandas/util/_decorators.py:14: in <module>
>     from pandas._libs.properties import cache_readonly
> /usr/lib/python3/dist-packages/pandas/_libs/__init__.py:13: in <module>
>     from pandas._libs.interval import Interval
> pandas/_libs/interval.pyx:1: in init pandas._libs.interval
>     ???
> pandas/_libs/hashtable.pyx:1: in init pandas._libs.hashtable
>     ???
> pandas/_libs/missing.pyx:1: in init pandas._libs.missing
>     ???
> /usr/lib/python3/dist-packages/pandas/_libs/tslibs/__init__.py:37: in <module>
>     from pandas._libs.tslibs.conversion import localize_pydatetime
> pandas/_libs/tslibs/conversion.pyx:1: in init pandas._libs.tslibs.conversion
>     ???
> pandas/_libs/tslibs/tzconversion.pyx:1: in init pandas._libs.tslibs.tzconversion
>     ???
> pandas/_libs/tslibs/timezones.pyx:24: in init pandas._libs.tslibs.timezones
>     ???
> /usr/lib/python3/dist-packages/dateutil/tz/__init__.py:2: in <module>
>     from .tz import *
> /usr/lib/python3/dist-packages/dateutil/tz/tz.py:37: in <module>
>     EPOCH = datetime.datetime.utcfromtimestamp(0)
> E   DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
> E: pybuild pybuild:395: test: plugin distutils failed with: exit code=4: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_drms/build; python3.12 -m pytest --pyargs drms --remote-data=none
> I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_drms/build; python3.11 -m pytest --pyargs drms --remote-data=none
> ============================= test session starts ==============================
> platform linux -- Python 3.11.7, pytest-7.4.3, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>
> configfile: setup.cfg
> plugins: remotedata-0.4.1, doctestplus-1.0.0
> collected 175 items
> 
> drms/tests/test_client.py .....                                          [  2%]
> drms/tests/test_config.py .......................                        [ 16%]
> drms/tests/test_exceptions.py ....                                       [ 18%]
> drms/tests/test_init.py ..........................                       [ 33%]
> drms/tests/test_jsoc_basic.py ssss                                       [ 35%]
> drms/tests/test_jsoc_email.py ssssssssssss.                              [ 42%]
> drms/tests/test_jsoc_export.py sssssss                                   [ 46%]
> drms/tests/test_jsoc_info.py sssssssssss                                 [ 53%]
> drms/tests/test_jsoc_query.py ssssssss.sss                               [ 60%]
> drms/tests/test_kis_basic.py sssssssss                                   [ 65%]
> drms/tests/test_main.py ....                                             [ 67%]
> drms/tests/test_series_info.py ....                                      [ 69%]
> drms/tests/test_to_datetime.py ................xxx.................      [ 90%]
> drms/tests/test_utils.py .................                               [100%]
> 
> ================== 118 passed, 54 skipped, 3 xfailed in 0.78s ==================
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2023/12/12/drms_0.7.0-1_unstable.log

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