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
File "/tmp/pdm-build-env-hi55zv05-shared/lib/python3.11/site-packages/beniget/beniget.py", line 112, in name
elif isinstance(self.node, (ast.MatchStar, ast.MatchAs)):
^^^^^^^^^^^^^
AttributeError: module 'gast' has no attribute 'MatchStar'
I think that either requirements.txt should be bumped to indicate a higher version of gast is required, or documentation should be added that a certain level of gast is required for newer python features like the match statement.
I worked around my specific case by upgrading other packages that were causing gast 0.5.3 to be installed, so we no longer hit this case.
The text was updated successfully, but these errors were encountered:
Found during a source build of an old version of
scipy
, which usesbeniget
transitively during the build process. Installed packages were:The traceback seen is:
gast
looks to have added support forMatchStar
in 0.5.4: serge-sans-paille/gast@0.5.3...0.5.4#diff-44b67094998a7df1e5ce843b5a2faa44950f5896ac9e07ab99d09e2b24c90143R328However,
beniget
still only requiresgast>0.5.0
:beniget/requirements.txt
Line 1 in 40d3954
I think that either
requirements.txt
should be bumped to indicate a higher version ofgast
is required, or documentation should be added that a certain level ofgast
is required for newer python features like thematch
statement.I worked around my specific case by upgrading other packages that were causing
gast 0.5.3
to be installed, so we no longer hit this case.The text was updated successfully, but these errors were encountered: