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

fix: Remove --no-build-isolation from pip install command #2360

Merged
merged 2 commits into from
Oct 31, 2024

Conversation

mark-thm
Copy link
Contributor

Fixes #2328.

In #2126, we discussed and added --no-build-isolation to ensure that sdist builds pulled from rules_python supplied dependencies. An unanticipated/misunderstood side-effect of this is that pip will no longer resolve necessary, declared build time dependencies from a package index. That's a significant point of friction for users, and, it's much harder to opt-out of the behavior than to opt-in given the presence of extra_pip_args.

@mark-thm mark-thm changed the title Remove --no-build-isolation from pip install command fix: Remove --no-build-isolation from pip install command Oct 30, 2024
Copy link
Collaborator

@aignas aignas left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Collaborator

@groodt groodt left a comment

Choose a reason for hiding this comment

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

LGTM

The move towards PEP-517 makes sense to me. It also aligns with recent changes to get-pip in python 3.12+ that don't install wheel or setuptools by default and will require packages to define their build time dependencies correctly. pypa/get-pip#200

@mark-thm
Copy link
Contributor Author

rebased to resolve the conflict

@aignas aignas added this pull request to the merge queue Oct 31, 2024
Merged via the queue into bazelbuild:main with commit b6fc2a0 Oct 31, 2024
4 checks passed
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.

Not possible to use bottleneck as a dependency on linux arm64 with rules_python 0.37.0
3 participants