You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey there, I am new to this rye tool, it was recommended by the colleague of mine, but ever since I install it I am facing issues with certificate. Even I am on Windows platform, I have set up the env variables that are redirecting directly the company certificate (SSL_CERT_FILE, PIP_CERT, REQUESTS_CA_BUNDLE). All three variables are set up to same certificate, even with that I tried multiple set of options to apply on the rye but it was not helpful at all. Below I will try to display configuration of rye and error that I am getting, I hope that someone will know how to fix it because I spent two days on this issue and to be honest I am losing my mind a little bit 😄
Terminal:
$ rye sync
Reusing already existing virtualenv
Generating production lockfile: C:\Users\firstname.lastname\IdeaProjects\app\requirements.lock
× Failed to fetch: https://pypi.org/simple/black/
├─▶ Request failed after 3 retries
├─▶ error sending request for url (https://pypi.org/simple/black/)
├─▶ client error (Connect)
╰─▶ invalid peer certificate: UnknownIssuer
help: Consider enabling use of system TLS certificates with the --native-tls command-line flag
error: could not write production lockfile for project
Caused by:
Failed to run uv compile C:\Users\firstname.lastname\AppData\Local\Temp.tmptiysby\requirements.txt. uv exited with status: exit code: 1
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey there, I am new to this rye tool, it was recommended by the colleague of mine, but ever since I install it I am facing issues with certificate. Even I am on Windows platform, I have set up the env variables that are redirecting directly the company certificate (SSL_CERT_FILE, PIP_CERT, REQUESTS_CA_BUNDLE). All three variables are set up to same certificate, even with that I tried multiple set of options to apply on the rye but it was not helpful at all. Below I will try to display configuration of rye and error that I am getting, I hope that someone will know how to fix it because I spent two days on this issue and to be honest I am losing my mind a little bit 😄
Config:
[behavior]
use-native-tls = true
user-ca-store = "~/.rye/certs/rootcaCert.pem"
global-python = "true"
Terminal:
$ rye sync
Reusing already existing virtualenv
Generating production lockfile: C:\Users\firstname.lastname\IdeaProjects\app\requirements.lock
× Failed to fetch:
https://pypi.org/simple/black/
├─▶ Request failed after 3 retries
├─▶ error sending request for url (https://pypi.org/simple/black/)
├─▶ client error (Connect)
╰─▶ invalid peer certificate: UnknownIssuer
help: Consider enabling use of system TLS certificates with the
--native-tls
command-line flagerror: could not write production lockfile for project
Caused by:
Failed to run uv compile C:\Users\firstname.lastname\AppData\Local\Temp.tmptiysby\requirements.txt. uv exited with status: exit code: 1
Beta Was this translation helpful? Give feedback.
All reactions