pixi icon indicating copy to clipboard operation
pixi copied to clipboard

Can't use githib token to clone private repo via https

Open fmartiescofet opened this issue 1 year ago • 2 comments

Checks

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

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

Reproducible example

[project]
channels = ["conda-forge",]
description = "Add a short description here"
name = "tests"
platforms = ["linux-64"]

[dependencies]
python = "*"

[pypi-dependencies]
package = { git = "https://<github_token>@github.com/..."}

Issue description

In previous versions (up to 0.40.2) I was using a github token to install a private repo by introducing it into the url in the pixi.toml (see example). In the latest version, when trying to install it crashes as it does not use the token.

I can't use ssh due to internal reasons and I don't have a GUI which asks for the token when cloning the repo.

Expected behavior

Work as in previous versions or support some way of passing the token.

fmartiescofet avatar Feb 01 '25 08:02 fmartiescofet

Not sure what happened but apparently it's working again in version 0.41.4. It does not work on any version between 0.40.3 and 0.41.3 (both included).

fmartiescofet avatar Feb 28 '25 13:02 fmartiescofet

Strange, lets keep this open to watch out for any regressions :)

tdejager avatar Mar 03 '25 07:03 tdejager