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

poetry config certificates.my-private-pypi.cert doesn't work #2593

Closed
3 tasks done
z0h opened this issue Jun 25, 2020 · 5 comments
Closed
3 tasks done

poetry config certificates.my-private-pypi.cert doesn't work #2593

z0h opened this issue Jun 25, 2020 · 5 comments
Labels
kind/bug Something isn't working as expected

Comments

@z0h
Copy link

z0h commented Jun 25, 2020

  • I am on the latest Poetry version.
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).

Issue

Configuring a certificate for a private repo via the below doesn't work:

poetry config certificates.my-private-pypi.cert /Users/xxx/yyy_ca.pem

However pointing to the pem file via "export REQUESTS_CA_BUNDLE" will make it work. If it matters the below configs are also set:

virtualenvs.create = true
virtualenvs.in-project = true
@z0h z0h added kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Jun 25, 2020
@jamiemoore
Copy link

I can't seem to make export REQUESTS_CA_BUNDLE work either. When set, Pip works fine. Poetry not so much. Configured as per the documentation. https://python-poetry.org/docs/repositories/ using poetry version 1.1.4

@pierresouchay
Copy link

same issue here

@FlotterCodername
Copy link

This is fixed with #5518, which is pre-released in 1.2.0b2

pip install -U poetry --pre

@intgr
Copy link
Contributor

intgr commented Jun 28, 2022

I can confirm this is fixed in Poetry 1.2.0b2

@mkniewallner mkniewallner removed the status/triage This issue needs to be triaged label Jun 29, 2022
Copy link

github-actions bot commented Mar 1, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Something isn't working as expected
Projects
None yet
Development

No branches or pull requests

6 participants