Your message dated Sun, 11 Aug 2024 16:36:49 +0000
with message-id <[email protected]>
and subject line Bug#1078477: fixed in gammapy 1.2-2
has caused the Debian Bug report #1078477,
regarding gammapy: FTBFS (test failure) on big-endian architectures
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 [email protected]
immediately.)


-- 
1078477: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1078477
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: gammapy
Version: 1.2-1
Severity: serious
Tags: ftbfs
X-Debbugs-Cc: Alexandre Detiste <[email protected]>

Hi Maintainer

The upload of gammapy 1.2-1 introduced a FTBFS on big-endian
architectures [1].  I've copied what I hope is the relevant part of
the log below.

Regards
Graham


[1] https://buildd.debian.org/status/logs.php?pkg=gammapy&arch=s390x


=================================== FAILURES ===================================
____________________________ test_obscore_structure ____________________________

    def test_obscore_structure():
        obscore_default_tab = empty_obscore_table()
        assert len(obscore_default_tab.columns) == 29
        assert len(obscore_default_tab["dataproduct_type"]) == 0
        assert obscore_default_tab.colnames[0] == "dataproduct_type"
>       assert obscore_default_tab.columns[0].dtype == "<U10"
E       AssertionError: assert dtype('>U10') == '<U10'
E        +  where dtype('>U10') = <Column name='dataproduct_type'
dtype='str10' unit='' description='Data product (file content) primary
type' length=0>\n.dtype

gammapy/data/tests/test_ivoa.py:12: AssertionError
_________________________ test_parameters_create_table _________________________

    def test_parameters_create_table():
        table = Parameters._create_default_table()

        assert len(table) == 0
        assert len(table.columns) == 11

        assert table.colnames == [
            "type",
            "name",
            "value",
            "unit",
            "error",
            "min",
            "max",
            "frozen",
            "is_norm",
            "link",
            "prior",
        ]
>       assert table.dtype == np.dtype(
            [
                ("type", "<U1"),
                ("name", "<U1"),
                ("value", "<f8"),
                ("unit", "<U1"),
                ("error", "<f8"),
                ("min", "<f8"),
                ("max", "<f8"),
                ("frozen", "?"),
                ("is_norm", "?"),
                ("link", "<U1"),
                ("prior", "<U1"),
            ]
        )
E       AssertionError: assert dtype([('type', '>U1'), ('name',
'>U1'), ('value', '>f8'), ('unit', '>U1'), ('error', '>f8'), ('min',
'>f8'), ('max', '>f8'), ('frozen', '?'), ('is_norm', '?'), ('link',
'>U1'), ('prior', '>U1')]) == dtype([('type', '<U1'), ('name', '<U1'),
('value', '<f8'), ('unit', '<U1'), ('error', '<f8'), ('min', '<f8'),
('max', '<f8'), ('frozen', '?'), ('is_norm', '?'), ('link', '<U1'),
('prior', '<U1')])
E        +  where dtype([('type', '>U1'), ('name', '>U1'), ('value',
'>f8'), ('unit', '>U1'), ('error', '>f8'), ('min', '>f8'), ('max',
'>f8'), ('frozen', '?'), ('is_norm', '?'), ('link', '>U1'), ('prior',
'>U1')]) = <Table length=0>\ntype name  value  unit  error    min
max   frozen is_norm link prior\nstr1 str1 float64 str1 float64
float64 float64  bool    bool  str1  str1\n---- ---- ------- ----
------- ------- ------- ------ ------- ---- -----.dtype
E        +  and   dtype([('type', '<U1'), ('name', '<U1'), ('value',
'<f8'), ('unit', '<U1'), ('error', '<f8'), ('min', '<f8'), ('max',
'<f8'), ('frozen', '?'), ('is_norm', '?'), ('link', '<U1'), ('prior',
'<U1')]) = <class 'numpy.dtype'>([('type', '<U1'), ('name', '<U1'),
('value', '<f8'), ('unit', '<U1'), ('error', '<f8'), ('min', '<f8'),
...])
E        +    where <class 'numpy.dtype'> = np.dtype

gammapy/modeling/tests/test_parameter.py:202: AssertionError

--- End Message ---
--- Begin Message ---
Source: gammapy
Source-Version: 1.2-2
Done: Alexandre Detiste <[email protected]>

We believe that the bug you reported is fixed in the latest version of
gammapy, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alexandre Detiste <[email protected]> (supplier of updated gammapy 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 [email protected])


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

Format: 1.8
Date: Sun, 11 Aug 2024 17:50:11 +0200
Source: gammapy
Architecture: source
Version: 1.2-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Astro Team <[email protected]>
Changed-By: Alexandre Detiste <[email protected]>
Closes: 1078477
Changes:
 gammapy (1.2-2) unstable; urgency=medium
 .
   * Team Upload
   * Skip 2 tests broken on big-endian (Closes: #1078477)
   * Sync i386 autopkgtest exclusion with build-time test
Checksums-Sha1:
 10ab25949239abd3913e21b370d794b8956eaf91 2490 gammapy_1.2-2.dsc
 33d6c07178e951c487409b79fd3ef6a757c7b352 8024 gammapy_1.2-2.debian.tar.xz
 da8216e619f3848115e8542226bb149f7359cdc6 13405 gammapy_1.2-2_source.buildinfo
Checksums-Sha256:
 d6cf41f45824a04e2ca0728814549b499f7bd5a91cdd33b1108736b8310e3c9f 2490 
gammapy_1.2-2.dsc
 309f00a3e250ad3467ca29f6d101206d7ec27a02725ca9eff02b8115b3d51eaa 8024 
gammapy_1.2-2.debian.tar.xz
 b3ceff536d2d791869f32c6866a9e7a276afc305209da08439722878a7f254b5 13405 
gammapy_1.2-2_source.buildinfo
Files:
 566edcf5f5ab58a64d99acaecf7462f2 2490 python optional gammapy_1.2-2.dsc
 375ae04c879a191dbb5c92554daeccde 8024 python optional 
gammapy_1.2-2.debian.tar.xz
 bccf1002af706bfc71f5e30051b10c97 13405 python optional 
gammapy_1.2-2_source.buildinfo

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

iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAma44HYRHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBojIhAAjzfAP8KmlcTKqsf+ZxsEmFIoBNuU1Bbz
Ck+UPjjwHmOxQ8hC96Wf0fXrhFknTpnBFRKK1yusyUBuM6zlEHCNGnar7BigmaDX
Zqfcl+6y9f/0rzcKDhpiBNcANqgoJ3w+JrltuLZEptOqce1a/fc12jVtd65bWDq1
uwbEXO8M67RbE5JaKJ5KZDlMIdBPiznDzXd8SwmG4WJYayWfIWhIZ/aMm5LgImla
95ScB3c9Tm3P1O99YoikhIdR73Kk2Qq6Ztc+ee52cAcL8HtN+nCR5IVD1zg02dV1
Qp5LfzOzXgSBztflIO/aMeLon+BX9woqTFoUeKfoxnYWYQJT4XT/3WpkCyW5Lcr5
KSB32wGk2iqtY0fgjcCvGA4rVweIbGNL3Mbj+KL/Je+jn/8wB2vAGPQCFvjbTdGk
X4NSzBD9RgM2ZT1zduzWHLloMrHfmtunVcC2HZGEc3V6UFMKY9sqCXoWFUSSwQAG
oYUbyYoXREPmNw5fXheXvdmG/2qAKAlGQTGHKUxC5hW5N1lUsRTSRc4R75EXkCxX
TIMmFAAHaCb9xN0aTJ1M0Bwa7yiP2FZeouT2lDfY/VjyBFYNolVRio+pcKkwzrGT
y438EtjapB/ASh22/hnNLIZECPCQv6vtqwpSsTpcujJ+9DPFWaqspORKKuhIcnef
Rxh2+x2mz0A=
=DJsB
-----END PGP SIGNATURE-----

Attachment: pgpXWjF9yOwSn.pgp
Description: PGP signature


--- End Message ---

Reply via email to