Repository navigation
Description
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
Commands I ran and their output:
# set to older version of pixi and initialize a project
pixi self-update --version 0.68.1
pixi clean cache
pixi init
pixi add python
pixi add --pypi 'cowsay @ git+https://github.com/VaasuDevanS/cowsay-python.git'
# keep lock file for comparison
mv pixi.lock pixi.0.68.1.lock
# update to latest version
pixi self-update --version 0.69.0
pixi clean cache && pixi updateOutputs
diff pixi.0.68.1.lock pixi.lock
33c33
< - pypi: git+https://github.com/VaasuDevanS/cowsay-python.git#dcf7236f0b5ece9ed56e91271486e560526049cf
---
> - pypi: git+https://github.com/vaasudevans/cowsay-python#dcf7236f0b5ece9ed56e91271486e560526049cf
292c292
< - pypi: git+https://github.com/VaasuDevanS/cowsay-python.git#dcf7236f0b5ece9ed56e91271486e560526049cf
---
> - pypi: git+https://github.com/vaasudevans/cowsay-python#dcf7236f0b5ece9ed56e91271486e560526049cf
pixi info output:
```plaintext
System
------------
Pixi version: 0.69.0
TLS backend: rustls
Platform: linux-64
Virtual packages: __unix=0=0
: __linux=6.1.0=0
: __glibc=2.36=0
: __archspec=1=skylake
Cache dir: /home/wpugsley/.cache/rattler/cache
Auth storage: /home/wpugsley/.rattler/credentials.json
Config locations: No config files found
Issue description
With the newest version of pixi the lines in the pixi.lock file defining pypi dependencies now have all lowercase urls and are missing the .git extension at the end.
This seems to be breaking our GitHub Actions CI pipeline. Using this updated pixi.lock and prefix-dev/setup-pixi in .github/workflows/main.yaml, the pixi install --locked step fails with the following output:
Error: × Failed to update PyPI packages for environment 'default'
├─▶ Failed to prepare distributions
├─▶ Failed to download and build `<repo> @ git+ssh://github.com/<organization>/<repo>.git#<commit>`
├─▶ Git operation failed
├─▶ failed to clone into: /home/runner/.cache/rattler/cache/uv-cache/git-v0/db/7bcd5f628a05ec38
├─▶ failed to fetch commit `<commit>`
╰─▶ process didn't exit successfully: `/usr/bin/git fetch --force --update-head-ok 'ssh://github.com/<organization>/<repo>.git' '+<commit>:refs/commit/<commit>'` (exit status: 128)
--- stderr
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
The SSH key we're using has not changed since the pixi update and the CI passes if we add with: pixi-version: v0.68.1 to the main.yaml (and revert the lock file accordingly).
Expected behavior
GitHub Actions should still be able to run with the newest version of pixi (0.69.0)
Activity
baszalmstra commentedon May 22, 2026
Thanks! I can reproduce this. Cooking up a fix!
chore: shorten comments on prefix-dev#6185 fix
fix: preserve original PyPI git URL casing and `.git` suffix in lockfile
fix: preserve original PyPI git URL casing and `.git` suffix in lockfile