Skip to content

poetry doesn't seem to respect poetry config certificates.pypi.cert false. Getting CERTIFICATE_VERIFY_FAILED #6681

Answered by neersighted
brno32 asked this question in General
Discussion options

You must be logged in to vote

What @dimbleby is suggesting is that if you run the pip invocation that Poetry uses faithfully, it will fail as well, as the issue is occurring at the pip-Poetry boundary:

D:\myrepo\venv\Scripts\python.exe -m pip install --use-pep517 --disable-pip-version-check --prefix D:\myrepo\venv --no-deps C:\Users\me\AppData\Local\pypoetry\Cache\artifacts\08\66\7b\1a9492a47005b40f397a38657516036bfc2103d6a0c48185056aa85a00\pysmb-1.2.8.zip

Indeed, pip here is unaware of any --trusted-host you might use in another invocation as there is no persistence of command line flags! You can add --trusted-host to pip.conf as per the docs and Poetry will respect it for now (we're adding --isolated in the future, …

Replies: 18 comments 18 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@neersighted
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@brno32
Comment options

@neersighted
Comment options

@brno32
Comment options

@neersighted
Comment options

@brno32
Comment options

Comment options

You must be logged in to vote
1 reply
@brno32
Comment options

Comment options

You must be logged in to vote
5 replies
@neersighted
Comment options

@dimbleby
Comment options

@neersighted
Comment options

@neersighted
Comment options

@brno32
Comment options

Comment options

You must be logged in to vote
6 replies
@neersighted
Comment options

@brno32
Comment options

@neersighted
Comment options

@neersighted
Comment options

@ansraliant
Comment options

Answer selected by neersighted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question User questions (candidates for conversion to discussion) status/invalid Invalid issue or PR area/sources Releated to package sources/indexes/repositories
5 participants
Converted from issue

This discussion was converted from issue #6670 on October 02, 2022 16:31.