Your message dated Sun, 09 Nov 2025 17:04:24 +0000
with message-id <[email protected]>
and subject line Bug#1119842: fixed in astroquery 0.4.11+dfsg-4
has caused the Debian Bug report #1119842,
regarding astroquery: autopkgtest failure in testing: Forbidden for url: 
https://vizier.cds.unistra.fr/viz-bin/votable
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.)


-- 
1119842: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1119842
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: astroquery
Version: 0.4.11+dfsg-3
Severity: serious
User: [email protected]
Usertags: flaky

Dear maintainer(s),

Your package has an autopkgtest, great. However, the last run(s) in testing on amd64 failed [1]. Can you please investigate the situation and fix it? Your test seems to depend on external resources that occasionally block our hosts. Your test also fails to declare it needs external resources via the needs-internet restriction (although that wouldn't help for this case). Does it make sense to skip tests that need external resources (the name of the package suggest querying external sources might be the purpose of the package)? If not, maybe handle external resource availability more gracefully.

The release team has announced [2] that failing autopkgtest on amd64 and arm64 are considered RC in testing.

If you believe the failure is related to the infrastructure rather than the test of the package, don't hesitate to reach out to the ci-team on IRC (#debci on oftc) or via [email protected].

Paul

PS: this bug submission was largely automated, please contact me if you think I should improve my workflow.

[1] https://ci.debian.net/packages/a/astroquery/testing/amd64
[2] https://lists.debian.org/debian-devel-announce/2019/07/msg00002.html

https://ci.debian.net/packages/a/astroquery/testing/amd64/65607864/

96s =================================== FAILURES =================================== 96s _______________________ TestTap.test_query_target_error ________________________
 96s
96s self = <astroquery.esa.jwst.tests.test_jwsttap.TestTap object at 0x7f8b729c4310>
 96s
 96s     def test_query_target_error(self):
 96s         # need to patch simbad query object here
 96s         with patch("astroquery.simbad.SimbadClass.query_object",
 96s                    side_effect=lambda object_name: parse_single_table(
96s Path(__file__).parent / "data" / f"simbad_{object_name}.vot"
 96s                    ).to_table()):
 96s             jwst = JwstClass(show_messages=False)
 96s             simbad = SimbadClass()
 96s             ned = Ned()
 96s             vizier = Vizier()
 96s             # Testing default parameters
 96s             with pytest.raises((ValueError, TableParseError)) as err:
96s jwst.query_target(target_name="M1", target_resolver="") 96s assert "This target resolver is not allowed" in err.value.args[0]
 96s             with pytest.raises((ValueError, TableParseError)) as err:
 96s >               jwst.query_target("TEST")
 96s
96s /usr/lib/python3/dist-packages/astroquery/esa/jwst/tests/test_jwsttap.py:970: 96s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 96s /usr/lib/python3/dist-packages/astroquery/esa/jwst/core.py:549: in query_target 96s coordinates = self.resolve_target_coordinates(target_name=target_name, 96s /usr/lib/python3/dist-packages/astroquery/esa/jwst/core.py:593: in resolve_target_coordinates
 96s     result_table = Vizier.query_object(target_name,
96s /usr/lib/python3/dist-packages/astroquery/utils/class_or_instance.py:25: in f
 96s     return self.fn(obj, *args, **kwds)
 96s            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
96s /usr/lib/python3/dist-packages/astroquery/utils/process_asyncs.py:34: in newmethod
 96s     response.raise_for_status()
96s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
 96s
 96s self = <Response [403]>
 96s
 96s     def raise_for_status(self):
 96s         """Raises :class:`HTTPError`, if one occurred."""
 96s
 96s         http_error_msg = ""
 96s         if isinstance(self.reason, bytes):
 96s             # We attempt to decode utf-8 first because some servers
 96s             # choose to localize their reason strings. If the string
 96s             # isn't utf-8, we fall back to iso-8859-1 for all other
 96s             # encodings. (See PR #3538)
 96s             try:
 96s                 reason = self.reason.decode("utf-8")
 96s             except UnicodeDecodeError:
 96s                 reason = self.reason.decode("iso-8859-1")
 96s         else:
 96s             reason = self.reason
 96s
 96s         if 400 <= self.status_code < 500:
 96s             http_error_msg = (
96s f"{self.status_code} Client Error: {reason} for url: {self.url}"
 96s             )
 96s
 96s         elif 500 <= self.status_code < 600:
 96s             http_error_msg = (
96s f"{self.status_code} Server Error: {reason} for url: {self.url}"
 96s             )
 96s
 96s         if http_error_msg:
 96s >           raise HTTPError(http_error_msg, response=self)
96s E requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://vizier.cds.unistra.fr/viz-bin/votable
 96s
 96s /usr/lib/python3/dist-packages/requests/models.py:1026: HTTPError
96s ----------------------------- Captured stdout call -----------------------------
 96s INFO: SIMBAD could not resolve this target [astroquery.esa.jwst.core]
 96s INFO: NED could not resolve this target [astroquery.esa.jwst.core]
96s ------------------------------ Captured log call -------------------------------
 96s INFO     astropy:core.py:582 SIMBAD could not resolve this target
 96s INFO     astropy:core.py:590 NED could not resolve this target

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: astroquery
Source-Version: 0.4.11+dfsg-4
Done: Ole Streicher <[email protected]>

We believe that the bug you reported is fixed in the latest version of
astroquery, 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.
Ole Streicher <[email protected]> (supplier of updated astroquery 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, 09 Nov 2025 17:26:16 +0100
Source: astroquery
Architecture: source
Version: 0.4.11+dfsg-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Astro Team <[email protected]>
Changed-By: Ole Streicher <[email protected]>
Closes: 1119842
Changes:
 astroquery (0.4.11+dfsg-4) unstable; urgency=medium
 .
   * Switch uptream source to Github
   * Mark one test as remotedata (Closes: #1119842)
Checksums-Sha1:
 01dff20e3b6b512989ff8567370a9d64a76c4d2e 2712 astroquery_0.4.11+dfsg-4.dsc
 cc342b6d28cb62408f59dc3f1bca10767febc253 13484 
astroquery_0.4.11+dfsg-4.debian.tar.xz
Checksums-Sha256:
 4896c6cfc48af7091af191efe413300b2811c222fb209fb4816c7d8c3cc6151d 2712 
astroquery_0.4.11+dfsg-4.dsc
 9faf0f6bf8a88eb255d5a359df2c1cda0139c898c231d85f01599ba1f38b12f6 13484 
astroquery_0.4.11+dfsg-4.debian.tar.xz
Files:
 fe0eecb2e05ad2fca4611e6a12f7f97f 2712 python optional 
astroquery_0.4.11+dfsg-4.dsc
 64dcae925c06e54d9070f1503c4f96f7 13484 python optional 
astroquery_0.4.11+dfsg-4.debian.tar.xz

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

iQIzBAEBCgAdFiEEuvxshffLFD/utvsVcRWv0HcQ3PcFAmkQxLwACgkQcRWv0HcQ
3PcJyxAAmNPQO2sTMaWvOAvIIoklIKL1c9MxD/75AaTsVtcmSD+qK3fYEZM1rRys
Mpx4A6We5noU06s5BCdTO0WK/iThz/EJNWm+EqptuSds8g4eAKEeEACMulICjvEE
tEvArKIWOmr8BorSZWYtIVmOImOWtnigOVGj8XFi423HFTbltaaPKIlny2uIZ+Z1
zGetXNPq2wIm0BUT1uR1IYeiHHSo8F8DUWXERQI80Z0JCd7GIaKP8IqwMqm81ZpD
8osCIXfK6sQNCvGDQqbhaCZlOyMb/Fxi4vcdLOIZULl2NJg3WwgF47UaZETU9UHV
dgAuhwuhRbNQCCYchzEMNZitqVlNSenEM/NDiayHp5t9ARxePK0UdXV74XqYUVI0
Dpwui71sYWbfKToXdWstE6xI+F44Zfji5a87yLyUKyxS37gwkbN2XpXbuuavGO6l
Xi+5XeWUiZ1tP9UzTH1DiGnJT8skytzyFjDOjEpzUE/9u9dnEAlMj7/tuo0L9rzo
wAl4lrzUJmHDYx68B9BV7fueu+sMobpL7fb2sShTVaqr4Ue+1rOLaGrQYRfeKrSK
LkE21VGy3DntHv36miZRDH8mjV4KUjIzop27fhNtawbj2DHO29gfc+O2vVgUb4J6
46QcBukOZfWkL/Qoy8w8HbFY3BAsPdT2kLpFJuerthIMZlz1jDA=
=MYMi
-----END PGP SIGNATURE-----

Attachment: pgp_oKDBTN9nm.pgp
Description: PGP signature


--- End Message ---

Reply via email to