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
Write to now seems to be producing invalid python files:
_scm_version.py", line 6
__version__ : str = version : str = '1.3.0rc9.dev290+g7dce6a7'
^
SyntaxError: invalid syntax
Previously we used to see
# coding: utf-8
# file generated by setuptools_scm
# don't change, don't track in version control
version = '1.3.0rc9.dev289+g7451c8a.d20230920'
version_tuple = (1, 3, 0, 'dev289', 'g7451c8a.d20230920')
which then changed to:
# file generated by setuptools_scm
# don't change, don't track in version control
__version__ = version = '1.3.0rc9.dev289+g7451c8a.d20230920'
__version_tuple__ = version_tuple = (1, 3, 0, 'dev289', 'g7451c8a.d20230920')
but since TODAY , we are seeing inclusion of typing syntax in generated files, leading to our workflow failures. I tried to reproduce locally without any luck, on my local I don't see any typing information in generated files.
Workaround
Pin to setuptools-scm[toml] == 7.1.0
The text was updated successfully, but these errors were encountered:
abhinavsingh
changed the title
Generating invalid python files
SyntaxError: invalid syntax
Sep 20, 2023
Write to now seems to be producing invalid python files:
Previously we used to see
which then changed to:
but since TODAY , we are seeing inclusion of typing syntax in generated files, leading to our workflow failures. I tried to reproduce locally without any luck, on my local I don't see any typing information in generated files.
Workaround
Pin to
setuptools-scm[toml] == 7.1.0
The text was updated successfully, but these errors were encountered: