Your message dated Tue, 19 Nov 2024 20:39:19 +0000
with message-id <[email protected]>
and subject line Bug#1082151: fixed in pyflakes 3.2.0-2
has caused the Debian Bug report #1082151,
regarding pyflakes 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.)


-- 
1082151: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082151
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: pyflakes
Version: 3.2.0-1
Severity: normal
User: [email protected]
Usertags: python3.13
Forwarded: https://github.com/PyCQA/pyflakes/issues/812

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:

copying pyflakes/test/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyflakes/build/pyflakes/test
copying pyflakes/test/test_other.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyflakes/build/pyflakes/test
copying pyflakes/test/harness.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyflakes/build/pyflakes/test
copying pyflakes/test/test_api.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyflakes/build/pyflakes/test
copying pyflakes/test/test_type_annotations.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyflakes/build/pyflakes/test
copying pyflakes/test/test_doctests.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyflakes/build/pyflakes/test
copying pyflakes/test/test_code_segment.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyflakes/build/pyflakes/test
   dh_auto_test -O--buildsystem=pybuild
I: pybuild pybuild:308: mkdir -p 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyflakes/build/bin && ln -s 
/<<PKGBUILDDIR>>/bin/pyflakes 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyflakes/build/bin/pyflakes
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyflakes/build; 
python3.13 -m pytest 
============================= test session starts ==============================
platform linux -- Python 3.13.0rc2, pytest-8.3.3, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
plugins: typeguard-4.3.0
collected 730 items

pyflakes/test/test_api.py ...............................F....F...       [  5%]
pyflakes/test/test_builtin.py ..                                         [  5%]
pyflakes/test/test_code_segment.py .....                                 [  6%]
pyflakes/test/test_dict.py .........................                     [  9%]
pyflakes/test/test_doctests.py .................s....................... [ 15%]
...............................s........................................ [ 25%]
........................................................................ [ 35%]
...............ss..s..........s.......s..............                    [ 42%]
pyflakes/test/test_imports.py ....................................s..... [ 48%]
........................................................................ [ 58%]
...................                                                      [ 60%]
pyflakes/test/test_is_literal.py ...............................         [ 64%]
pyflakes/test/test_match.py ........                                     [ 66%]
pyflakes/test/test_other.py .................s.......................... [ 72%]
.........................................s.............................. [ 81%]
..............                                                           [ 83%]
pyflakes/test/test_type_annotations.py ................................. [ 88%]
..................                                                       [ 90%]
pyflakes/test/test_undefined_names.py .................................. [ 95%]
...............ss..s..........s..                                        [100%]

=================================== FAILURES ===================================
_____________________ IntegrationTests.test_errors_syntax ______________________

self = <pyflakes.test.test_api.IntegrationTests testMethod=test_errors_syntax>

    def test_errors_syntax(self):
        """
        When pyflakes finds errors with the files it's given, (if they don't
        exist, say), then the return code is non-zero and the errors are
        printed to stderr.
        """
        with open(self.tempfilepath, 'wb') as fd:
            fd.write(b"import")
        d = self.runPyflakes([self.tempfilepath])
        error_msg = '{0}:1:7: invalid syntax{1}import{1}      ^{1}'.format(
            self.tempfilepath, os.linesep)
>       self.assertEqual(d, ('', error_msg, 1))
E       AssertionError: Tuples differ: ('', "/tmp/tmpomkeo5fa/temp:1:7: 
Expected one [47 chars]", 1) != ('', '/tmp/tmpomkeo5fa/temp:1:7: invalid 
synta[20 chars]', 1)
E       
E       First differing element 1:
E       "/tmp/tmpomkeo5fa/temp:1:7: Expected one [43 chars] ^\n"
E       '/tmp/tmpomkeo5fa/temp:1:7: invalid synta[16 chars] ^\n'
E       
E       + ('', '/tmp/tmpomkeo5fa/temp:1:7: invalid syntax\nimport\n      ^\n', 
1)
E       - ('',
E       -  "/tmp/tmpomkeo5fa/temp:1:7: Expected one or more names after 
'import'\n"
E       -  'import\n'
E       -  '      ^\n',
E       -  1)

pyflakes/test/test_api.py:779: AssertionError
_________________________ TestMain.test_errors_syntax __________________________

self = <pyflakes.test.test_api.TestMain testMethod=test_errors_syntax>

    def test_errors_syntax(self):
        """
        When pyflakes finds errors with the files it's given, (if they don't
        exist, say), then the return code is non-zero and the errors are
        printed to stderr.
        """
        with open(self.tempfilepath, 'wb') as fd:
            fd.write(b"import")
        d = self.runPyflakes([self.tempfilepath])
        error_msg = '{0}:1:7: invalid syntax{1}import{1}      ^{1}'.format(
            self.tempfilepath, os.linesep)
>       self.assertEqual(d, ('', error_msg, 1))
E       AssertionError: Tuples differ: ('', "/tmp/tmp1sdggqia/temp:1:7: 
Expected one [47 chars]", 1) != ('', '/tmp/tmp1sdggqia/temp:1:7: invalid 
synta[20 chars]', 1)
E       
E       First differing element 1:
E       "/tmp/tmp1sdggqia/temp:1:7: Expected one [43 chars] ^\n"
E       '/tmp/tmp1sdggqia/temp:1:7: invalid synta[16 chars] ^\n'
E       
E       + ('', '/tmp/tmp1sdggqia/temp:1:7: invalid syntax\nimport\n      ^\n', 
1)
E       - ('',
E       -  "/tmp/tmp1sdggqia/temp:1:7: Expected one or more names after 
'import'\n"
E       -  'import\n'
E       -  '      ^\n',
E       -  1)

pyflakes/test/test_api.py:779: AssertionError
=========================== short test summary info ============================
FAILED pyflakes/test/test_api.py::IntegrationTests::test_errors_syntax - Asse...
FAILED pyflakes/test/test_api.py::TestMain::test_errors_syntax - AssertionErr...
================== 2 failed, 714 passed, 14 skipped in 1.78s ===================
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyflakes/build; python3.13 -m pytest 
I: pybuild pybuild:308: mkdir -p 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyflakes/build/bin && ln -s 
/<<PKGBUILDDIR>>/bin/pyflakes 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyflakes/build/bin/pyflakes
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyflakes/build; 
python3.12 -m pytest 
============================= test session starts ==============================
platform linux -- Python 3.12.6, pytest-8.3.3, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
plugins: typeguard-4.3.0
collected 730 items

pyflakes/test/test_api.py ........................................       [  5%]
pyflakes/test/test_builtin.py ..                                         [  5%]
pyflakes/test/test_code_segment.py .....                                 [  6%]
pyflakes/test/test_dict.py .........................                     [  9%]
pyflakes/test/test_doctests.py .................s....................... [ 15%]
...............................s........................................ [ 25%]
........................................................................ [ 35%]
...............ss..s..........s.......s..............                    [ 42%]
pyflakes/test/test_imports.py ....................................s..... [ 48%]
........................................................................ [ 58%]
...................                                                      [ 60%]
pyflakes/test/test_is_literal.py ...............................         [ 64%]
pyflakes/test/test_match.py ........                                     [ 66%]
pyflakes/test/test_other.py .................s.......................... [ 72%]
.........................................s.............................. [ 81%]
..............                                                           [ 83%]
pyflakes/test/test_type_annotations.py ................................. [ 88%]
..................                                                       [ 90%]
pyflakes/test/test_undefined_names.py .................................. [ 95%]
...............ss..s..........s..                                        [100%]

======================= 716 passed, 14 skipped in 1.75s ========================
I: pybuild pybuild:334: rm -rf 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pyflakes/build/bin
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13 
3.12" returned exit code 13
make: *** [debian/rules:15: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-09-18T19:18:14Z


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

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: pyflakes
Source-Version: 3.2.0-2
Done: Emmanuel Arias <[email protected]>

We believe that the bug you reported is fixed in the latest version of
pyflakes, 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.
Emmanuel Arias <[email protected]> (supplier of updated pyflakes 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: Tue, 19 Nov 2024 16:25:29 -0300
Source: pyflakes
Architecture: source
Version: 3.2.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Emmanuel Arias <[email protected]>
Closes: 1082151
Changes:
 pyflakes (3.2.0-2) unstable; urgency=medium
 .
   * Team Upload.
   * Apply patch to fix Python3.13 buildi (Closes: #1082151).
Checksums-Sha1:
 ee9d9bf3a24cc40577d3604adc0c2c4e9ed668d8 2152 pyflakes_3.2.0-2.dsc
 6ed3d1d9ab812fe85bb6234b68e33a69b82078e4 8560 pyflakes_3.2.0-2.debian.tar.xz
 5127ebf7a29e99fbb10a28f543ff1b03ce278cf8 7611 pyflakes_3.2.0-2_amd64.buildinfo
Checksums-Sha256:
 263052434fb55d83a2c048c35eba423f927e152723fc8faf98ed221022ef066e 2152 
pyflakes_3.2.0-2.dsc
 a5430eb424c3760d2db6e426eb114a6a2ee005ae78d47b04d958ee914bb5bf7a 8560 
pyflakes_3.2.0-2.debian.tar.xz
 a60a7d1bd190e5dc8437365fbcf2a806fc15c87a57f865d692d9191cfb2070da 7611 
pyflakes_3.2.0-2_amd64.buildinfo
Files:
 436c492c71de4b3f952f069ec87cb273 2152 python optional pyflakes_3.2.0-2.dsc
 3b78445ed23f85bc1929b24eea80522d 8560 python optional 
pyflakes_3.2.0-2.debian.tar.xz
 b9d1b2afb0a8c1760b7b123196d59fa2 7611 python optional 
pyflakes_3.2.0-2_amd64.buildinfo

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

iQJGBAEBCgAwFiEEE3lnVbvHK7ir4q61+p3sXeEcY/EFAmc88cgSHGVhbWFudUBk
ZWJpYW4ub3JnAAoJEPqd7F3hHGPxxcAP/35u+tL9MBj2Tn1NlIFnDfZi5OfwTBVs
JKV34cwIv3IUo6bnywtNT8P8v4t6suhu2YdrWo5ebbLq6L5GVeAPrfDRKkTzc29F
eEpFro5QSSt5heZTslAyGl7k+RuI9CTEY9qi5sNOpzX3k0daQWlR/2vOx4BJSMo6
9IR4RffYdA2OrzWx9W020nixw0DPO93NS4BI+j6M4LUlip8Txwi0wTkYGHSz/7s7
Hmp8deX6UwTWItpK3/4WiUEyGuTudSfjFs/l+eEiwA8nqWgdMrwN4Cq+mrUDd/P4
QIMYH+uFgPDRy3x0xPwBm0EYZ0Eja9/khWW9VW7xIw0MNCbpJ4RZ9kJqgZU7/oXc
jCE1WvLCkzOSZ83xptiZsZQq+b8BKMax+gXrV5sJkUvBE3hf0jL/bwOKmw2Jdefz
9QD/uVulHN9UXo6Ws06iamK2B7os6B8XyrZouZL3npaPcnz6gg4xR284BwfQF/Q+
6ey7poB1amJzLYZqjfgmlNxw6K2qEugTn5axlNmERPczSPN9dbGtKPxFZWBsAif0
wtEpsnklJsRX1v3efwoj3M7saebqvDhFJ/zBU+q+zI99rz0qMAHwnpm2RVqWUZnn
h8odE0Tr6MkKuiEn43r6oHaisTC5+3RnV+N5+EUBUw71/OC5NuAJWjlSwzMKAR9o
IqAc334e+Ck3
=gRi2
-----END PGP SIGNATURE-----

Attachment: pgpRR9qub_Xtk.pgp
Description: PGP signature


--- End Message ---

Reply via email to