Skip to content

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
@rickeylev rickeylev enabled auto-merge August 11, 2025 03:08
@rickeylev rickeylev added this pull request to the merge queue Aug 11, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to a conflict with the base branch Aug 11, 2025
@aignas aignas enabled auto-merge August 11, 2025 06:26
@aignas aignas added this pull request to the merge queue Aug 11, 2025
Merged via the queue into bazel-contrib:main with commit f6dd386 Aug 11, 2025
3 checks passed
@aignas aignas deleted the fix.requirement.line branch August 11, 2025 06:45
aignas added a commit that referenced this pull request Aug 11, 2025
…3115)

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

---------

Co-authored-by: Richard Levasseur <[email protected]>
(cherry picked from commit f6dd386)

Cherry-pick notes: adapted the changelog to mention 1.5.2
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

2 participants