Skip to content

feat: use python-discovery#1086

Draft
henryiii wants to merge 1 commit intomainfrom
henryiii/feat/pythondiscovery
Draft

feat: use python-discovery#1086
henryiii wants to merge 1 commit intomainfrom
henryiii/feat/pythondiscovery

Conversation

@henryiii
Copy link
Copy Markdown
Collaborator

@henryiii henryiii commented Apr 16, 2026

This enables version ranges to be used. It also can find Pythons from a variety of sources that we didn't support before.

  • Version checking can be slow.
    • We check classic name-based discovery first, so should have no impact unless it's used
    • This currently uses a disk cache - maybe we should not use it, though? Where should we put it? (doesn't seem like tox and virtualenv use it?)
  • We should also support script python-requires using this

🤖 Assisted-by: OpenCode:Kimi-K2.5

@henryiii henryiii force-pushed the henryiii/feat/pythondiscovery branch from 0960fe2 to 81cf550 Compare April 20, 2026 19:55
This enables version ranges to be used.

Assisted-by: OpenCode:Kimi-K2.5
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
@henryiii henryiii force-pushed the henryiii/feat/pythondiscovery branch from 81cf550 to cfb9a93 Compare April 20, 2026 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant