Skip to content

Is there a way to specify distinct requires-python for development and for releases of a project that is release as a pypi library? #2997

Answered by frostming
fgmacedo asked this question in Q&A
Discussion options

You must be logged in to vote

if you make sure some dependencies will only be used on Python 3.8+, restrict it with environment markers:

myst-parser; python_version>="3.8"

and it can be resolved correctly.

also, the new feature #2995 to be landed in the next release will also help in this case

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by frostming
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants