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

Migrate python debugging logic to rules #34

Merged
merged 4 commits into from
Jan 26, 2022

Conversation

tiagovtristao
Copy link
Contributor

No description provided.

Comment on lines 3 to 14
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",
],
},
)

Copy link
Contributor Author

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@samwestmoreland can you confirm?

Copy link
Contributor

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).

Copy link
Contributor

@Tatskaari Tatskaari left a 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.

@tiagovtristao
Copy link
Contributor Author

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.

@tiagovtristao tiagovtristao merged commit 1a752db into please-build:master Jan 26, 2022
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

Successfully merging this pull request may close these issues.

3 participants