-
Notifications
You must be signed in to change notification settings - Fork 7
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
[DO NOT MERGE] Dropping poetry for uv #112
base: main
Are you sure you want to change the base?
Conversation
- rustc | ||
- cargo | ||
override-build: | | ||
rustup default stable |
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.
With this, we can drop the constraint on rdps-py in pyproject.toml, courtesy of the sql team 💯
set_env = | ||
PYTHONPATH = {tox_root}/lib:{[vars]src_path} | ||
UV_PROJECT_ENVIRONMENT={work_dir}/{env_name} |
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.
uv chose to not treat VIRTUAL_ENV
as the active environment. This var setup force uv to respect the "tox way" of creating a different venv for each command.
Without it, .venv
would be overwritten on each tox invocation
A little side project of mine while I was waiting for CI to complete.
This PR showcases how we could use uv for:
Building with strict deps does not yet work, and the logs do not give me the missing deps: