Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minimum python in settings.ini incorrect #649

Open
synapticarbors opened this issue Nov 15, 2024 · 0 comments
Open

Minimum python in settings.ini incorrect #649

synapticarbors opened this issue Nov 15, 2024 · 0 comments

Comments

@synapticarbors
Copy link

The minimum python specified in settings.ini is incorrect:
https://github.com/fastai/fastcore/blob/master/settings.ini#L12

When building with python 3.8, you get the following:

File "$PREFIX/lib/python3.8/site-packages/fastcore/py2pyi.py", line 9, in <module>
 │ │ │     from ast import parse, unparse
 │ │ │ ImportError: cannot import name 'unparse' from 'ast' ($PREFIX/lib/python3.8/ast.py)

since unparse was introduced in python 3.9:
https://docs.python.org/3/library/ast.html#ast.unparse

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant