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

Plans to support pip.conf file? #1503

Closed
kvelicka opened this issue Feb 16, 2024 · 3 comments
Closed

Plans to support pip.conf file? #1503

kvelicka opened this issue Feb 16, 2024 · 3 comments
Labels
configuration Settings and such duplicate This issue or pull request already exists

Comments

@kvelicka
Copy link

It appears (juding by strace output) that uv doesn't currently support reading pip's config files (e.g. /etc/xdg/pip/pip.conf). The feature I'm after specifically is already described in #1474 (support for the cert entry in the config file/via a cmdline flag) but I'm curious about the general stance the uv takes with reading pip's config files, and other potential users might be interested too.

Thanks a lot in advance!

@charliermarsh
Copy link
Member

I'd prefer not to read configuration files designed for other tools. Like, we should support a configuration file and configuration format, but (similar to in Ruff), I'd prefer if it's our own format, etc. Otherwise, we have to figure out how to support reading those files across multiple versions of the target tool, and support any changes they make to the format in the future.

@kvelicka
Copy link
Author

Makes a lot of sense, and thank you for the rapid response! Looking forward to trying uv!

Happy for this issue to be closed as far as I'm concerned, though it might be worth mentioning this stance in the readme/documentation. PRs welcome?

@zanieb zanieb added the duplicate This issue or pull request already exists label Feb 16, 2024
@zanieb
Copy link
Member

zanieb commented Feb 16, 2024

Duplicate of #1404

I'm not sure if it makes sense to document this yet as we're still establishing our formal stance around configuration files. I appreciate the offer though!

@zanieb zanieb closed this as not planned Won't fix, can't repro, duplicate, stale Feb 16, 2024
@zanieb zanieb added the configuration Settings and such label Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
configuration Settings and such duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants