FS#68999 - [xonsh] not compatible with python 3.9
Attached to Project:
Community Packages
Opened by Alexander Kellett (zinf) - Wednesday, 16 December 2020, 06:53 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 04 May 2021, 06:32 GMT
Opened by Alexander Kellett (zinf) - Wednesday, 16 December 2020, 06:53 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 04 May 2021, 06:32 GMT
|
Details
Description:
Many normal .xsh scripts no longer function after upgrading archlinux due to the python version having been updated. Steps to reproduce: Run one of the scripts. Let me know if you need a reproduction for unit testing or something. For now I hope this is enough information. Related PR in the xonsh repo: https://github.com/xonsh/xonsh/pull/3588 |
This task depends upon
Closed by Andreas Radke (AndyRTR)
Tuesday, 04 May 2021, 06:32 GMT
Reason for closing: Fixed
Additional comments about closing: xonsh is on 0.9.27
Tuesday, 04 May 2021, 06:32 GMT
Reason for closing: Fixed
Additional comments about closing: xonsh is on 0.9.27
echo 'print("Hello Xonsh")' > hello.xsh; xonsh hello.xsh
Outputs: "Hello Xonsh".
Could you please post a step-by-step recipe for how to reproduce the issue?
/usr/bin/xonsh -c "x[y[0]]"
Expected backtrace ending in
NameError: name 'x' is not defined
Current fail backtrace ending in
File "/usr/lib/python3.9/site-packages/xonsh/parsers/base.py", line 2215, in apply_trailers
assert False
AssertionError
I have locally updated to 0.9.27 and it is fixed :)