Skip to content

Explore using uv for documentation and tests #1416

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

Open
IvanIsCoding opened this issue Apr 5, 2025 · 1 comment · May be fixed by #1420
Open

Explore using uv for documentation and tests #1416

IvanIsCoding opened this issue Apr 5, 2025 · 1 comment · May be fixed by #1420
Labels
dependencies Pull requests that update a dependency file documentation good first issue Good for newcomers

Comments

@IvanIsCoding
Copy link
Collaborator

What is the expected enhancement?

We have been using ruff since #1006.

uv is a tool by the same developers that manages virtual environments. The most interesting feature for us are its lock files.

I think our documentation workflow would benefit from a lockfile, as currently it is our process with the most dependencies. nox has a uv backend that we could integrate to make generating the docs more reliable.

For our tests, in most instances I am satisfied with nox. Our unit tests have very little dependencies, so I don't think that workflow would benefit a lot for it. The same applies for our lint workflow, which currently is very simple.

Perhaps we could use uv for stub tests as currently they run on a pinned mypy version. A lockfile could benefit that use case.

@IvanIsCoding IvanIsCoding added good first issue Good for newcomers dependencies Pull requests that update a dependency file documentation labels Apr 5, 2025
@IvanIsCoding
Copy link
Collaborator Author

Also, our docs are not building with Python 3.13. Fortunately, we have 3.10 pinned in CI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file documentation good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant