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

Infinite loop while adding a private repository #2644

Open
2 tasks done
guillaumachina opened this issue Dec 4, 2024 · 2 comments
Open
2 tasks done

Infinite loop while adding a private repository #2644

guillaumachina opened this issue Dec 4, 2024 · 2 comments

Comments

@guillaumachina
Copy link

guillaumachina commented Dec 4, 2024

Checks

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of pixi, using pixi --version.

Reproducible example

One has to add a private repository with a similar command as the following I share using scikit-learn.
But I cannot provide you a private repository to reproduce the error, but the command I use is the same (see screenshot):
Problem might come from authentication behind the scene maybe.

pixi add --pypi --feature test-reco 'scikit-learn[docs]@git+https://github.com/scikit-learn/scikit-learn.git'

Issue description

I am trying to add a dependency coming from a private repository, and the solver seems stuck.
Usually it takes 2 seconds to clone this repo. Here it is still trying to clone it after 14 minutes:
Besides, I try to add this dependency in a lot of ways in the pyproject.toml, in vain.

Image

Expected behavior

It is expected to add the private repository to the test-reco environment.

Does someone have an idea to solve this issue ?
Thanks

@ruben-arts
Copy link
Contributor

Your reproducible example works for me. Are you sure you are on the latest pixi (or close to, it also worked on v0.35.0 for me).

@guillaumachina
Copy link
Author

Thanks for trying.
Scikit-learn is a public repository, to reproduce the issue, one should use a private one, I cannot provide you a private repository to reproduce it, I can only provide you the command. Indeed, it is working with a public one. Sorry, I clarify this part in the Issue

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