Your message dated Mon, 11 Nov 2024 21:51:58 +0000
with message-id <e1tacke-003lw9...@fasolo.debian.org>
and subject line Bug#1087103: fixed in xonsh 0.18.3+dfsg-2
has caused the Debian Bug report #1087103,
regarding xonsh + python 3.12.7 failure
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.)
--
1087103: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1087103
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: xonsh
Version: 0.18.3+dfsg-1
Severity: important
X-Debbugs-Cc: r...@debian.org
xonsh has regressed since Python 3.12.7 hit the archives. It became
an annoyance after it has reached Debian Testing now. :-(
I should have reported it earlier.
It fails with:
```
xonsh: For full traceback set: $XONSH_SHOW_TRACEBACK = True
Exception in {'cls': 'ProcProxy', 'name': None, 'func':
<xonsh.xontribs.XontribAlias object at 0x7fc636f72360>, 'alias': 'xontrib',
'pid': 14189}
TypeError: ArgParser._parse_known_args() takes 3 positional arguments but 4
were given
Exception in {'cls': 'ProcProxy', 'name': None, 'func':
<xonsh.xontribs.XontribAlias object at 0x7fc636f72360>, 'alias': 'xontrib',
'pid': 14189}
xonsh: To log full traceback to a file set: $XONSH_TRACEBACK_LOGFILE =
<filename>
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/xonsh/procs/proxies.py", line 784, in
wait
r = run_with_partial_args(
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/xonsh/cli_utils.py", line 381, in
run_with_partial_args
return func(**kwargs)
^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/xonsh/cli_utils.py", line 646, in
__call__
result = dispatch(
^^^^^^^^^
File "/usr/lib/python3/dist-packages/xonsh/cli_utils.py", line 405, in
dispatch
parsed = parser.parse_args(args)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/argparse.py", line 1918, in parse_args
args, argv = self.parse_known_args(args, namespace)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/argparse.py", line 1928, in parse_known_args
return self._parse_known_args2(args, namespace, intermixed=False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/argparse.py", line 1957, in _parse_known_args2
namespace, args = self._parse_known_args(args, namespace, intermixed)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: ArgParser._parse_known_args() takes 3 positional arguments but 4
were given
xonsh: To log full traceback to a file set: $XONSH_TRACEBACK_LOGFILE =
<filename>
Traceback (most recent call last):
File "/home/rrs/.xonshrc", line 82, in <module>
abbrevs['_gitdiff'] = "git diff --color=always | less"
NameError: name 'abbrevs' is not defined
error running xonsh run control file '/home/rrs/.xonshrc': name 'abbrevs' is
not defined
```
Once I downgrade back to 3.12.6, things are behaving normal.
I reported this upstream as well but I believe it is an issue with Python from
Debian.
* https://github.com/xonsh/xonsh/issues/5724
Note: I believe if you rebuild xonsh you may be able to reproduce the issue in
the testsuite
-- System Information:
Debian Release: trixie/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable-debug'), (500,
'testing-debug'), (500, 'stable-updates'), (500, 'stable-security'), (500,
'oldstable-updates'), (500, 'oldstable-security'), (500, 'oldoldstable'), (500,
'unstable'), (500, 'stable'), (500, 'oldstable'), (100, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 6.11.6-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_IN.UTF-8, LC_CTYPE=en_IN.UTF-8 (charmap=UTF-8), LANGUAGE=en_US
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages xonsh depends on:
ii python3 3.12.6-1
ii python3-ply [python3-ply-yacc-3.10] 3.11-7
Versions of packages xonsh recommends:
ii libjs-bootstrap4 4.6.1+dfsg1-4
ii python3-prompt-toolkit 3.0.48-1
ii python3-pygments 2.18.0+dfsg-1
ii python3-setproctitle 1.3.3-1+b4
Versions of packages xonsh suggests:
ii python3-pyperclip 1.8.2-2
ii xonsh-doc 0.18.3+dfsg-1
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: xonsh
Source-Version: 0.18.3+dfsg-2
Done: Gordon Ball <gor...@chronitis.net>
We believe that the bug you reported is fixed in the latest version of
xonsh, 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 1087...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Gordon Ball <gor...@chronitis.net> (supplier of updated xonsh 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: Mon, 11 Nov 2024 22:28:03 +0100
Source: xonsh
Architecture: source
Version: 0.18.3+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Gordon Ball <gor...@chronitis.net>
Closes: 1087103
Changes:
xonsh (0.18.3+dfsg-2) unstable; urgency=medium
.
* Backport xonsh#5722 and #5725. These are both related to use of private
methods in argparse, which were broken by changes in python 3.12.7
(Closes: #1087103)
Checksums-Sha1:
fd05a57ec54b182f7cf04c73b4a3b5c8e5558e02 2507 xonsh_0.18.3+dfsg-2.dsc
28998bc7a2148eb90d20b72d8e6127deafc0411f 15144
xonsh_0.18.3+dfsg-2.debian.tar.xz
0f6d0dcafe13afb4c171387c9d7fa2ecff2d37ff 9463
xonsh_0.18.3+dfsg-2_amd64.buildinfo
Checksums-Sha256:
5dbe0771d853f75bb2057ddcb071744bb3296234c4a83810079657fed7c42b5f 2507
xonsh_0.18.3+dfsg-2.dsc
c76b108798de654107becfd98284acfd8b3ffcfa22c40e570edb63079eb5ca27 15144
xonsh_0.18.3+dfsg-2.debian.tar.xz
56288ce23c68a89bbd0d480fc595c7fdd126a8a37d2564d6fbaaac3c8cdd623c 9463
xonsh_0.18.3+dfsg-2_amd64.buildinfo
Files:
fb46a2e4ae3f0af3d923dc6b97d7ab72 2507 shells optional xonsh_0.18.3+dfsg-2.dsc
9f386f4ddbdf84cf4afdad7d7b445eaa 15144 shells optional
xonsh_0.18.3+dfsg-2.debian.tar.xz
5ee7195dc227d7bcb6c8bc0e3b501abd 9463 shells optional
xonsh_0.18.3+dfsg-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEE6PwpXIa418BJ+Xuno12v+60p6N4FAmcyeQMACgkQo12v+60p
6N7IPxAAoczPAw0rQ26Jy0RA9zDUMloRom6V1YsfmTvWnh6ycx0KS+urCmoO9cLc
oiDhREoAIIY52Y6YqHXcI+3lrDM+gCBS7NBlhcbjGxRpbBdy2U9FC/0AYL/vwtfb
Tn+wO7pxZanKdYhSLkBBKtTlYx+CxSLU8x7NzIttyPQR+bMFyDZgF0xb7Ebm7JFu
0WW7gEyfjK5CyWtHDdeEyzr8Nr92OjCGfPihlHUQu8GyxJUvwnna55aOXNNdS4DN
nVhRNEZ67+KIgpr2iBokZCQoAZRT767O4I+ntNCaoQy3DQHUhlr+3WAp+IrIzz9R
EJYmYvMhkuJUJxMF+oWgTrDdeGEBF7lv/Cjr6jn4D+QhSo9KhCJaoSbjTa3ThLyY
K71Pbvtwriful+/2J7qliNQ8mldf2giJgIY6+vNViA/0m6Su3edDRBHZsxX8oK95
wiQ/J1Kl7P8vsBq+kz4UsLgiSylAgM2ndFxSfEL8UjUX8b+3uEkufazYbjkQ8Mpr
eyvpt7wZ/XLEHTxVhGtHvLc9gxP1/P2aWPaKedQOAyomfNhjZy5F2GPwraOg9D6X
qTlNbvc5m4xmVhz5UnyJbMn4815xOnU++fT0WvoALIu+HeLQacs1VdTxI9R4wpYg
tIVtxgmfCDXbP2dro9luwkcuLKVoqKICVpPLUQ5TiMGhEFU2FBU=
=QFbp
-----END PGP SIGNATURE-----
pgpkCoujUytTK.pgp
Description: PGP signature
--- End Message ---