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

Write a function to get a Python version matrix #39

Closed
nathanjmcdougall opened this issue Oct 22, 2024 · 0 comments · Fixed by #37
Closed

Write a function to get a Python version matrix #39

nathanjmcdougall opened this issue Oct 22, 2024 · 0 comments · Fixed by #37
Assignees
Labels
enhancement New feature or request

Comments

@nathanjmcdougall
Copy link
Owner

Motivation
When adding CI config with usethis ci we usually want a version matrix to test across multiple versions of Python. We need a way to get the relevant versions to add to the matrix.

Summary of desired feature
A function which reads pyproject.toml in the [project.requires-python] section to determine the python version matrix.

Alternatively, it could use the uv lockfile to get this info, or another uv interface.

@nathanjmcdougall nathanjmcdougall self-assigned this Oct 22, 2024
@nathanjmcdougall nathanjmcdougall linked a pull request Oct 24, 2024 that will close this issue
@nathanjmcdougall nathanjmcdougall added the enhancement New feature or request label Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant