Your message dated Wed, 16 Oct 2024 09:19:20 +0000
with message-id <e1t10bc-00dequ...@fasolo.debian.org>
and subject line Bug#1084353: fixed in radio-beam 0.3.7-5
has caused the Debian Bug report #1084353,
regarding radio-beam: FTBFS: E astropy.units.core.UnitScaleError: cannot create 
a unit with a scale of 0.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1084353: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1084353
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:radio-beam
Version: 0.3.7-4
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules binary
py3versions: no X-Python3-Version in control file, using supported versions
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:311: python3.12 setup.py config
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 config
   dh_auto_build -O--buildsystem=pybuild
I: pybuild base:311: /usr/bin/python3 setup.py build
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_radio_beam/build/radio_beam
copying radio_beam/commonbeam.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_radio_beam/build/radio_beam
copying radio_beam/multiple_beams.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_radio_beam/build/radio_beam
copying radio_beam/conftest.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_radio_beam/build/radio_beam
copying radio_beam/utils.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_radio_beam/build/radio_beam
copying radio_beam/version.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_radio_beam/build/radio_beam
copying radio_beam/_astropy_init.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_radio_beam/build/radio_beam
copying radio_beam/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_radio_beam/build/radio_beam
copying radio_beam/beam.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_radio_beam/build/radio_beam
creating 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_radio_beam/build/radio_beam/tests
copying radio_beam/tests/test_beams.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_radio_beam/build/radio_beam/tests
copying radio_beam/tests/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_radio_beam/build/radio_beam/tests
copying radio_beam/tests/setup_package.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_radio_beam/build/radio_beam/tests
copying radio_beam/tests/test_beam.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_radio_beam/build/radio_beam/tests
copying radio_beam/tests/test_kernels.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_radio_beam/build/radio_beam/tests
creating 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_radio_beam/build/radio_beam/tests/data
copying radio_beam/tests/data/NGC0925.bima.mmom0.image.tar.gz -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_radio_beam/build/radio_beam/tests/data
copying radio_beam/tests/data/header_jybeam.hdr -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_radio_beam/build/radio_beam/tests/data
copying radio_beam/tests/data/header_aips.hdr -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_radio_beam/build/radio_beam/tests/data
copying radio_beam/tests/data/generate_commonbeam_table.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_radio_beam/build/radio_beam/tests/data
copying radio_beam/tests/data/m33_beams_bintable.fits.gz -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_radio_beam/build/radio_beam/tests/data
copying radio_beam/tests/data/NGC0925.bima.mmom0.fits.gz -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_radio_beam/build/radio_beam/tests/data
copying radio_beam/tests/data/ngc0925_na.fits.gz -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_radio_beam/build/radio_beam/tests/data
copying radio_beam/tests/data/m83.moment0.fits.gz -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_radio_beam/build/radio_beam/tests/data
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
py3versions: no X-Python3-Version in control file, using supported versions
python3.12 -m pytest -v
============================= test session starts ==============================
platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 -- 
/usr/bin/python3.12
cachedir: .pytest_cache
Running tests in radio_beam docs.

Date: 2024-10-06T18:18:08

Platform: Linux-6.1.0-26-amd64-x86_64-with-glibc2.40

Executable: /usr/bin/python3.12

Full Python Version:
3.12.7 (main, Oct  3 2024, 15:15:22) [GCC 14.2.0]

encodings: sys: utf-8, locale: UTF-8, filesystem: utf-8
byteorder: little
float info: dig: 15, mant_dig: 15

Package versions:
Numpy: 1.26.4
Scipy: 1.13.1
Matplotlib: 3.8.3
h5py: not available
Pandas: not available
Astropy: 6.1.4

Using Astropy options: remote_data: none.

hypothesis profile 'default' -> 
database=DirectoryBasedExampleDatabase(PosixPath('/<<PKGBUILDDIR>>/.hypothesis/examples'))
rootdir: /<<PKGBUILDDIR>>
configfile: setup.cfg
testpaths: radio_beam, docs
plugins: remotedata-0.4.1, astropy-header-0.2.2, mock-3.14.0, 
hypothesis-6.112.1, typeguard-4.3.0, arraydiff-0.6.1, filter-subpackage-0.2.0, 
doctestplus-1.2.1, astropy-0.11.0, cov-5.0.0
collecting ... collected 239 items / 2 errors

==================================== ERRORS ====================================
_______________ ERROR collecting radio_beam/tests/test_beams.py ________________
radio_beam/tests/test_beams.py:508: in <module>
    @pytest.mark.parametrize(("beams", "target_beam"), casa_commonbeam_suite())
radio_beam/tests/test_beams.py:479: in casa_commonbeam_suite
    Beam(major=4 * u.arcsec, minor=4 * u.arcsec,
radio_beam/beam.py:87: in __new__
    if u.deg.is_equivalent(pa):
/usr/lib/python3/dist-packages/astropy/units/core.py:1013: in is_equivalent
    return self._is_equivalent(other, equivalencies)
/usr/lib/python3/dist-packages/astropy/units/core.py:1024: in _is_equivalent
    if self._get_physical_type_id() == other._get_physical_type_id():
/usr/lib/python3/dist-packages/astropy/units/core.py:695: in 
_get_physical_type_id
    unit = self.decompose()
/usr/lib/python3/dist-packages/astropy/units/core.py:2485: in decompose
    x = CompositeUnit(
/usr/lib/python3/dist-packages/astropy/units/core.py:2358: in __init__
    raise UnitScaleError("cannot create a unit with a scale of 0.")
E   astropy.units.core.UnitScaleError: cannot create a unit with a scale of 0.
_______________ ERROR collecting radio_beam/tests/test_beams.py ________________
radio_beam/tests/test_beams.py:508: in <module>
    @pytest.mark.parametrize(("beams", "target_beam"), casa_commonbeam_suite())
radio_beam/tests/test_beams.py:479: in casa_commonbeam_suite
    Beam(major=4 * u.arcsec, minor=4 * u.arcsec,
radio_beam/beam.py:87: in __new__
    if u.deg.is_equivalent(pa):
/usr/lib/python3/dist-packages/astropy/units/core.py:1013: in is_equivalent
    return self._is_equivalent(other, equivalencies)
/usr/lib/python3/dist-packages/astropy/units/core.py:1024: in _is_equivalent
    if self._get_physical_type_id() == other._get_physical_type_id():
/usr/lib/python3/dist-packages/astropy/units/core.py:695: in 
_get_physical_type_id
    unit = self.decompose()
/usr/lib/python3/dist-packages/astropy/units/core.py:2485: in decompose
    x = CompositeUnit(
/usr/lib/python3/dist-packages/astropy/units/core.py:2358: in __init__
    raise UnitScaleError("cannot create a unit with a scale of 0.")
E   astropy.units.core.UnitScaleError: cannot create a unit with a scale of 0.
=============================== warnings summary ===============================
radio_beam/multiple_beams.py:345
  /<<PKGBUILDDIR>>/radio_beam/multiple_beams.py:345: SyntaxWarning: invalid 
escape sequence '\e'
    '''

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
ERROR radio_beam/tests/test_beams.py - astropy.units.core.UnitScaleError: can...
ERROR radio_beam/tests/test_beams.py - astropy.units.core.UnitScaleError: can...
!!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!!
========================= 1 warning, 2 errors in 0.41s =========================
make[1]: *** [debian/rules:12: test-python3.12] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:8: binary] Error 2
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.

--- End Message ---
--- Begin Message ---
Source: radio-beam
Source-Version: 0.3.7-5
Done: Ole Streicher <oleb...@debian.org>

We believe that the bug you reported is fixed in the latest version of
radio-beam, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1084...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ole Streicher <oleb...@debian.org> (supplier of updated radio-beam package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 16 Oct 2024 10:42:35 +0200
Source: radio-beam
Architecture: source
Version: 0.3.7-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Astronomy Team 
<debian-astro-maintain...@lists.alioth.debian.org>
Changed-By: Ole Streicher <oleb...@debian.org>
Closes: 1084353
Changes:
 radio-beam (0.3.7-5) unstable; urgency=medium
 .
   * Fix astropy.units.core.UnitScaleError regression with Astropy 6.1.3
     (Closes: #1084353)
Checksums-Sha1:
 f7f35a6c578bda9b4a8aea0a215b4d41e577686d 2225 radio-beam_0.3.7-5.dsc
 bdeed28e8d8b4bd2baff09c8ab8c1802b92d7072 5796 radio-beam_0.3.7-5.debian.tar.xz
 8e9da3b7cf4f84ec3d2fe42b979c8fea8c980364 10425 
radio-beam_0.3.7-5_amd64.buildinfo
Checksums-Sha256:
 c51f432fc213bd358c76a12af322eb1b39115d44434c2f8d97886a9b4547637f 2225 
radio-beam_0.3.7-5.dsc
 fb41b6facd4169063d4761464c226655f422f53ac5a38a00b4f55503abba13ab 5796 
radio-beam_0.3.7-5.debian.tar.xz
 5ffa8eb69bb03e390b308b7de71db61036d8f83a7c65273af3856043340bdcdc 10425 
radio-beam_0.3.7-5_amd64.buildinfo
Files:
 420663fc872b4d50aa942dcfcfca2d57 2225 python optional radio-beam_0.3.7-5.dsc
 b10529e5b13561e9b4abdf7217f6f064 5796 python optional 
radio-beam_0.3.7-5.debian.tar.xz
 48ae375aff5e86cd22de1b0dcfeceeed 10425 python optional 
radio-beam_0.3.7-5_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIyBAEBCgAdFiEEuvxshffLFD/utvsVcRWv0HcQ3PcFAmcPgI4ACgkQcRWv0HcQ
3Pd/hQ/4+j0es5KA2Kh6uRwaT3UVHZ6d6x7w3fZ/vyEFCkEiRBDePlijqOi+xdY8
geG0btg2CcgjslKzewrI1t7Y6lPpNO0y/YUM/nlrBi32TEkb6dFHqFxaUq49e+ir
KqfwwD5Z4alYTAuSeDRuIdG4aVYy4OF9D2ED7m+ZLOBfw3cysLhyvpmtHlJa6LWW
C6J7006mlMeTMhqSOFO2wLtVaYC6a84lpJP4I7S3giMz9r0Nf3Tprfb9BC5j5cKS
VUTt24Fsk3V5ffeFOn1kmRWDBOqO1YuHPIzV9L/O9oTpQF0WhqgKGUMC38EC5DiP
MF5oj/Qv11j4QB+3jEUnSQWYVhlr00m1D6bF4Dhx/ccjRhDiasOPanKWO56DW57J
aVg7f/B/Tzz4OO26bKiiz3bXQKaXaAA2OLyMCLl138WGRWExYiqAv7imDX4DXmzG
LfffQ8a2WVKcfLwT3ljKXZM+ofzbeAAjzfAQ/tRPmOLqhVxCrnCodqlF1fPtHLpI
otu4f5fccIlk+bWuoRMxC+IxyJtSGeH3U0wz+YgGLmaLRRFFQF5QygqX4SWul0sy
gCWkmXBJnIMyYSYjdyF/J9CjZPzOK2iG7oSeXIJgTAntpp7q1JUpIOQe54j8XgpZ
HDhRTrH4QtGBZkTEW+lT8KHV0QpmmPsoVOVOHS+XJ0YUajh2UA==
=50LL
-----END PGP SIGNATURE-----

Attachment: pgpjjmM91zWAg.pgp
Description: PGP signature


--- End Message ---

Reply via email to