Your message dated Tue, 09 Dec 2025 01:18:56 +0000
with message-id <[email protected]>
and subject line Bug#1122082: fixed in gammapy 2.0-4
has caused the Debian Bug report #1122082,
regarding gammapy: FTBFS: astropy.utils.exceptions.AstropyDeprecationWarning
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.)


-- 
1122082: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1122082
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: gammapy
Version: 2.0-3
Severity: serious
Tags: ftbfs
User: [email protected]
Usertags: python3.14

Found during the Python 3.14 rebuild but I think it fails on 3.13 too:

_________________________________ test_basics
__________________________________

    def test_basics():
        random_state = np.random.RandomState(seed=0)
        obs_table = make_test_observation_table(n_obs=10,
random_state=random_state)
        assert obs_table.summary().startswith("Observation table")

>       filtered = obs_table.select_obs_id(1)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^

gammapy/data/tests/test_obs_table.py:213:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
gammapy/data/obs_table.py:75: in select_obs_id
    return self.__class__(self.loc["OBS_ID", obs_id])
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/astropy/table/index.py:1234: in __getitem__
    rows = self._get_row_idxs_as_list_or_int(item)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/astropy/table/index.py:1197: in
_get_row_idxs_as_list_or_int
    index_id, item = self._get_index_id_and_item(item)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/astropy/table/index.py:1132: in
_get_index_id_and_item
    index_id, item = interpret_item_as_index_id_and_item(item)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (('OBS_ID', 1),), kwargs = {}
category = <class 'astropy.utils.exceptions.AstropyDeprecationWarning'>

    def deprecated_func(*args, **kwargs):
        if pending:
            category = pending_warning_type
        else:
            category = warning_type

>       warnings.warn(message, category, stacklevel=2)
E       astropy.utils.exceptions.AstropyDeprecationWarning: Calling
`Table.loc/iloc/loc_indices[index_id, item]` to select `item` from index
E       `index_id` is deprecated. Instead select the index using the syntax
E       `Table.loc/iloc/loc_indices.with_index(index_id)[item]`.


https://buildd.debian.org/status/fetch.php?pkg=gammapy&arch=arm64&ver=2.0-3%2Bb1&stamp=1765042343&raw=0


-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.17.7+deb14+1-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

--- End Message ---
--- Begin Message ---
Source: gammapy
Source-Version: 2.0-4
Done: Stuart Prescott <[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.
Stuart Prescott <[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: Tue, 09 Dec 2025 11:54:44 +1100
Source: gammapy
Architecture: source
Version: 2.0-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Astro Team <[email protected]>
Changed-By: Stuart Prescott <[email protected]>
Closes: 1122082
Changes:
 gammapy (2.0-4) unstable; urgency=medium
 .
   * Team upload.
   * Cherry-pick upstream patch for Astropy compatibility (Closes: #1122082).
Checksums-Sha1:
 4551ca924eb4a91f9755540efb197a7868daac2b 2759 gammapy_2.0-4.dsc
 713dfb1b91260bc52b4814bd46b6755ea499b4f8 8928 gammapy_2.0-4.debian.tar.xz
 73954f2d8fde9452d5544459db2e373f718b1937 6069708 gammapy_2.0-4.git.tar.xz
 b01100c13a1103a503bb61c9abfff9a08993ff41 18210 gammapy_2.0-4_source.buildinfo
Checksums-Sha256:
 878aeda22fe16e0008d9770f6c679721c9e52ec7411831bafae38423e0fec632 2759 
gammapy_2.0-4.dsc
 963e4c8d0a7a8f443392624e0816b1f564b77783a38e6a24510972c4743869da 8928 
gammapy_2.0-4.debian.tar.xz
 e2e4c7fe3ad190c6118aba2fd52651ed8e5ad092a243c560f3289debfc1d93db 6069708 
gammapy_2.0-4.git.tar.xz
 bf8b17ee10c4490f326ff17771b4b7636b9bde2b1260bea0d82d0ae4443225a6 18210 
gammapy_2.0-4_source.buildinfo
Files:
 10c0241ac5eae5a420e55a70023e2293 2759 python optional gammapy_2.0-4.dsc
 9ac5ad1ed0140b1cb19f7ded713cbada 8928 python optional 
gammapy_2.0-4.debian.tar.xz
 d87db34d4d4066b727f6079a18ece755 6069708 python optional 
gammapy_2.0-4.git.tar.xz
 0c9b0156309c8eaae87fc83c01f048f0 18210 python optional 
gammapy_2.0-4_source.buildinfo
Git-Tag-Info: tag=3221788432e3caf837d4ab7f58690fc81477504b 
fp=90e2d2c1ad146a1b7ebb891dbbc17ebb1396f2f7
Git-Tag-Tagger: Stuart Prescott <[email protected]>

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

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmk3dk8ACgkQYG0ITkaD
wHlhRw//UOQNXca5MUDCbWHR6fDDMoqWACI3/1Fae7DsZgnp+N5kgC+3nnT3MeFw
JdLjdOsF9ADaRjVH7zSK7IytLoz/wqr6y1GZtMuuUrc4OoW59Ly2+eEQYRlobDmF
2KblhyzGi3p4OFZlZJNk1ojy+YQ7qE7kzefguL/ctU0QotLhGEqrJ3q2jHFKfeyZ
0AXv24dHWqiUq81xdWm3Z82069EECNjGorqmnBhLxVlUtLST2IKr4LVtHLj4nVK1
Du4mLjwRol0iM5XAml4KgVV0ghUaBdPjNNro3jHR9kconJUiSr2UGd2zN39ODsPh
hk4U4ZGtYfq2m2eQAWNfqP5Uchx7kdfy/XAZ7hJruL7TwTR1xg0v8eS/lhIL3VXz
iOkZBL8yF0B30ROZF82FJ9VnI0VEEh7dfTmD6Ep2ZPXzyTv1e78kg02DYb0W2jzo
s9keg13MTORDI2/zTN40u69zfqZWb8NHcs69atP6FgKOSsbxS9HB4xWnQ3gPJOFS
D+1BYe9AXb86xPkBSHY6OFiJg773i12Vh9v5V9TPHFDytD/pZ0NGfKBJ18w6VtjB
XuXrhLd5Am+/IE0WN15v9BLzkPxQWuBo61dFR15f9v9NZnyRctHhjca855us/yiP
a7JMZU7frthq1hODGFupLyp5Yv4+xXYzklwRqWTyG0179nqskP4=
=RCf3
-----END PGP SIGNATURE-----

Attachment: pgpFE3cl0XCAg.pgp
Description: PGP signature


--- End Message ---

Reply via email to