Skip to content

fix(pypi): support properly installing sdists via pypi without index #3115

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

aignas
Copy link
Collaborator

@aignas aignas commented Jul 22, 2025

This fixes the subtle bug introduced in #2871, where we were dropping
the URL from the requirement, because we can download the sdist
directly. We cannot add --no-index because sdists in general may
require extra build dependencies and we had already issues previously
(see 0.36 release notes).

Fixes #2363
Fixes #3131

This fixes the subtle bug introduced in bazel-contrib#2871, where we were dropping
the URL from the requirement, because we can download the sdist
directly. We cannot add `--no-index` because sdists in general may
require extra build dependencies and we had already issues previously
(see 0.36 release notes).

Fixes bazel-contrib#2363
@aignas aignas force-pushed the fix.requirement.line branch from 75871bb to 69b06d4 Compare August 9, 2025 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: pip pip/pypi integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1.5.0 broke installation of dependencies from .tar.gz URIs [pypi] Support pulling dependencies using direct url specifiers without using an index
1 participant