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

set verify-ssl to false make uv not work at all #1313

Open
Jeremy-Hibiki opened this issue Aug 5, 2024 · 1 comment
Open

set verify-ssl to false make uv not work at all #1313

Jeremy-Hibiki opened this issue Aug 5, 2024 · 1 comment

Comments

@Jeremy-Hibiki
Copy link

Steps to Reproduce

  1. set [[tool.rye.sources]] field in pyproject.toml, and set verify-ssl to false (https://rye.astral.sh/guide/sources/#ssltls-verification)
  2. run rye sync or force sync

Expected Result

just a normal sync

Actual Result

> rye sync
Reusing already existing virtualenv
Generating production lockfile: /workspaces/<my-project>/requirements.lock
error: pip-compile's `--trusted-host` is unsupported (uv always requires HTTPS)
error: could not write production lockfile for project

Caused by:
    Failed to run uv compile /tmp/.tmp1vvaVC/requirements.txt. uv exited with status: exit status: 2
> rye sync --no-lock 
Reusing already existing virtualenv
Installing dependencies
error: pip-sync's `--trusted-host` is unsupported (uv always requires HTTPS)
error: Installation of dependencies failed in venv at /workspaces/<my-project>/.venv. uv exited with status: exit status: 2

Version Info

rye 0.38.0
commit: 0.38.0 (3e3c8540f 2024-08-02)
platform: linux (x86_64)
self-python: [email protected]
symlink support: true
uv enabled: true

Stacktrace

No response

@bluss
Copy link
Contributor

bluss commented Aug 5, 2024

There's an upstream issue tracking Uv support for something that fulfills this need, here: astral-sh/uv#1339

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants