Your message dated Tue, 15 Nov 2022 22:30:54 +0000
with message-id <e1ov4se-000ge5...@fasolo.debian.org>
and subject line Bug#1024044: fixed in python-ltfatpy 1.0.16-8
has caused the Debian Bug report #1024044,
regarding python-ltfatpy FTBFS with Python 3.11 as supported version
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.)


-- 
1024044: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1024044
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-ltfatpy
Version: 1.0.16-7
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/package.php?p=python-ltfatpy&suite=sid

...
=================================== FAILURES ===================================
________________ TestGabWin.test_composed_dictionnaries_entries ________________

self = <ltfatpy.tests.gabor.test_gabwin.TestGabWin 
testMethod=test_composed_dictionnaries_entries>

    def test_composed_dictionnaries_entries(self):
        a = random.randint(10, 40)
        M = random.randint(10, 40)
        L = lcm(a, M)
    
        # default
        self.assertRaises(TypeError, gabwin, {'name': 1}, a, M, L)
    
        # dual psech
        tfr = 10
        gd = {'name': ('dual', 'sech'), 'tfr': tfr}
        mess = "a = {0:d}, M = {1:d}, L = {2:d}".format(a, M, L)
        mess += str(gd)
        (g, info) = gabwin(gd, a, M, L)
        mess += "\ng = " + str(g)
        mess += "\ninfo = " + str(info)
        self.assertFalse(info['gauss'], mess)
        self.assertTrue(info['wasreal'], mess)
        self.assertFalse(info['istight'], mess)
        self.assertTrue(info['isdual'], mess)
        self.assertFalse(info['wasrow'], mess)
        self.assertFalse(info['isfir'], mess)
        self.assertEqual(info['auxinfo']["tfr"], tfr, mess)
        self.assertEqual(info["gl"], len(g), mess)
        gt = gabdual(psech(L, tfr)[0], a, M, L)
        mess += "\ngt = " + str(gt)
        np.testing.assert_array_almost_equal(g, gt, 10, mess)
        self.assertRaises(ValueError, gabwin, gd, a, M)
    
        # dual pgauss
        tfr = 10
        gd = {'name': ('dual',), 'tfr': tfr}
        mess = "a = {0:d}, M = {1:d}, L = {2:d}".format(a, M, L)
        mess += str(gd)
        (g, info) = gabwin(gd, a, M, L)
        mess += "\ng = " + str(g)
        mess += "\ninfo = " + str(info)
        self.assertTrue(info['auxinfo']['gauss'], mess)
        self.assertTrue(info['wasreal'], mess)
        self.assertFalse(info['istight'], mess)
        self.assertTrue(info['isdual'], mess)
        self.assertFalse(info['wasrow'], mess)
        self.assertFalse(info['isfir'], mess)
        self.assertEqual(info['auxinfo']["tfr"], tfr, mess)
        self.assertEqual(info["gl"], len(g), mess)
        gt = gabdual(pgauss(L, tfr)[0], a, M, L)
        mess += "\ngt = " + str(gt)
        np.testing.assert_array_almost_equal(g, gt, 10, mess)
        self.assertRaises(ValueError, gabwin, gd, a, M)
    
        # dual fir
>       name = random.sample(arg_firwin(), 1)[0]

ltfatpy/tests/gabor/test_gabwin.py:356: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <random.Random object at 0x22fd020>
population = {'bartlett', 'blackman', 'blackman2', 'cosine', 'hamming', 'hann', 
...}
k = 1

    def sample(self, population, k, *, counts=None):
        """Chooses k unique random elements from a population sequence.
    
        Returns a new list containing elements from the population while
        leaving the original population unchanged.  The resulting list is
        in selection order so that all sub-slices will also be valid random
        samples.  This allows raffle winners (the sample) to be partitioned
        into grand prize and second place winners (the subslices).
    
        Members of the population need not be hashable or unique.  If the
        population contains repeats, then each occurrence is a possible
        selection in the sample.
    
        Repeated elements can be specified one at a time or with the optional
        counts parameter.  For example:
    
            sample(['red', 'blue'], counts=[4, 2], k=5)
    
        is equivalent to:
    
            sample(['red', 'red', 'red', 'red', 'blue', 'blue'], k=5)
    
        To choose a sample from a range of integers, use range() for the
        population argument.  This is especially fast and space efficient
        for sampling from a large population:
    
            sample(range(10000000), 60)
    
        """
    
        # Sampling without replacement entails tracking either potential
        # selections (the pool) in a list or previous selections in a set.
    
        # When the number of selections is small compared to the
        # population, then tracking selections is efficient, requiring
        # only a small set and an occasional reselection.  For
        # a larger number of selections, the pool tracking method is
        # preferred since the list takes less space than the
        # set and it doesn't suffer from frequent reselections.
    
        # The number of calls to _randbelow() is kept at or near k, the
        # theoretical minimum.  This is important because running time
        # is dominated by _randbelow() and because it extracts the
        # least entropy from the underlying random number generators.
    
        # Memory requirements are kept to the smaller of a k-length
        # set or an n-length list.
    
        # There are other sampling algorithms that do not require
        # auxiliary memory, but they were rejected because they made
        # too many calls to _randbelow(), making them slower and
        # causing them to eat more entropy than necessary.
    
        if not isinstance(population, _Sequence):
>           raise TypeError("Population must be a sequence.  "
                            "For dicts or sets, use sorted(d).")
E           TypeError: Population must be a sequence.  For dicts or sets, use 
sorted(d).

/usr/lib/python3.11/random.py:436: TypeError
----------------------------- Captured stdout call -----------------------------
Test done
...
=========================== short test summary info ============================
FAILED 
ltfatpy/tests/gabor/test_gabwin.py::TestGabWin::test_composed_dictionnaries_entries
FAILED 
ltfatpy/tests/gabor/test_gabwin.py::TestGabWin::test_simple_dictionnaries_entries
FAILED ltfatpy/tests/gabor/test_gabwin.py::TestGabWin::test_str_entries - Typ...
============ 3 failed, 136 passed, 16 warnings in 82.57s (0:01:22) =============
E: pybuild pybuild:379: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ltfatpy/build; python3.11 -m pytest 
...

--- End Message ---
--- Begin Message ---
Source: python-ltfatpy
Source-Version: 1.0.16-8
Done: Antonio Valentino <antonio.valent...@tiscali.it>

We believe that the bug you reported is fixed in the latest version of
python-ltfatpy, 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 1024...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Antonio Valentino <antonio.valent...@tiscali.it> (supplier of updated 
python-ltfatpy 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: Tue, 15 Nov 2022 21:56:58 +0000
Source: python-ltfatpy
Architecture: source
Version: 1.0.16-8
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<debian-science-maintain...@lists.alioth.debian.org>
Changed-By: Antonio Valentino <antonio.valent...@tiscali.it>
Closes: 1024044
Changes:
 python-ltfatpy (1.0.16-8) unstable; urgency=medium
 .
   * debian/patches:
     - new 0002-Compatibility-with-Python-3.11.patch (Closes: #1024044).
Checksums-Sha1:
 14511cbf53d923d6b2d56384cf6a4909d786bb4e 2518 python-ltfatpy_1.0.16-8.dsc
 e8cffc384735b5bb7af116c5d152bb28c12157f7 5736 
python-ltfatpy_1.0.16-8.debian.tar.xz
 0c11c25914daae3e249aa2eeb2bca27a0c2d0471 12795 
python-ltfatpy_1.0.16-8_amd64.buildinfo
Checksums-Sha256:
 35f08d70b37ca5ed433c09b1aed468a759b6bb67cc1ad0a25808479748a3646e 2518 
python-ltfatpy_1.0.16-8.dsc
 6552ffd43ecc9652d8080eb980135a9ae7b74ef7ae4e579a72dcbff09fa214c1 5736 
python-ltfatpy_1.0.16-8.debian.tar.xz
 867e36fcf752bded539a060d4f45093cf41921c72d0a319dc5319af47d64ffd0 12795 
python-ltfatpy_1.0.16-8_amd64.buildinfo
Files:
 bc74d8cc30bbc40afab950792ae3f836 2518 python optional 
python-ltfatpy_1.0.16-8.dsc
 68981813131cdac6064f9453c9241088 5736 python optional 
python-ltfatpy_1.0.16-8.debian.tar.xz
 381a65f789c18fd360cc3f5812d936e4 12795 python optional 
python-ltfatpy_1.0.16-8_amd64.buildinfo

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

iQJRBAEBCgA7FiEEO3DyCaX/1okDxHLF6/SKslePmBIFAmN0DYIdHGFudG9uaW8u
dmFsZW50aW5vQHRpc2NhbGkuaXQACgkQ6/SKslePmBJCDw//eLph6SYqglpeKWQ7
R69IaUhCI6mCJv8XUeXE5dQ2ExabZRF2+xTJD4aFEyEWT4iXWrcBCpxX6V6wQjEs
zCQziulcp5t7WpV+HUvTmID0ft0aaPPEP9Xk1KGVFNEndyo2+h6lPPTiM1+7dbX0
11yDCOKABqof2CHGQ2kpCiXV9hT5BqlgtVSdwUuHtEtu0q8E6ULVDCjvbbBn3vah
/0mABhzP1GdIUTXYcH+z0ie1jvbCQPgo7za2G/27B9mcQwLSOZyDqeOeB9fEfJB0
60B9C3r7v8mCZ6szK1ejNf28Kyctp2Zh6T+wlhlXhunMUwroTt4kW5eZ5TMgu6op
S2Q2lt9/pQSes9WyUkSPFBzIGPEZdnqf+L96jMINZn3k+rG0eGK8qFXfKl5RHC2J
9mgcTvjSOpk/IckzrkJwW9A0+8TrLfvllp6QNtQKEqiDDyQ0DaUyLUbElTj0OdCR
ov69ssIepkIovaQ0WDtFphYxRv7FdbKsY0LkOS2tMgv3DJbBtMmusuUiEGpdydhc
WaoFDqU+RPLwyzhk4HhfJOVJNhfp3T54yvUYuse4zmAdhtjyGCRPcKKhU3DyDjfj
P0A3bLidspktLQ8bguSEQ8U72UbUuRfPeN3mkHJ1j48B3HOcYdWqQGTshbh5wvtb
icXFApC/gnl4gDDCymIt5V5dmdQ=
=Nxb9
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to