Your message dated Wed, 01 Jun 2022 17:49:01 +0000
with message-id <e1nwssr-000bnj...@fasolo.debian.org>
and subject line Bug#1012125: fixed in astroquery 0.4.6+dfsg-3
has caused the Debian Bug report #1012125,
regarding astroquery: Autopkgtests failure due to trying to write to /usr/lib
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.)
--
1012125: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1012125
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: astroquery
Version: 0.4.6+dfsg-2
Severity: serious
Justification: RT
X-Debbugs-Cc: simon.cho...@canonical.com
Hi,
The autopkgtests for 0.4.6+dfsg-2 fail with attempts to write to
locations in /usr/lib, preventing the package from migrating to testing.
>From
>https://ci.debian.net/data/autopkgtest/unstable/amd64/a/astroquery/21778465/log.gz
> :
=========================== short test summary info ============================
FAILED
../../../../usr/lib/python3/dist-packages/astroquery/esa/hubble/tests/test_esa_hubble.py::TestESAHubble::test_download_product_by_calibration
FAILED
../../../../usr/lib/python3/dist-packages/astroquery/esa/hubble/tests/test_esa_hubble.py::TestESAHubble::test_download_product_by_product_type
FAILED
../../../../usr/lib/python3/dist-packages/astroquery/esa/hubble/tests/test_esa_hubble.py::TestESAHubble::test_get_postcard
FAILED
../../../../usr/lib/python3/dist-packages/astroquery/esa/hubble/tests/test_esa_hubble.py::TestESAHubble::test_cone_search
FAILED
../../../../usr/lib/python3/dist-packages/astroquery/esa/hubble/tests/test_esa_hubble.py::TestESAHubble::test_cone_search_coords
FAILED
../../../../usr/lib/python3/dist-packages/astroquery/esa/hubble/tests/test_esa_hubble.py::TestESAHubble::test_get_artifact
===== 6 failed, 973 passed, 588 skipped, 2 xfailed, 150 warnings in 53.54s =====
Details of the first failure:
______________ TestESAHubble.test_download_product_by_calibration ______________
self = <astroquery.esa.hubble.tests.test_esa_hubble.TestESAHubble object at
0x7f9469e2f040>
def test_download_product_by_calibration(self):
parameters = {'observation_id': "J6FL25S4Q",
'cal_level': "RAW",
'filename': "J6FL25S4Q.vot",
'verbose': True}
ehst = ESAHubbleClass(self.get_dummy_tap_handler())
> ehst.download_product(observation_id=parameters['observation_id'],
calibration_level=parameters['cal_level'],
filename=parameters['filename'],
verbose=parameters['verbose'])
/usr/lib/python3/dist-packages/astroquery/esa/hubble/tests/test_esa_hubble.py:101:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3/dist-packages/astroquery/esa/hubble/core.py:106: in
download_product
response = self._request('GET', self.data_url, save=True, cache=True,
/usr/lib/python3/dist-packages/astroquery/esa/hubble/tests/test_esa_hubble.py:39:
in get_mockreturn
shutil.copy(response + '.test', response)
/usr/lib/python3.10/shutil.py:417: in copy
copyfile(src, dst, follow_symlinks=follow_symlinks)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
src =
'/usr/lib/python3/dist-packages/astroquery/esa/hubble/tests/data/J6FL25S4Q.vot.test'
dst =
'/usr/lib/python3/dist-packages/astroquery/esa/hubble/tests/data/J6FL25S4Q.vot'
[snip]
with open(src, 'rb') as fsrc:
try:
> with open(dst, 'wb') as fdst:
E PermissionError: [Errno 13] Permission denied:
'/usr/lib/python3/dist-packages/astroquery/esa/hubble/tests/data/J6FL25S4Q.vot'
/usr/lib/python3.10/shutil.py:256: PermissionError
--- End Message ---
--- Begin Message ---
Source: astroquery
Source-Version: 0.4.6+dfsg-3
Done: Vincent Prat <v...@debian.org>
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 1012...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Vincent Prat <v...@debian.org> (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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 01 Jun 2022 19:26:18 +0200
Source: astroquery
Architecture: source
Version: 0.4.6+dfsg-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Astro Team <debian-astro-maintain...@lists.alioth.debian.org>
Changed-By: Vincent Prat <v...@debian.org>
Closes: 1012125
Changes:
astroquery (0.4.6+dfsg-3) unstable; urgency=medium
.
[ Alexandre Ghiti ]
* d/p/Move-tests-files-to-tmp-for-user-to-have-write-acces.patch: Move
temp test files to a temp dir where the user has write access.
(Closes: #1012125)
.
[ Vincent Prat ]
* Adapt patch to Debian
Checksums-Sha1:
21577ae1a512d5f068019b9e63f28c946be2a19a 2436 astroquery_0.4.6+dfsg-3.dsc
6919597150f7b3439e912d2264b3a1afe26d7974 10328
astroquery_0.4.6+dfsg-3.debian.tar.xz
8b78b9b2a7eea51955cf9a2e00243457f1e75d3e 12849
astroquery_0.4.6+dfsg-3_amd64.buildinfo
Checksums-Sha256:
989260ff38a886f5c5c6a654770ee58a6336d409c6092f12a43e2ff32e38fc8a 2436
astroquery_0.4.6+dfsg-3.dsc
d9e2c193d34868f81404665f514e5f9962fa1a11e66bbc0cf7225f5bf9e7b701 10328
astroquery_0.4.6+dfsg-3.debian.tar.xz
f7ff50538892fa94b06f7ce83c51c3e5acc54b96922c4e070aeb35437a8506ca 12849
astroquery_0.4.6+dfsg-3_amd64.buildinfo
Files:
f28dfd5b501c4f341b3d3a4b20822505 2436 python optional
astroquery_0.4.6+dfsg-3.dsc
c0e315a890d874528bcb6e63d6f903be 10328 python optional
astroquery_0.4.6+dfsg-3.debian.tar.xz
931f3e6287087f716c15e437964f7c7b 12849 python optional
astroquery_0.4.6+dfsg-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJEBAEBCgAuFiEEwN+g0Kj2VQgeB/icBzHNjq6Fm38FAmKXoyMQHHZpdmlAZGVi
aWFuLm9yZwAKCRAHMc2OroWbfyzjD/95xEBcJ26yYvUK6SmRp+RwQTw/qQE5zff7
p6yN7VAKDFs6FMCaq+FhWDSmdnRpuXPkzaS9jaMad967WxcRNXvixWUdkuuh4Mns
Neg2FApi4V7HRL0Zg0QGAxaPTb9L7z/Ys3lCQOhdylB9AGlV+9FGDLiJw1tjCtxN
4aSzSZnn8mrSjig6nFWZTgKpuFG6hNuyP1ad0f+KWDNX76OTM8R7FaD8UK9I9iAv
GwUMV919K6dugvJF2qN8L2TiGPsoozwHjrjdEuNRmLO1GfR/IhtII8JhC5qas8RS
EA6p1rZttMzZsfwrytLO0K57jYdlB1djdLwiXdNHLcCukeIbdlrT0ciJhBBr8Vg2
jYzX6/wDn56+rrHDZXryOqJ5zSdntVN9Tg5k/9MNnq0WR6X39C5dCT4EL89ISqMV
2iRBMg0sRUXrwHSwo2x8XhkqO8EdXDjTqgpZkTmhg9FcReo8ju3C8ePx+Vh0o1SM
AmuutZOReZiDrWELaOwdn6wEGdlFbv0CDmaKiw8lamQBUB8L3WvTAO656YZ2vT70
ofU/ckJyRtaRqzv/bGvQiQJjIb4pItXXrL3+b5AsmAYRLb9yz6at8D8Dn8IpibhD
9olzFsvfb4KI9o3iLlYd0ZT4vmcY7EnfAOMG+YGnYnTRt+FylKpQ3VqMoIVIVGrz
dh7F5HEJbA==
=mgwd
-----END PGP SIGNATURE-----
--- End Message ---