rye icon indicating copy to clipboard operation
rye copied to clipboard

rye sync with private git dependency prompts for username twice

Open rachtsingh opened this issue 11 months ago • 0 comments

Steps to Reproduce

Add a private Git repo as a dependency to a project, and run rye sync.

Note that this is a slight duplicate / fork off https://github.com/astral-sh/rye/issues/671, but irrespective of how that is resolved Rye should present a better error message.

There is a workaround: setting up Git Credential Manager (which passes the auth check).

Expected Result

Rye sync finishes

Actual Result

rye prompts for username twice (which doesn't work):

ubuntu@awsbox:~/company_packages$ rye sync
Reusing already existing virtualenv
Generating production lockfile: /home/ubuntu/company_packages/requirements.lock
Username for 'https://github.com': Username for 'https://github.com':

Version Info

rye 0.27.0
commit: 0.27.0 (43ee4fce0 2024-02-26)
platform: linux (x86_64)
self-python: [email protected]
symlink support: true
uv enabled: true

Stacktrace

No response

rachtsingh avatar Mar 06 '24 18:03 rachtsingh