Skip to content

Finalize support for --no-binary with -r pylock.toml - #14187

Open
sbidoul wants to merge 1 commit into
pypa:mainfrom
sbidoul:pylock-no-binary-sbi
Open

Finalize support for --no-binary with -r pylock.toml#14187
sbidoul wants to merge 1 commit into
pypa:mainfrom
sbidoul:pylock-no-binary-sbi

Conversation

@sbidoul

@sbidoul sbidoul commented Jul 18, 2026

Copy link
Copy Markdown
Member

Since pylock.select() prefers wheels, --no-binary did work only in some cases with -r pylock.toml.

Waiting for pypa/packaging#1334 (packaging 26.3)

@sbidoul
sbidoul force-pushed the pylock-no-binary-sbi branch from dd741ea to 6834c3d Compare August 5, 2026 11:53
@sbidoul sbidoul added this to the 26.3 milestone Aug 5, 2026
@sbidoul
sbidoul force-pushed the pylock-no-binary-sbi branch from 6834c3d to ba6a319 Compare August 5, 2026 12:08
@sbidoul
sbidoul marked this pull request as ready for review August 5, 2026 12:09
@sbidoul
sbidoul force-pushed the pylock-no-binary-sbi branch from ba6a319 to 45bed1d Compare August 5, 2026 15:01

@ichard26 ichard26 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Test failures look real. It seems like you need to guard the FormatControl import by if TYPE_CHECKING since otherwise pip freeze and pip uninstall will import all of the index machinery unnecessarily.

@sbidoul
sbidoul force-pushed the pylock-no-binary-sbi branch from 45bed1d to 694d289 Compare August 6, 2026 06:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants