-
-
Notifications
You must be signed in to change notification settings - Fork 32k
make regen-all doesn't work in subfolder: No module named Parser.pgen #80914
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
Comments
When I attempt to build CPython from a subfolder (as we do in Fedora) make regen-all dies with: python3.8 -m Parser.pgen ../../Grammar/Grammar \ To reproduce, run: $ rm -rf build && mkdir -p build/mybuild && (cd build/mybuild && ../../configure && make regen-all) This is probably a regression, as it works in the 3.7 branch. Setting PYTHON_FOR_REGEN="python3" (python3.7 on my system) doesn't make a difference: python3 -m Parser.pgen ../../Grammar/Grammar \ build/mybuild/Parser exists but it is empty directory. Setting PYTHON_FOR_REGEN="PYTHOINPATH=<path_to_sources> python3" workarounds the issue. On branch 3.7 (3076a3e), build/mybuild/Parser is also empty, but the make-regen populates it. I'll bisect. |
Thanks for your bug report Miro Hrončok. The fix will be part of the next Python 3.8 alpha release: "3.8.0 alpha 4: Monday, 2019-04-29" |
Uh oh!
There was an error while loading. Please reload this page.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
Linked PRs
The text was updated successfully, but these errors were encountered: