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

Add support for uv in the CI #323

Open
Saransh-cpp opened this issue Oct 4, 2024 · 0 comments
Open

Add support for uv in the CI #323

Saransh-cpp opened this issue Oct 4, 2024 · 0 comments
Labels
enhancement New feature or request infrastructure Project infrastructure: dev tools, packaging, etc.

Comments

@Saransh-cpp
Copy link
Member

Is Your Feature Request Related to a Problem? Please Describe

At the moment, glass uses test-constraints.txt to specify constraints for installing test dependencies. The file specifies --prefer-binary flag which is not supported by uv - astral-sh/uv#1794 - blocking uv's support.

Describe the Solution You'd Like

Supporting uv in nox would require adding -

nox.options.default_venv_backend = "uv|virtualenv"

in noxfile.py.

Describe Alternatives You've Considered

No response

Additional Context

No response

@Saransh-cpp Saransh-cpp added the enhancement New feature or request label Oct 4, 2024
@paddyroddy paddyroddy added the infrastructure Project infrastructure: dev tools, packaging, etc. label Oct 4, 2024
Saransh-cpp added a commit that referenced this issue Oct 4, 2024
`Nox` will always use `virtualenv` now and the `.txt` file for
constraints is in a more widely accepted format now (readable by both
`uv` and plain `pip install`.

Refs: #323
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request infrastructure Project infrastructure: dev tools, packaging, etc.
Projects
None yet
Development

No branches or pull requests

2 participants