-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Deprecate extra values for srcs_version
.
#6445
Comments
Accompanying the fix for this and #1393, we'll also make the error message less confusing for when you have the wrong major python version. |
One question raised by these names is: What happens when there is a Python 4? At present it looks like while there are some references in PEPs and mailing lists to "Python 4", that's used as a stand-in to mean "a breaking change release". Alternative interpretations are that Python 4 will just be Python 3.10. Either way, until more concrete plans emerge from the Python developers, no sense speculating in our plans here. Python 2 compatibility features may very well be deprecated by the time it becomes a concern. |
Thank you for contributing to the Bazel repository! This issue has been marked as stale since it has not had any activity in the last 2+ years. It will be closed in the next 14 days unless any other activity occurs or one of the following labels is added: "not stale", "awaiting-bazeler". Please reach out to the triage team ( |
This issue has been automatically closed due to inactivity. If you're still interested in pursuing this, please reach out to the triage team ( |
Current allowed
srcs_version
values are:PY2ONLY
: errors out if built in PY3 modePY2
: originally intended to mean "do 2to3 conversion", but it errors out (badly) if built in PY3 modePY2AND3
: works for both PY2 and PY3 (no 2to3 conversion)PY3ONLY
: errors out if built in PY2 modePY3
: same asPY3ONLY
We should reduce this to something like just:
PY2
(behaving likePY2ONLY
does today)PY2AND3
PY3
The text was updated successfully, but these errors were encountered: