Repository navigation
Closed
Labels
bugSomething isn't working
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
Summary
pixi publish --help documents channel:///path/to/channel as a supported target URL for --target-channel (or --to).
However, running pixi publish with that scheme fails with:
Unsupported URL scheme 'channel'. Supported schemes: file://, s3://, quetz://, artifactory://, prefix://, http://, https://
This appears to be a documentation/implementation mismatch.
Environment
- OS: SUSE Linux Enterprise Server 15 SP4
- Kernel: Linux 5.14.21-150400.24.158-default x86_64
- Pixi: 0.68.1
Evidence From Help Text
From pixi publish --help:
Supported target URLs (--target-channel / --to):
- Local channel (with indexing): `channel:///path/to/channel`
...
Examples:
channel:///path/to/local/channel file:///path/to/local/channel
Steps To Reproduce
- Prepare any package directory that
pixi publishcan build from. - Run:
pixi publish --target-channel channel:///path/to/local/channel --path ./packages/example --force --skip-existing falseActual Result
Command fails with:
Unsupported URL scheme 'channel'. Supported schemes: file://, s3://, quetz://, artifactory://, prefix://, http://, https://
Expected Result
One of the following should happen:
channel:///...is accepted and works as documented, or- Help text is updated to remove
channel:///...if it is not actually supported.
Additional Notes
file:///...appears to be accepted according to the same error output and help text.- This likely impacts local-channel publish workflows that follow the documented
channel:///...form.
Issue description
pixi publish rejects channel:///... even though help says it is supported
Expected behavior
channel:///... is accepted and works as documented
Activity
ruben-arts commentedon May 15, 2026
Ah sorry I believe this is old documentation left behind from an inbetween version that was not merged.
@hunger could you clean this up?
hunger commentedon May 15, 2026
@amirhosseindavoody:
pixi publish --target-channel file:///foo/barwill do waht you need. Or justpixi publish --target-channel /foo/bar.I hope you are happy with the updated docs.
amirhosseindavoody commentedon May 15, 2026
I tried this command
pixi publish --target-channel /foo/bar. Looks like it does not reindex the target-channel.I was interested in
channel:///foo/barinstead offile:///foo/barbecause of indexing behavior. It seems that pixi 0.68.1 still does not do indexing after publish using file schema.amirhosseindavoody commentedon May 18, 2026
@ruben-arts I still have an issue with indexing the local channel. My understanding is that after using publish command, it will automatically reindex the local channel. But that is not what I see when use
pixi publish --target-channel /foo/bar.Should I open a new issue for that?
kaiserls commentedon Jun 15, 2026
@amirhosseindavoody I was not able to reproduce this issue with pixi 0.70.2. The channel was correctly indexed. I guess it was solved in on of the last releases.
Edit: I just encountered a case, where the indexing does not work: #6362 . Not sure if this is in any way related.
amirhosseindavoody commentedon Jun 25, 2026
I have the same setup where I source a channel in my pixi manifest and then publish to the same channel.