-
Notifications
You must be signed in to change notification settings - Fork 38
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
feat: add support for uv as package manager #124
base: master
Are you sure you want to change the base?
Conversation
Co-authored-by: Damien Crier <[email protected]>
- run: | ||
working_directory: ~/project/sample_uv | ||
command: |- | ||
uvx run pytest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uvx run pytest | |
uv run pytest |
To quote documentation on uv tool run
, which uvx
is an alias for:
Packages are installed into an ephemeral virtual environment in the uv cache directory.
In my case, uvx run pytest
fails to read configuration from pyproject.toml. uv run pytest
works perfectly, however.
This has now been added to cimg, would it be possible to have a look at merging this now? |
Hi @Limess, this is not exactly added yet. The code was already merged, but a new version of the image with the library installed has not been released. |
This PR adds support for using
uv
as a package manager. These changes will not work untiluv
is backed into the executor image: CircleCI-Public/cimg-python#257