Skip to content

feat: integrate conda-pypi wheels using released rattler - #7392

Open
nichmor wants to merge 7 commits into
prefix-dev:mainfrom
nichmor:nichmor/conda-pypi-pixi
Open

nichmor wants to merge 7 commits into
prefix-dev:mainfrom
nichmor:nichmor/conda-pypi-pixi

Conversation

@nichmor

@nichmor nichmor commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Description

Adds conda-pypi integration: pixi can now solve and install wheels published to a conda channel, next to regular conda and PyPI dependencies.

Checklist:

  • I've discussed the proposed changes with a maintainer.
  • I understand the purpose of my changes and how they interact with the greater system.
  • User-facing changes are documented and prose in the documentation has been written/edited/reviewed by hand.

🤖 Generated with Claude Code

Bump rattler to 0.55.3 and rattler-build to 0.2.22, which agree on
rattler_cache 0.11, rattler_config 0.10, rattler_package_streaming 0.28
and rattler_upload 0.15. rattler_build_jinja 0.1.23 moved to minijinja 3,
so the workspace follows: serde conversion is opt-in there, templates take
`Into<Value>` contexts, and maps render with Python-style quoting.

Prefer `.conda` archives with wheel support when solving conda packages
and add an example mixing a conda-pypi channel package with PyPI.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@nichmor
nichmor force-pushed the nichmor/conda-pypi-pixi branch from 17e2af9 to 5a454ef Compare October 30, 2026 07:11
nichmor and others added 2 commits October 30, 2026 10:56
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@nichmor
nichmor marked this pull request as ready for review October 30, 2026 09:23
nichmor and others added 2 commits October 30, 2026 11:40
… --force`

minijinja 3 follows Jinja2 in the `title` filter: a double quote no longer
starts a new word, so the test passes its argument without embedded quotes.
rattler_upload 0.15 added `--force` to the Cloudsmith upload command, so the
generated CLI reference gains that flag.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Generated with rattler patched to conda/rattler#3059, which keeps alias
shards of the conda-pypi channel from producing duplicate records. The lock
satisfies the manifest with the released solver as well.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@nichmor
nichmor marked this pull request as draft October 30, 2026 10:40
nichmor and others added 2 commits October 31, 2026 17:01
The rattler release includes conda/rattler#3059, which returns only the
requested package from a sharded repodata shard. The conda-pypi channel
serves alias shards whose records duplicated those of the canonical
package, which made solving fail. The example no longer needs a patched
rattler to lock.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…pixi

# Conflicts:
#	Cargo.lock
#	crates/pixi_api/src/workspace/init/mod.rs
@nichmor
nichmor marked this pull request as ready for review October 31, 2026 15:12

This branch has not been deployed

No deployments
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

Successfully merging this pull request may close these issues.

1 participant