Your message dated Sat, 03 Oct 2020 14:34:26 +0000
with message-id <e1koice-0003tv...@fasolo.debian.org>
and subject line Bug#971541: fixed in astroquery 0.4.1+dfsg-2
has caused the Debian Bug report #971541,
regarding astroquery: autopkgtest failure on armhf
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.)


-- 
971541: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=971541
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: astroquery
Version: 0.4.1+dfsg-1
Severity: serious
Tags: sid bullseye
X-Debbugs-CC: debian...@lists.debian.org
User: debian...@lists.debian.org
Usertags: regression

Hi Maintainer

Autopkgtests have recently started running on armhf, and there
astroquery fails [1].
I've copied what I hope is the relevant part of the log below.

I've marked this as a regression as 0.3.9+dfsg-1 passes in Debian
stable, and 0.4+dfsg-3 passes in Ubuntu.

Regards
Graham


[1] https://ci.debian.net/packages/a/astroquery/testing/armhf/


=================================== FAILURES ===================================
_________________________ test_all_tables[toi-query34] _________________________

self = <astropy.io.ascii.core.TableOutputter object at 0xf299f490>
cols = [<astropy.io.ascii.core.Column object at 0xf299f6e8>,
<astropy.io.ascii.core.Column object at 0xf299f8f8>,
<astropy.io...99fdf0>, <astropy.io.ascii.core.Column object at
0xf299f778>, <astropy.io.ascii.core.Column object at 0xf299fa90>, ...]

    def _convert_vals(self, cols):
        for col in cols:
            # If a specific dtype was specified for a column, then use that
            # to set the defaults, otherwise use the generic defaults.
            default_converters = ([convert_numpy(col.dtype)] if col.dtype
                                  else self.default_converters)

            # If the user supplied a specific convert then that takes
precedence over defaults
            converters = self.converters.get(col.name, default_converters)

            col.converters = self._validate_and_copy(col, converters)

            # Catch the last error in order to provide additional information
            # in case all attempts at column conversion fail.  The initial
            # value of of last_error will apply if no converters are defined
            # and the first col.converters[0] access raises IndexError.
            last_err = 'no converters defined'

            while not hasattr(col, 'data'):
                try:
                    converter_func, converter_type = col.converters[0]
                    if not issubclass(converter_type, col.type):
                        raise TypeError('converter type does not match
column type')
>                   col.data = converter_func(col.str_vals)

/usr/lib/python3/dist-packages/astropy/io/ascii/core.py:960:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

vals = ['9048843364125']

    def generic_converter(vals):
>       return numpy.array(vals, numpy_type)
E       OverflowError: Python int too large to convert to C long

/usr/lib/python3/dist-packages/astropy/io/ascii/core.py:904: OverflowError

During handling of the above exception, another exception occurred:

patch_get = <_pytest.monkeypatch.MonkeyPatch object at 0xf299fb08>
table = 'toi', query = {'where': 'toi=256.01'}

    @pytest.mark.filterwarnings("error")
    @pytest.mark.parametrize("table,query", ALL_TABLES)
    def test_all_tables(patch_get, table, query):
>       data = NasaExoplanetArchive.query_criteria(table, select="*", **query)

/usr/lib/python3/dist-packages/astroquery/nasa_exoplanet_archive/tests/test_nasa_exoplanet_archive.py:188:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3/dist-packages/astroquery/utils/class_or_instance.py:25: in f
    return self.fn(obj, *args, **kwds)
/usr/lib/python3/dist-packages/astroquery/utils/process_asyncs.py:29:
in newmethod
    result = self._parse_result(response, verbose=verbose)
/usr/lib/python3/dist-packages/astroquery/nasa_exoplanet_archive/core.py:471:
in _parse_result
    data = ascii.read(text, format="ipac", fast_reader=False,
converters=CONVERTERS)
/usr/lib/python3/dist-packages/astropy/io/ascii/ui.py:323: in read
    dat = reader.read(table)
/usr/lib/python3/dist-packages/astropy/io/ascii/core.py:1209: in read
    table = self.outputter(cols, self.meta)
/usr/lib/python3/dist-packages/astropy/io/ascii/core.py:990: in __call__
    self._convert_vals(cols)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <astropy.io.ascii.core.TableOutputter object at 0xf299f490>
cols = [<astropy.io.ascii.core.Column object at 0xf299f6e8>,
<astropy.io.ascii.core.Column object at 0xf299f8f8>,
<astropy.io...99fdf0>, <astropy.io.ascii.core.Column object at
0xf299f778>, <astropy.io.ascii.core.Column object at 0xf299fa90>, ...]

    def _convert_vals(self, cols):
        for col in cols:
            # If a specific dtype was specified for a column, then use that
            # to set the defaults, otherwise use the generic defaults.
            default_converters = ([convert_numpy(col.dtype)] if col.dtype
                                  else self.default_converters)

            # If the user supplied a specific convert then that takes
precedence over defaults
            converters = self.converters.get(col.name, default_converters)

            col.converters = self._validate_and_copy(col, converters)

            # Catch the last error in order to provide additional information
            # in case all attempts at column conversion fail.  The initial
            # value of of last_error will apply if no converters are defined
            # and the first col.converters[0] access raises IndexError.
            last_err = 'no converters defined'

            while not hasattr(col, 'data'):
                try:
                    converter_func, converter_type = col.converters[0]
                    if not issubclass(converter_type, col.type):
                        raise TypeError('converter type does not match
column type')
                    col.data = converter_func(col.str_vals)
                    col.type = converter_type
                except (TypeError, ValueError) as err:
                    col.converters.pop(0)
                    last_err = err
                except OverflowError as err:
                    # Overflow during conversion (most likely an int that
                    # doesn't fit in native C long). Put string at the top of
                    # the converters list for the next while iteration.
>                   warnings.warn(
                        "OverflowError converting to {} in column {},
reverting to String."
                        .format(converter_type.__name__, col.name),
AstropyWarning)
E                   astropy.utils.exceptions.AstropyWarning:
OverflowError converting to IntType in column htm20, reverting to
String.

--- End Message ---
--- Begin Message ---
Source: astroquery
Source-Version: 0.4.1+dfsg-2
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 971...@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: Sat, 03 Oct 2020 15:16:42 +0200
Source: astroquery
Architecture: source
Version: 0.4.1+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Astro Team <debian-astro-maintain...@lists.alioth.debian.org>
Changed-By: Vincent Prat <v...@debian.org>
Closes: 971541
Changes:
 astroquery (0.4.1+dfsg-2) unstable; urgency=medium
 .
   * Add patch to skip failing test (Closes: #971541)
   * Add lintian override for doc outside of /usr/share/doc (false positive)
   * Remove now unused lintian override (broken-zip)
Checksums-Sha1:
 658842919be2294bfb297fb28c0f765523c08de8 2395 astroquery_0.4.1+dfsg-2.dsc
 224f71fd02e7e757776f4aa29bb483f5ee39375c 9888 
astroquery_0.4.1+dfsg-2.debian.tar.xz
 370d6f635dc35ec9e486aa0efd8da02cf8441553 11296 
astroquery_0.4.1+dfsg-2_amd64.buildinfo
Checksums-Sha256:
 179ead5dccf138a0b8eb130a6dbcab34f7dd82fad1c2ab45710dfbfe5de58482 2395 
astroquery_0.4.1+dfsg-2.dsc
 5aad9eae648bfe290104608b1effe11f849c16861ca29ecd1b1f0bbb7b96dbdf 9888 
astroquery_0.4.1+dfsg-2.debian.tar.xz
 416f8f920a49b3b112a920f0e343d21356a98398d4d124489ac19a659812b247 11296 
astroquery_0.4.1+dfsg-2_amd64.buildinfo
Files:
 57f59457a90f3160c790d0d0fde94883 2395 python optional 
astroquery_0.4.1+dfsg-2.dsc
 cce058a764d460a174c4a8894ff4d468 9888 python optional 
astroquery_0.4.1+dfsg-2.debian.tar.xz
 27c5e6c4dd0af6e2e7a51b8fe2411a07 11296 python optional 
astroquery_0.4.1+dfsg-2_amd64.buildinfo

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

iQJEBAEBCgAuFiEEwN+g0Kj2VQgeB/icBzHNjq6Fm38FAl94iZMQHHZpdmlAZGVi
aWFuLm9yZwAKCRAHMc2OroWbf07TD/9brJ26rK+YYxBRybqPmqJt7+BINOyI1eLP
dTwDRRpmgg1NG5cybJp5x26QBUJ+PUkq5Rlpu99/0w0ATzTSVbeYdGPGyuNVLXY+
66aD286ZTjFkAuaro3MO/bFqubNpvWTyuD1j1ons229zixFBhernN+FQ2VvTO+9n
Yo3Fbcy8nEloVNOTxgu5XO2nRWmbgsVmA+Fwhv2e7HoSSH9V7SJFR19IS9zPRTuv
aBckzf+Cjssyvpe7nKMtqIh6cboq24micQBzJGDMej7gjBF9aG4OSpDdK8Yivnvf
K5dQ445zSfyOPYWE2KK+eDZTgZQmf2JWCDMsOXAAPD/gQT4YY5GDFv1qjRpyJhyN
thGG88C8wBkT/v2h0gOoTXfs6tjUn8IENiEINHyUXuiHyu/EJMXkvI65gmFzCVn+
h/EeHJjm/JAqSOWv1lZzK/EPtOfBXO+YcWwNoKpUxU+vdK6xIvsqAFr/tYemfwbW
sZXbhZSIXiR52oHIZF1O1GC4fz4LVhu/7uB/RBGcoAKrK9sL90HrQO+Udhgdqbbk
5nAhdYcNJ4tX1n6rnHTpPlTpHxhgnEsKc1wP+hjvhHNjpjt4kOhIiJkXjhMt5x/i
48FLIPRmj5MgauQaC/EJfVp72e4DTSHQj8B+RRGwaLAAF15Aobr7dYH3IU67o09u
QEDhIPD//g==
=5YE/
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to