Your message dated Fri, 20 Sep 2024 12:20:26 +0000
with message-id <[email protected]>
and subject line Bug#1082319: fixed in stsci.tools 4.1.1-2
has caused the Debian Bug report #1082319,
regarding stsci.tools FTBFS with Python 3.13
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.)


-- 
1082319: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082319
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: stsci.tools
Version: 4.1.1-1
Severity: normal
User: [email protected]
Usertags: python3.13
Forwarded: https://github.com/spacetelescope/stsci.tools/issues/163

This package failed build from source when test-built against a version of
python3-defaults that includes 3.13 as a supported version.

To reproduce this issue, build against python3-defaults (python3-all-dev etc.)
from Debian experimental.

What's new in Python 3.13:
https://docs.python.org/3.13/whatsnew/3.13.html

Log snippet:

stsci/tools/convertgeis.py .                                             [  6%]
stsci/tools/convertlog.py .                                              [  7%]
stsci/tools/convertwaiveredfits.py .                                     [  7%]
stsci/tools/fileutil.py s.                                               [  8%]
stsci/tools/gfit.py .                                                    [  9%]
stsci/tools/irafutils.py .                                               [  9%]
stsci/tools/linefit.py .                                                 [ 10%]
stsci/tools/logutil.py .                                                 [ 10%]
stsci/tools/readgeis.py .                                                [ 11%]
stsci/tools/swapgeis.py .                                                [ 11%]
stsci/tools/tests/test_bitmask.py ...................................... [ 29%]
..............................                                           [ 44%]
stsci/tools/tests/test_breadcrumb.py .                                   [ 44%]
stsci/tools/tests/test_cfgobj.py .                                       [ 45%]
stsci/tools/tests/test_check_files.py ....                               [ 47%]
stsci/tools/tests/test_compmixin.py .F..                                 [ 49%]
stsci/tools/tests/test_irafutils.py .............                        [ 55%]
stsci/tools/tests/test_isfits.py ..                                      [ 56%]
stsci/tools/tests/test_minmatch.py ...................                   [ 65%]
stsci/tools/tests/test_mputil.py .......                                 [ 69%]
stsci/tools/tests/test_stpyfits.py ....................                  [ 78%]
stsci/tools/tests/test_tkrotext.py x                                     [ 79%]
stsci/tools/tests/test_xyinterp.py .......                               [ 82%]
stsci/tools/textutil.py .                                                [ 83%]
stsci/tools/validate.py s....ssssssss.....................               [ 99%]
stsci/tools/wcsutil.py s                                                 [100%]

=================================== FAILURES ===================================
_________________________________ test_AnyType _________________________________

    def test_AnyType():
        x = AnyType('x')
        y = AnyType('yyy')
        z = AnyType(0)
        nn = AnyType(None)
    
        # compare two AnyType objects
        assert str(x > y) == "False"
        assert str(x < y) == "True"
        assert str(x <= y) == "True"
        assert str(x == y) == "False"
        assert str(y == y) == "True"
        assert str(x < z) == "False"
        assert str(x <= z) == "False"
        assert str(x > z) == "True"
        assert str(x != z) == "True"
        assert str(z != z) == "False"
        assert str(z == z) == "True"
        assert str(y < nn) == "False"
        assert str(y >= nn) == "True"
        assert str(y == nn) == "False"
        assert str(nn == nn) == "True"
>       assert str([str(jj) for jj in sorted([y, x, nn, z])]
                   ) == "['None', '0', 'x', 'yyy']"

stsci/tools/tests/test_compmixin.py:97: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
stsci/tools/compmixin.py:33: in __lt__
    return self._compare(other, lambda s,o: s < o)
stsci/tools/tests/test_compmixin.py:30: in _compare
    return self._compare(other.val, method)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <stsci.tools.tests.test_compmixin.AnyType object at 0xffffb2dd8fc0>
other = 0
method = <function ComparableMixin.__lt__.<locals>.<lambda> at 0xffffb2830040>

    def _compare(self, other, method):
        if isinstance(other, self.__class__):
            # recurse, get 2 logic below
            return self._compare(other.val, method)
        if isinstance(other, str):
            return method(str(self.val), other)
        elif other is None and self.val is None:
            return method(0, 0)
        elif other is None:
            # coerce to str compare
            return method(str(self.val), '')
        elif isinstance(other, int):
            # handle ONLY case where self.val is a single char or an int
            if isinstance(self.val, str) and len(self.val) == 1:
                return method(ord(self.val), other)
            else:
                # assume we are int-like
>               return method(int(self.val), other)
E               TypeError: int() argument must be a string, a bytes-like object 
or a real number, not 'NoneType'

stsci/tools/tests/test_compmixin.py:44: TypeError
=========================== short test summary info ============================
FAILED stsci/tools/tests/test_compmixin.py::test_AnyType - TypeError: int() a...
============= 1 failed, 191 passed, 14 skipped, 1 xfailed in 5.64s =============
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_stsci.tools/build; python3.13 -m pytest 
--doctest-modules .
I: pybuild base:311: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_stsci.tools/build; python3.12 -m pytest 
--doctest-modules .
============================= test session starts ==============================
platform linux -- Python 3.12.6, pytest-8.3.3, pluggy-1.5.0
Running tests in ..

Date: 2024-09-19T13:52:34

Platform: Linux-6.1.0-25-cloud-arm64-aarch64-with-glibc2.40

Executable: /usr/bin/python3.12

Full Python Version: 
3.12.6 (main, Sep  7 2024, 14:20:15) [GCC 14.2.0]

encodings: sys: utf-8, locale: UTF-8, filesystem: utf-8
byteorder: little
float info: dig: 15, mant_dig: 15

Package versions: 
Numpy: 1.26.4
Scipy: not available
Matplotlib: not available
h5py: not available
Pandas: not available

Using Astropy options: remote_data: none.

rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_stsci.tools/build
configfile: pyproject.toml
plugins: typeguard-4.3.0, arraydiff-0.6.1, cov-5.0.0, astropy-header-0.2.2, 
filter-subpackage-0.2.0, mock-3.14.0, hypothesis-6.112.0, remotedata-0.4.1, 
doctestplus-1.2.1, astropy-0.11.0
collected 207 items

stsci/tools/asnutil.py s..                                               [  1%]
stsci/tools/bitmask.py ..                                                [  2%]
stsci/tools/configobj.py s....s..                                        [  6%]
stsci/tools/convertgeis.py .                                             [  6%]
stsci/tools/convertlog.py .                                              [  7%]
stsci/tools/convertwaiveredfits.py .                                     [  7%]
stsci/tools/fileutil.py s.                                               [  8%]
stsci/tools/gfit.py .                                                    [  9%]
stsci/tools/irafutils.py .                                               [  9%]
stsci/tools/linefit.py .                                                 [ 10%]
stsci/tools/logutil.py .                                                 [ 10%]
stsci/tools/readgeis.py .                                                [ 11%]
stsci/tools/swapgeis.py .                                                [ 11%]
stsci/tools/tests/test_bitmask.py ...................................... [ 29%]
..............................                                           [ 44%]
stsci/tools/tests/test_breadcrumb.py .                                   [ 44%]
stsci/tools/tests/test_cfgobj.py .                                       [ 45%]
stsci/tools/tests/test_check_files.py ....                               [ 47%]
stsci/tools/tests/test_compmixin.py ....                                 [ 49%]
stsci/tools/tests/test_irafutils.py .............                        [ 55%]
stsci/tools/tests/test_isfits.py ..                                      [ 56%]
stsci/tools/tests/test_minmatch.py ...................                   [ 65%]
stsci/tools/tests/test_mputil.py .......                                 [ 69%]
stsci/tools/tests/test_stpyfits.py ....................                  [ 78%]
stsci/tools/tests/test_tkrotext.py x                                     [ 79%]
stsci/tools/tests/test_xyinterp.py .......                               [ 82%]
stsci/tools/textutil.py .                                                [ 83%]
stsci/tools/validate.py s....ssssssss.....................               [ 99%]
stsci/tools/wcsutil.py s                                                 [100%]

================== 192 passed, 14 skipped, 1 xfailed in 5.61s ==================
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13 
3.12" returned exit code 13
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-09-19T13:52:39Z


If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/794481/

This bug has been filed at "normal" severity, as we haven't started the
transition to add 3.13 as a supported version, yet. This will be raised to RC
as soon as that happens, hopefully well before trixie.

Thanks,

Stefano

--- End Message ---
--- Begin Message ---
Source: stsci.tools
Source-Version: 4.1.1-2
Done: Ole Streicher <[email protected]>

We believe that the bug you reported is fixed in the latest version of
stsci.tools, 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 stsci.tools 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: Fri, 20 Sep 2024 13:27:21 +0200
Source: stsci.tools
Architecture: source
Version: 4.1.1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Astro Team <[email protected]>
Changed-By: Ole Streicher <[email protected]>
Closes: 1082319
Changes:
 stsci.tools (4.1.1-2) unstable; urgency=medium
 .
   * Update test_compmixin.py (Closes: #1082319)
Checksums-Sha1:
 f16a80d36b222ae180736e22220dcf8f19cc0968 2284 stsci.tools_4.1.1-2.dsc
 dbb53d7aafce4240e8be6fad4a2f5f118cae28a1 4436 stsci.tools_4.1.1-2.debian.tar.xz
 056c5cac9dcaa6ba77b04e87da7cadba07a1cb7f 9242 
stsci.tools_4.1.1-2_amd64.buildinfo
Checksums-Sha256:
 1269a063f7ee4f8e516475c94448ca67800b58bb21d8c859e62061a28579998f 2284 
stsci.tools_4.1.1-2.dsc
 76a4598845640734ab261c804e950aaa97ec4718a4e5e04f0a6febd53177f1e3 4436 
stsci.tools_4.1.1-2.debian.tar.xz
 dc8af9bae393a696b0e7e47d80334a362aead0f61c334bd622b3305f14d31169 9242 
stsci.tools_4.1.1-2_amd64.buildinfo
Files:
 acfaa43a85170a7082eaef8e63d115a6 2284 python optional stsci.tools_4.1.1-2.dsc
 e2b3ae592951079223347c969e618094 4436 python optional 
stsci.tools_4.1.1-2.debian.tar.xz
 ac5c60f0a9395f64f7c8bc44c793dc5d 9242 python optional 
stsci.tools_4.1.1-2_amd64.buildinfo

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

iQIzBAEBCgAdFiEEuvxshffLFD/utvsVcRWv0HcQ3PcFAmbtZK4ACgkQcRWv0HcQ
3PckVhAAudeVMStmi1mnoYlIDa/bLsf+/2OG9wGBPA1/FQWDYzJwVNFcTILj1NFJ
Ri7EPrFmysWW1vH0hFBxuooH+kS62bRtO0Xo5ASOq4jggDDORvtzCU1oiig1t9pI
Cwovm82VD2ZccTD7dx5ATgB2GaBkcyWt0+8mHm95+VITYxbJRub5Mtw4C6pGEXA0
nw9WjnnyxkxG4c2kakGd1RUn58ktfqybjTAYHqXl81eHAibQaF8aXAhbKDvq6pnF
UOFTbOPenKBbZyVssJwZn5//NCJV50ijP/F3oAiN0ZpR5w/YBwSSMW+o7yHUt66F
nyDCA1Dcg44NoPMwI8DTU/iIP+cTHazweX15m8sYgYg4RWrIUXd/EbI6HGMhM+Zy
5mCc9drdyyVHAxwZQH5+8MUBWvJS8qun0x7Bsi1hxOgnY1hCQ6cBgpVW7G6hbs74
rhrU+4Zoct324cItuwHeDiSVpel4S/wfyeTtLxgDRFPdacvQsoSLvfY46YxzIp2Y
ujTRT9el5OXFlKE0ozK9AHt6xwWGGJA32opSRgMYPq9SWBzz0bbNkBWgv8xC6obn
OTS4nTaW5Bqp96/IVauaNR5Quyq99ih1AraDQS4X1bVY5x31jO4cJiTsxwPauAP2
1AiE6qiH4ewjrfP7jgKAnPHAkg3D463FHtcJUiKqeJz0dMkqF0w=
=rcJn
-----END PGP SIGNATURE-----

Attachment: pgpqnEmVYocW8.pgp
Description: PGP signature


--- End Message ---

Reply via email to