-
Notifications
You must be signed in to change notification settings - Fork 17
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
Migrate python debugging logic to rules #34
Conversation
tools/wheel_resolver/test/BUILD
Outdated
package( | ||
python = { | ||
"WHEEL_REPO": "https://get.please.build/third_party/python/py3", | ||
"WHEEL_NAME_SCHEME": [ | ||
"{url_base}/{package_name}-{version}-${{OS}}_${{ARCH}}.whl", | ||
"{url_base}/{package_name}-{version}.whl", | ||
"https://files.pythonhosted.org/packages/py3/{initial}/{package_name}/{package_name}-{version}-py3-none-any.whl", | ||
"https://files.pythonhosted.org/packages/py2.py3/{initial}/{package_name}/{package_name}-{version}-py2.py3-none-any.whl", | ||
], | ||
}, | ||
) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I copied this over from third_party/python/BUILD
as there's a python_wheel
rule below that needs it. Not sure if this change is the correct one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@samwestmoreland can you confirm?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah as we were saying on Friday it shouldn't need it because the python_wheel() should fall back onto the wheel resolver tool. The issue was to do with the wheel resolver tool not being able to find old protobuf versions (re-opened #19).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice one! We might need to update the pex tool once that's in this repo too, as I think Sam has gotten rid of the bootstrapping stuff.
Yeah, things probably need to be re-tested once that code is ported over. |
No description provided.