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

support setting SSL_CERT_FILE in pyproject.toml #6572

Open
DetachHead opened this issue Aug 24, 2024 · 5 comments
Open

support setting SSL_CERT_FILE in pyproject.toml #6572

DetachHead opened this issue Aug 24, 2024 · 5 comments
Labels
configuration Settings and such

Comments

@DetachHead
Copy link

as far as i can tell, the cert file can only be configured with the environment variable, but because in my case the file is stored in git, it would be more convenient if it could also be configured in pyproject.toml

@charliermarsh charliermarsh added the configuration Settings and such label Aug 25, 2024
@samypr100
Copy link
Collaborator

Yea, it was briefly discussed in #4171 adding support in a future PR for both SSL_CERT_FILE and SSL_CLIENT_CERT

@zanieb
Copy link
Member

zanieb commented Aug 26, 2024

It seems like bad practice to check-in an SSL certificate — can you share more about why you're doing that?

@DetachHead
Copy link
Author

it's a corporate environment with custom internal certificates that need to be known about by the libraries the project uses. it's much easier to just commit the certificate than getting everyone in the team to manually configure their tools to use it

@samypr100
Copy link
Collaborator

samypr100 commented Aug 26, 2024

Yea, it was briefly discussed in #4171 adding support in a future PR for both SSL_CERT_FILE and SSL_CLIENT_CERT

I should clarify what I was thinking originally
**Supporting CLI equivalent and global settings (e.g. pip.conf style), not at project level pyproject.toml

@DetachHead
Copy link
Author

it might also be worth noting that my team uses pyprojectx to manage the uv installation locally in our project instead of installing it globally. we prefer to minimize the amount of stuff we have to install/configure globally

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

No branches or pull requests

4 participants