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
I noticed this when I switched my dev environment yesterday from fedora:38 to fedora:39. It seems with my fedora:39 environment, the cmake --build build --target autopep8 target changes many (or all?) of the .py file's format. This is obviously terrible as we can't have different dev environments formatting differently between them.
I'm not sure what the issue is yet. The pip freeze is identical between them:
Looking at the diffs generated with Python 3.12 locally, it seems like they do indeed relate to format strings.
bneradt
changed the title
tools/autopep8.sh has changed its format scheme in recent environements
tools/autopep8.sh corrupts Python format strings in Python 3.12 environments
Nov 19, 2023
I noticed this when I switched my dev environment yesterday from fedora:38 to fedora:39. It seems with my fedora:39 environment, the
cmake --build build --target autopep8
target changes many (or all?) of the.py
file's format. This is obviously terrible as we can't have different dev environments formatting differently between them.I'm not sure what the issue is yet. The
pip freeze
is identical between them:fedora:38:
fedora:39:
I suppose this is likely due with the upgrade from Python 3.11 in fedora:38 to Python 3.12 in fedora:39. I'm not sure yet however.
The text was updated successfully, but these errors were encountered: