frostming / frostming/findpython

Support SpecifierSet?

Open
#27 1 comment 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
Python
Stars
39
Forks
16
PR merge metrics
No merged PRs in 30d

Description

I'm wondering, would it make sense to support a SpecifierSet, such as `>=3.10`, and select the best version of Python available based on that? I think it might be interesting for supporting `requires-python` inside PEP 723, for example. I think you could detect the `=><` chars which are not currently used. CC https://github.com/wntrblm/nox/issues/814.

Just a thought, feel free to close if it's not a good idea! :)

Contributor guide

No contributing guide indexed for this repository

Research direction

No files, tests, or entry points are named. Start by reviewing how findpython parses version requests and selects an available Python, then determine the intended SpecifierSet syntax and what selecting the best matching version should mean; done means the proposed behavior is defined and covered for requires-python-style constraints.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.