You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After installing latest python310 package (python 3.10.14) from channel nixos-23.11 there appears syntax error in plistlib.py in standard library:
$ nix-shell -p python310 --run "python3.10 -c 'import plistlib'"Traceback (most recent call last): File "<string>", line 1, in <module> File "/nix/store/19p5bpvplh27z3q9diznip0r14mbbqxr-python3-3.10.14/lib/python3.10/plistlib.py", line 498 ! return struct.unpack(f, self._fp.read(s))[0] ^IndentationError: unindent does not match any outer indentation level
The syntax error itself is the exclamation mark ! at the beginning of line. Nor this exclamation mark is present in source code of cpython 3.10.14, neither it appears in tarball from python ftp, but it clearly is in source code after installation. It seems like some patching can lead to this.
Steps To Reproduce
Steps to reproduce the behavior:
Make sure that channel is 23.11.
Run nix-shell -p python310 --run "python3.10 -c 'import plistlib'".
You should see error message IndentationError: unindent does not match any outer indentation level.
Expected behavior
This module is expected to be imported without any issues, as it is a part of standard library.
Describe the bug
After installing latest
python310
package (python 3.10.14) from channelnixos-23.11
there appears syntax error inplistlib.py
in standard library:The syntax error itself is the exclamation mark
!
at the beginning of line. Nor this exclamation mark is present in source code of cpython 3.10.14, neither it appears in tarball from python ftp, but it clearly is in source code after installation. It seems like some patching can lead to this.Steps To Reproduce
Steps to reproduce the behavior:
23.11
.nix-shell -p python310 --run "python3.10 -c 'import plistlib'".
IndentationError: unindent does not match any outer indentation level
.Expected behavior
This module is expected to be imported without any issues, as it is a part of standard library.
Notify maintainers
@FRidh
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.The text was updated successfully, but these errors were encountered: