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

uv to detect uv.toml in active venv #8107

Open
Reclocco opened this issue Oct 10, 2024 · 2 comments · May be fixed by #9935
Open

uv to detect uv.toml in active venv #8107

Reclocco opened this issue Oct 10, 2024 · 2 comments · May be fixed by #9935
Labels
configuration Settings and such

Comments

@Reclocco
Copy link

Reclocco commented Oct 10, 2024

With pip you can create custom config per venv (custom index-url etc) with pip.conf files. I think it's impossible with uv as it doesn't look for the uv.toml file within the active venv.

This could be helpful with managing these configs if one needs to work with / test different scenarios without modifying repo code or constantly changing uv.toml that is being detected (IIRC it works with closest to cwd working upwards)

@charliermarsh
Copy link
Member

To clarify, you want to be able to put the uv.toml within the virtual environment directory? Like at .venv/uv.toml or similar?

@charliermarsh charliermarsh added the configuration Settings and such label Oct 12, 2024
@Reclocco
Copy link
Author

Yes

@JonneDatanen JonneDatanen linked a pull request Dec 16, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
configuration Settings and such
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants