Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use version from requires-python if target-version is undefined #3332

Closed
WhyNotHugo opened this issue Mar 4, 2023 · 3 comments
Closed

Use version from requires-python if target-version is undefined #3332

WhyNotHugo opened this issue Mar 4, 2023 · 3 comments

Comments

@WhyNotHugo
Copy link
Contributor

If target-version is undefined, use the minimal target-version from PEP-621.

This is what black does: psf/black#3219

Mainly, it means we don't have to repeat the target python twice in pyproject.toml.

@charliermarsh
Copy link
Member

100%. I think this is a dupe of #2039 so closing in favor of that. I'd love for someone to contribute this :)

@charliermarsh charliermarsh closed this as not planned Won't fix, can't repro, duplicate, stale Mar 4, 2023
@WhyNotHugo
Copy link
Contributor Author

WhyNotHugo commented Mar 4, 2023 via email

@charliermarsh
Copy link
Member

Haha no worries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants