Acknowledgement sent
to Stefano Rivera <stefanor@debian.org>:
New Bug report received and forwarded. Copy sent to Debian Python Team <team+python@tracker.debian.org>.
(Wed, 18 Sep 2024 18:39:03 GMT) (full text, mbox, link).
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: ptyprocess FTBFS with Python 3.13
Date: Wed, 18 Sep 2024 20:35:40 +0200
Source: ptyprocess
Version: 0.7.0-5
Severity: normal
User: debian-python@lists.debian.org
Usertags: python3.13
Forwarded: https://github.com/pexpect/ptyprocess/pull/75
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:
======================================================================
ERROR: tests.test_invalid_binary (unittest.loader._FailedTest.tests.test_invalid_binary)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.test_invalid_binary
Traceback (most recent call last):
File "/usr/lib/python3.13/unittest/loader.py", line 396, in _find_test_path
module = self._get_module_from_name(name)
File "/usr/lib/python3.13/unittest/loader.py", line 339, in _get_module_from_name
__import__(name)
~~~~~~~~~~^^^^^^
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ptyprocess/build/tests/test_invalid_binary.py", line 73, in <module>
suite = unittest.makeSuite(InvalidBinaryChars,'test')
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/unittest/__init__.py", line 80, in __getattr__
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
AttributeError: module 'unittest' has no attribute 'makeSuite'
----------------------------------------------------------------------
Ran 14 tests in 3.660s
FAILED (errors=1, skipped=2)
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ptyprocess/build; python3.13 -m unittest discover -v
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ptyprocess/build; python3.12 -m unittest discover -v
test_waitnoecho_forever (tests.test_echo.PtyEchoTestCase.test_waitnoecho_forever)
Ensure waitnoecho() with no timeout will return when echo=False. ... ok
test_waitnoecho_timeout (tests.test_echo.PtyEchoTestCase.test_waitnoecho_timeout)
Ensure waitnoecho() with timeout will return when using stty to unset echo. ... ok
test_invalid_binary (tests.test_invalid_binary.InvalidBinaryChars.test_invalid_binary)
This tests that we correctly handle the case where we attempt to ... ok
test_preexec (tests.test_preexec_fn.PreexecFns.test_preexec) ... ok
test_preexec_error (tests.test_preexec_fn.PreexecFns.test_preexec_error) ... ok
test_interactive_repl_unicode_echo (tests.test_spawn.PtyTestCase.test_interactive_repl_unicode_echo) ... skipped 'bc(1) not found on this server.'
test_interactive_repl_unicode_noecho (tests.test_spawn.PtyTestCase.test_interactive_repl_unicode_noecho) ... skipped 'bc(1) not found on this server.'
test_pass_fds (tests.test_spawn.PtyTestCase.test_pass_fds) ... ok
test_quick_spawn (tests.test_spawn.PtyTestCase.test_quick_spawn)
Spawn a very short-lived process. ... ok
test_spawn_sh (tests.test_spawn.PtyTestCase.test_spawn_sh) ... ok
test_spawn_sh_unicode (tests.test_spawn.PtyTestCase.test_spawn_sh_unicode) ... ok
test_wait_false_shortproc (tests.test_wait.TestWaitAfterTermination.test_wait_false_shortproc)
Ensure correct (False) wait status for short-lived processes. ... ok
test_wait_true_shortproc (tests.test_wait.TestWaitAfterTermination.test_wait_true_shortproc)
Ensure correct (True) wait status for short-lived processes. ... ok
test_wait_twice_longproc (tests.test_wait.TestWaitAfterTermination.test_wait_twice_longproc)
Ensure correct wait status when called twice. ... ok
----------------------------------------------------------------------
Ran 14 tests in 3.665s
OK (skipped=2)
dh_auto_test: error: pybuild --test -i python{version} -p "3.13 3.12" returned exit code 13
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-09-18T18:17:37Z
If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/777592/
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
Added tag(s) fixed-upstream.
Request was from debian-bts-link@lists.debian.org
to control@bugs.debian.org.
(Mon, 23 Sep 2024 17:39:03 GMT) (full text, mbox, link).
Message sent on
to Stefano Rivera <stefanor@debian.org>:
Bug#1082145.
(Sun, 03 Nov 2024 21:18:01 GMT) (full text, mbox, link).
Subject: Bug#1082145 marked as pending in ptyprocess
Date: Sun, 03 Nov 2024 21:15:55 +0000
Control: tag -1 pending
Hello,
Bug #1082145 in ptyprocess reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:
https://salsa.debian.org/python-team/packages/ptyprocess/-/commit/a1ec37f35ff6cfee1de74601a1a5e3249e5e96f6
------------------------------------------------------------------------
Remove unittest.makeSuite, gone from Python 3.13
Closes: #1082145
------------------------------------------------------------------------
(this message was generated automatically)
--
Greetings
https://bugs.debian.org/1082145
Added tag(s) pending.
Request was from Colin Watson <cjwatson@debian.org>
to 1082145-submitter@bugs.debian.org.
(Sun, 03 Nov 2024 21:18:01 GMT) (full text, mbox, link).
Reply sent
to Colin Watson <cjwatson@debian.org>:
You have taken responsibility.
(Sun, 03 Nov 2024 21:39:02 GMT) (full text, mbox, link).
Notification sent
to Stefano Rivera <stefanor@debian.org>:
Bug acknowledged by developer.
(Sun, 03 Nov 2024 21:39:02 GMT) (full text, mbox, link).
Source: ptyprocess
Source-Version: 0.7.0-6
Done: Colin Watson <cjwatson@debian.org>
We believe that the bug you reported is fixed in the latest version of
ptyprocess, 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 1082145@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Colin Watson <cjwatson@debian.org> (supplier of updated ptyprocess 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 ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sun, 03 Nov 2024 21:14:56 +0000
Source: ptyprocess
Architecture: source
Version: 0.7.0-6
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Colin Watson <cjwatson@debian.org>
Closes: 1082145
Changes:
ptyprocess (0.7.0-6) unstable; urgency=medium
.
* Team upload.
* Remove unittest.makeSuite, gone from Python 3.13 (closes: #1082145).
Checksums-Sha1:
9fee6a5067b8bfb6ca423b3f7b56721e74be5ec0 2194 ptyprocess_0.7.0-6.dsc
8599e0089be051cc4b71266dc269fe7e20bd7570 3672 ptyprocess_0.7.0-6.debian.tar.xz
Checksums-Sha256:
fe6cc6c0897c7f0c2f3cf9afb708d6041878aba885ccfb9aef5522a6a3f011b9 2194 ptyprocess_0.7.0-6.dsc
82d817ea4ffa0d13f9ba3118170d58926da88749ed781d21cef19402f1a53894 3672 ptyprocess_0.7.0-6.debian.tar.xz
Files:
9c52463ddb1e88c49d2490c43a2cda73 2194 python optional ptyprocess_0.7.0-6.dsc
bbce4dc237e8ae84aed5f454df27991c 3672 python optional ptyprocess_0.7.0-6.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAmcn5/4ACgkQOTWH2X2G
UAsJvg/8CUy44HZ7SLB6LeMUekJhN9f9SYcpjJZdZUvur5izh0d1PuVDHPngVhgg
BjivE4FyQVvb9u8wcO2Ux6LyEW/RY0G5i68G76APi38Du52h8wsa9bpuogBM/Yk8
Hw8T95MOjqq4utyHX3JWx4mx5NgRtpd6O/QYkgDsWwxN+YlDk0GVZCHIQ6RkHNQm
yxjgsVCiP/W0QdW6zoXlD9i8iYv+S9GuKAMf9hosLZl5+AVhP9F7NoM9KG6BUJ+o
+cH3LfG0ER8A1czoP6GPuglbhSYEFHw84Wrodpfqz+jsPzJRRZjUbvyiKRNZ3zzY
S4FUvOiIQloJZi1D/0a0pvMPD2P7O3qAUPYQ9UskPyWsEHNoIo2FxR+y3pYM0AyP
w+6b2ZCRfWQSo2es608NvmiDsiVpL0Wc5Lf3h9rIGEq1UJjsF2nyBVzjuMaCJtAf
rXczTEiiThjbbTx1wbb8C7g8996f3PvV7Ga9m/IvMawY0eKaRpgggh/TeYrkW+vw
wDI0LvfdSNKt8XKGWVZuADOoA84gSusPhdpwap5hifh0s5Ts8yUNkXYFMYk0E6Xu
z3yqGI27+iWneXjGi0jf5aXD+cfarKzi9MCnDru+P2g2c/Uz2EA5/Hnjp3uZugHg
Vec72RdSfdpP5mnrbLkGmRc69jFmdcq/kNetJ+ybHJl6Di8r1qk=
=HPZ4
-----END PGP SIGNATURE-----
Severity set to 'serious' from 'normal'
Request was from Stefano Rivera <stefanor@debian.org>
to control@bugs.debian.org.
(Wed, 13 Nov 2024 09:45:16 GMT) (full text, mbox, link).
Added tag(s) sid and trixie.
Request was from Andreas Beckmann <anbe@debian.org>
to control@bugs.debian.org.
(Thu, 14 Nov 2024 08:06:05 GMT) (full text, mbox, link).
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.