Skip to content

feat: add --index option to specify PyPI index URL - #5575

Merged
baszalmstra merged 16 commits into
prefix-dev:mainfrom
suleman1412:fix/5522-add-index-flag
Jun 2, 2026
Merged

baszalmstra merged 16 commits into
prefix-dev:mainfrom
suleman1412:fix/5522-add-index-flag

Conversation

@suleman1412

Copy link
Copy Markdown
Contributor

Description

This PR adds the --index flag to pixi add --pypi, allowing users to specify a custom PyPI index URL directly from the CLI when adding pypi dependencies.

Fixes #5522

How Has This Been Tested?

  • Verified the --index flag appears in pixi add --help
  • Tested adding a package with --index flag to a new project
  • Confirmed the index URL is correctly written to pixi.toml
  • Ran full lint suite (pixi run lint) with no new warnings

AI Disclosure

  • This PR contains AI-generated content.
    • I have tested any AI-generated content in my PR.
    • I take responsibility for any AI-generated content in my PR.
      Tools: Claude

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (not needed - CLI flag is self-documenting)
  • I have added sufficient tests to cover my changes (test struct updated)
  • I have verified that changes that would impact the JSON schema have been made in schema/model.py (not applicable - no schema change)

Copilot AI review requested due to automatic review settings March 1, 2026 00:21

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds support for specifying a custom PyPI index URL when adding PyPI dependencies via the CLI.

Changes:

  • Introduces a new --index CLI option (parsed as Url) and threads it into pixi add --pypi so the index is written into the per-dependency PixiPypiSpec.
  • Updates autogenerated CLI reference docs to include --index.
  • Updates integration-test builders to account for the new DependencyConfig field.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
docs/reference/cli/pixi/add.md Documents the new --index flag for pixi add.
docs/reference/cli/pixi/remove.md Now also documents --index due to DependencyConfig reuse.
crates/pixi_cli/src/cli_config.rs Adds index: Option<Url> to DependencyConfig (shared by add/remove).
crates/pixi_cli/src/add.rs Applies --index by mutating PixiPypiSpec when adding PyPI deps.
crates/pixi/tests/integration_rust/common/builders.rs Extends default DependencyConfig construction with index.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread crates/pixi_cli/src/cli_config.rs Outdated

/// The PyPI index URL to use for this dependency.
/// Only applicable when adding pypi dependencies.
#[clap(long, requires = "pypi")]

Copilot AI Mar 1, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DependencyConfig is flattened into both pixi add and pixi remove (see crates/pixi_cli/src/remove.rs), so adding --index here makes pixi remove --index a supported CLI flag and causes it to appear in the autogenerated docs/reference/cli/pixi/remove.md. If --index is intended only for pixi add --pypi, move this option out of the shared DependencyConfig and into add::Args (or otherwise hide it for remove).

Suggested change
#[clap(long, requires = "pypi")]
#[clap(long, requires = "pypi", hide = true)]

Copilot uses AI. Check for mistakes.
Comment thread crates/pixi_cli/src/cli_config.rs Outdated

/// The PyPI index URL to use for this dependency.
/// Only applicable when adding pypi dependencies.
#[clap(long, requires = "pypi")]

Copilot AI Mar 1, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

--index currently only takes effect for registry-style requirements (PixiPypiSource::Registry) but the CLI allows combining it with --git/VCS-style adds; in that case it will be silently ignored (or even fail during PixiPypiSpec::try_from). Consider adding a clap constraint (e.g., conflicts_with = "git") and/or validating that all provided PyPI requirements are registry sources when --index is set, returning a clear error otherwise.

Suggested change
#[clap(long, requires = "pypi")]
#[clap(long, requires = "pypi", conflicts_with = "git")]

Copilot uses AI. Check for mistakes.
Comment thread docs/reference/cli/pixi/remove.md Outdated
: The feature for which the dependency should be modified
<br>**default**: `default`
- <a id="arg---index" href="#arg---index">`--index <INDEX>`</a>
: The PyPI index URL to use for this dependency. Only applicable when adding pypi dependencies

Copilot AI Mar 1, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The --index option description says it is only applicable when adding dependencies, but this is the pixi remove command reference. If pixi remove should not accept --index, this option should be removed from the generated remove docs (by scoping the clap arg to pixi add). If pixi remove does accept it, the description here should be corrected to reflect removal behavior.

Suggested change
: The PyPI index URL to use for this dependency. Only applicable when adding pypi dependencies
: The PyPI index URL to use when removing PyPI dependencies

Copilot uses AI. Check for mistakes.
Comment thread crates/pixi_cli/src/add.rs Outdated
Comment on lines +171 to +175
let pixi_spec = if let Some(ref index_url) = index {
let mut spec = PixiPypiSpec::try_from(req.clone()).map_err(|e| {
miette::miette!("failed to convert requirement: {}", e)
})?;
if let PixiPypiSource::Registry { index: idx, .. } = spec.source_mut() {

Copilot AI Mar 1, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The --index handling (convert Requirement -> PixiPypiSpec, mutate Registry.index, wrap in Some) is duplicated in both the VCS and non-VCS branches of pypi_deps construction. Extract this into a small helper/closure to keep behavior consistent and reduce maintenance risk.

Copilot uses AI. Check for mistakes.
Comment thread crates/pixi_cli/src/add.rs Outdated
.await?
}
DependencyType::PypiDependency => {
let index = args.dependency_config.index.clone();

Copilot AI Mar 1, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New behavior is introduced here: --index mutates the PixiPypiSpec written for added PyPI dependencies. Please add an integration test that runs pixi add --pypi --index <url> <pkg> and asserts the manifest contains the per-dependency index = "<url>" (and ideally that resolution uses it).

Copilot uses AI. Check for mistakes.
@suleman1412

Copy link
Copy Markdown
Contributor Author

@baszalmstra this fixes #5522, please review and let me know if it looks good to you!

@baszalmstra baszalmstra left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

copilot highlighted some important issues, I added one, and you should definitely add a test to at least add_tests.rs.

Comment thread crates/pixi_cli/src/add.rs Outdated
Comment on lines +189 to +203
.map(|(name, req)| {
let pixi_spec = if let Some(ref index_url) = index {
let mut spec = PixiPypiSpec::try_from(req.clone()).map_err(|e| {
miette::miette!("failed to convert requirement: {}", e)
})?;
if let PixiPypiSource::Registry { index: idx, .. } = spec.source_mut() {
*idx = Some(index_url.clone());
}
Some(spec)
} else {
None
};
Ok((name, (req, pixi_spec, None)))
})
.collect::<miette::Result<_>>()?,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is essentially a duplicate of the above. Maybe abstract that in a function?

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 5 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/reference/cli/pixi/add.md Resolved
Comment on lines +1255 to +1259
// Verify manifest contains index
let manifest = pixi.manifest_contents().unwrap();
let url = pypi_index.index_url();
assert!(manifest.contains(url.as_str()));
}

Copilot AI Mar 8, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test assertion manifest.contains(url.as_str()) is fairly broad and could pass even if the URL ends up in an unexpected place in the manifest. To make the test more robust, consider parsing the manifest TOML and asserting that the black PyPI dependency entry includes the expected index field/value (and not just that the URL appears somewhere).

Copilot uses AI. Check for mistakes.
Comment thread crates/pixi_cli/src/add.rs Outdated
Comment on lines +189 to +195
.map(|(name, req)| {
let pixi_spec = index
.as_ref()
.and_then(|index_url| apply_index_to_pypi_spec(&req, index_url).ok())
.flatten();
Ok((name, (req, pixi_spec, None)))
})

Copilot AI Mar 8, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The conversion error from apply_index_to_pypi_spec is currently being silently ignored via .ok(), so an invalid/unsupported requirement would just drop the index (and still succeed) instead of surfacing an actionable error to the user. Please propagate the miette::Result from apply_index_to_pypi_spec (e.g., avoid .ok() and use ? / transpose() as appropriate) so failures are not hidden.

Copilot uses AI. Check for mistakes.
Comment thread crates/pixi_cli/src/add.rs Outdated
Comment on lines +133 to +143
fn apply_index_to_pypi_spec(
req: &Requirement,
index_url: &Url,
) -> miette::Result<Option<PixiPypiSpec>> {
let mut spec = PixiPypiSpec::try_from(req.clone())
.map_err(|e| miette::miette!("failed to convert requirement: {}", e))?;
if let PixiPypiSource::Registry { index, .. } = spec.source_mut() {
*index = Some(index_url.clone());
}
Ok(Some(spec))
}

Copilot AI Mar 8, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

apply_index_to_pypi_spec currently returns miette::Result<Option<PixiPypiSpec>> but always returns Ok(Some(spec)), even when the requirement source is not a registry (so the index is never actually applied). Consider returning miette::Result<PixiPypiSpec> (no Option) or returning Ok(None) when the source is not PixiPypiSource::Registry so the caller can avoid passing an unnecessary pixi_req for non-registry requirements and the control flow becomes clearer (also removes the need for .flatten() at the call site).

Copilot uses AI. Check for mistakes.
Comment thread crates/pixi_cli/src/add.rs Outdated
Comment on lines +187 to +196
Some(vcs_reqs) => vcs_reqs
.into_iter()
.map(|(name, req)| (name, (req, None, None)))
.collect(),
.map(|(name, req)| {
let pixi_spec = index
.as_ref()
.and_then(|index_url| apply_index_to_pypi_spec(&req, index_url).ok())
.flatten();
Ok((name, (req, pixi_spec, None)))
})
.collect::<miette::Result<_>>()?,

Copilot AI Mar 8, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The logic to compute pixi_spec from index and build Ok((name, (req, pixi_spec, None))) is duplicated in both match arms (Some(vcs_reqs) and None). Consider factoring this into a small helper/closure (e.g., a map_req function that takes (name, req) and returns the tuple) to keep the two paths consistent and reduce future maintenance risk.

Copilot uses AI. Check for mistakes.
@suleman1412
suleman1412 requested a review from Copilot March 8, 2026 20:34

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread crates/pixi_cli/src/add.rs Resolved
Comment thread crates/pixi_cli/src/add.rs Outdated
Comment on lines +197 to +208
let index = args.index.clone();

let requirements_iter = match args
.dependency_config
.vcs_pep508_requirements(&workspace)
.transpose()?
{
Some(vcs_reqs) => vcs_reqs
.into_iter()
.map(|(name, req)| (name, (req, None, None)))
.collect(),
None => args
.dependency_config
.pypi_deps(&workspace)?
.into_iter()
.map(|(name, req)| (name, (req, None, None)))
.collect(),
Some(vcs_reqs) => vcs_reqs.into_iter(),
None => args.dependency_config.pypi_deps(&workspace)?.into_iter(),
};

let pypi_deps = map_pypi_requirements_with_index(requirements_iter, index.as_ref())?;

Copilot AI Mar 8, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Avoid cloning args.index here. You can pass args.index.as_ref() directly (or bind an Option<&Url>), which prevents an unnecessary Url allocation/copy for every pixi add invocation.

Copilot uses AI. Check for mistakes.
Comment thread crates/pixi_cli/src/add.rs Resolved
@suleman1412

Copy link
Copy Markdown
Contributor Author

HI @baszalmstra !
I've addressed all the Copilot issues:

  • Moved --index out of DependencyConfig so it doesn't appear in pixi remove
  • Added conflicts_with = "git" to prevent combining --index with --git
  • Extracted the code duplication into a helper function map_pypi_requirements_with_index
  • Added an integration test add_pypi_with_index that verifies the index is written to the manifest
  • Removed the unnecessary .clone() on args.index

For the test on non-registry sources (Git/Path) - After investigation I found it's actually redundant. Even when pixi_spec is None for non-registry sources, the manifest system reconstructs the spec from the raw requirement (in target.rs:319). So whether we return None or Some(spec) for pixi_spec, the end result is identical - the Git source is preserved.

Could you take another look and approve if it looks good?

@suleman1412

Copy link
Copy Markdown
Contributor Author

Hi @baszalmstra , can I please get any feedback on this?

@baszalmstra

Copy link
Copy Markdown
Contributor

We are adding support for storing indexes in the lockfile in #5483. Im gonna wait with merging this until that is in.

@suleman1412

Copy link
Copy Markdown
Contributor Author

@baszalmstra seems like the previous PR was closed. are there any blockers for this?

@baszalmstra baszalmstra changed the title feat(add): add --index option to specify PyPI index URL feat: add --index option to specify PyPI index URL Jun 2, 2026
@baszalmstra
baszalmstra enabled auto-merge (squash) June 2, 2026 07:47
@baszalmstra
baszalmstra merged commit a61be0c into prefix-dev:main Jun 2, 2026
41 checks passed
tenzinplatter added a commit to greenroom-robotics/pixi that referenced this pull request Jun 26, 2026
* fix: don't misclassify missing python as pypi-only during upgrade (prefix-dev#6095)

* chore(docs): Update the pixi publish docs (prefix-dev#6129)

* fix: drop bare self-references in expand_self_extras (prefix-dev#6142)

* chore(ci): Update Pixi (prefix-dev#6149)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(ci): Update GitHub Actions (prefix-dev#6148)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix: use gnu target for riscv64 in install.sh (prefix-dev#6143)

* feat(publish): honor workspace.s3-options when uploading to s3 (prefix-dev#6069)

* feat: add oauth default login (prefix-dev#6140)

* fix: propagate run-exports from host/build  (prefix-dev#6151)

* chore(deps): bump uv to 0.11.15 (prefix-dev#6132)

* perf: install build and host environments concurrently (prefix-dev#6152)

* feat(publish): add `--variant` and `--variant-config` flags (prefix-dev#6109)

* chore(deps): bump rattler crates (prefix-dev#6153)

* docs: Fix typo (prefix-dev#6157)

* feat: add `--package-format` to `pixi publish` for tar.bz2 output (prefix-dev#6156)

* fix: hook up repodata fetch reporter to gateway queries (prefix-dev#6112)

* fix: invalidate build-backend metadata cache when backend spec changes (prefix-dev#6111)

* chore(deps): bump rattler-build crates to latest main (prefix-dev#6163)

Co-authored-by: Claude <[email protected]>

* fix: normalize extras order in lockfile metadata comparison (prefix-dev#6165)

* fix: trust path-based pypi overrides for transitive registry specs (prefix-dev#6169)

* fix: build backends nightly build - pass through more vars to fix sccache (prefix-dev#6168)

* fix: build backends build by disabling env isolation (prefix-dev#6170)

* chore: version to 0.69.0 (prefix-dev#6164)

* fix: conda package build for windows and osx (prefix-dev#6171)

Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>

* chore: bump backend versions (prefix-dev#6173)

* docs: Update `github_actions` docs for `setup-pixi` version 0.9.6 (prefix-dev#6174)

Co-authored-by: Pavel Zwerschke <[email protected]>

* feat: implement v3 repodata/matchspec support in pixi spec (prefix-dev#6015)

* fix: bump mimalloc to 0.1.51 to fix win-arm64 process-exit crash (prefix-dev#6176)

Co-authored-by: Claude <[email protected]>

* feat: support `[workspace.dependencies]` (prefix-dev#6162)

* fix(pypi-mapping): fetch parselmouth compressed mapping from conda-mapping.prefix.dev (prefix-dev#6172)

Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>

* feat: clamp .pixi/ mtimes to SOURCE_DATE_EPOCH for reproducibility (prefix-dev#6056)

* chore(ci): Update azure/trusted-signing-action action to v2 (prefix-dev#6200)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(ci): Update Rust crate shlex to v2 (prefix-dev#6201)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(ci): Update GitHub Actions (prefix-dev#6195)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(ci): Update Pixi (prefix-dev#6196)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(reinstall): wire up progress reporter and batch environments (prefix-dev#6205)

Co-authored-by: Lucas Colley <[email protected]>

* fix: forward termination signal (prefix-dev#6204)

* fix(global): clear conda stack env for prefix-ignore trampolines (prefix-dev#6210)

Co-authored-by: jinhyuk9714 <[email protected]>
Co-authored-by: GitHub Actions <[email protected]>

* chore(ci): Update taiki-e/install-action action to v2.79.2 (prefix-dev#6209)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* docs: clarify per-environment activation variables (prefix-dev#6214)

Co-authored-by: Claude <[email protected]>
Co-authored-by: Hofer-Julian <[email protected]>

* fix: git url normalization (prefix-dev#6203)

* feat: adopt deno_task_shell native multiline support (prefix-dev#6211)

* fix: installer, use per user scope instead of system (prefix-dev#5568)

* fix: disable gpg signing in git fixture repos (prefix-dev#6216)

Co-authored-by: Claude <[email protected]>

* fix(pixi-build-r): resolve license file to absolute path (prefix-dev#6215)

* chore: use lzma-rust2 instead of xz2 (prefix-dev#5087)

* feat: add skip_pyc_compilation configuration option (prefix-dev#5737)

* chore: use "lock file" consistently (prefix-dev#6208)

* feat(pixi-build): plumb workspace scratch directory and cache ROS distro fetches (prefix-dev#6181)

* docs(cli): mention `pixi self-update` in `requires-pixi` help msg (prefix-dev#6207)

* feat: git lfs support in `pixi-git` (prefix-dev#6183)

* feat: parallel global update (prefix-dev#5970)

* feat(pixi-build-ros): discover sibling ROS packages + marker-driven workspace globbing (prefix-dev#6182)

* docs: Update link to Code of Conduct in CONTRIBUTING.md (prefix-dev#6224)

* fix: tests on main did not update assertion for `.git` suffix (prefix-dev#6227)

* perf: compute engine and dispatcher speedups + backend-metadata cache fix (prefix-dev#6180)

* chore: use rust backend for building ros backend (prefix-dev#6228)

* fix: reject build backends defined as source dependencies (prefix-dev#6230)

* fix: reinstall when registry install collides with non-registry lock entry (prefix-dev#6213)

Co-authored-by: Claude <[email protected]>

* fix: clear error on remove with suggestions for missing dependency (prefix-dev#6218)

Co-authored-by: Claude <[email protected]>

* fix: seed pypi-options from global config in `--import` and existing pyproject paths (prefix-dev#6212)

Co-authored-by: Claude <[email protected]>

* fix: keep OS trust store for native-tls System mode (prefix-dev#6235)

Co-authored-by: Claude <[email protected]>

* feat: support --no-config / --config-file (prefix-dev#6222)

* fix: upgrade dependency-group dependencies (prefix-dev#6241)

* chore: reuse build cache by passing `--workspace` (prefix-dev#6242)

* feat: extend pixi publish to support cloudsmith as a target (prefix-dev#6219)

* chore: version to 0.70.0 (prefix-dev#6244)

* chore(ci): Update cargo patches (prefix-dev#6247)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(ci): Update Pixi (prefix-dev#6248)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(ci): Update GitHub Actions (prefix-dev#6250)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* feat: add --index option to specify PyPI index URL (prefix-dev#5575)

* chore: bump backend versions (prefix-dev#6254)

* fix: scope PyPI source-build cache by conda environment (prefix-dev#6240)

This change scopes the source-build cache to the conda environment, so a wheel built against one set of conda dependencies is no longer reused in an environment that resolves different ones

* fix: limit concurrent global update (prefix-dev#6253)

* fix: global share command dispatcher (prefix-dev#6255)

* docs: link to parselmouth mapping browser in conda/PyPI page (prefix-dev#6256)

* fix(pixi-build-python): reinstall to avoid duplicate dist-info (prefix-dev#6257)

Co-authored-by: Claude <[email protected]>

* feat: implement extras and flags support for pixi and pixi-build (prefix-dev#5998)

Co-authored-by: Bas Zalmstra <[email protected]>

* feat: serialize concurrent environment installs and recover from interrupted ones (prefix-dev#6233)

Co-authored-by: Claude <[email protected]>

* chore(ci): Update Rust crate jiff to v0.2.27 (prefix-dev#6258)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix: support conda extras for satisfiabily and solve groups (prefix-dev#6260)

* chore(ci): Update GitHub Actions to v2.79.9 (prefix-dev#6261)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore: version to 0.70.1 (prefix-dev#6268)

* fix: compare pypi git urls using the raw url, not uv's canonical one (prefix-dev#6272)

Co-authored-by: Claude <[email protected]>

* fix: keep conda-env build discriminator out of PEP 517 config_settings (prefix-dev#6273)

Co-authored-by: Claude <[email protected]>

* fix: accept find-links URLs during lock file satisfiability (prefix-dev#6270)

Co-authored-by: Claude <[email protected]>

* chore: strip debug info from dependencies in dev builds (prefix-dev#6283)

* chore: Bump tikv-jemallocator to 0.7.0 (prefix-dev#6278)

* ci: speed up ubuntu and macOS x86 CI (prefix-dev#6280)

* feat: Improve PyPI > Conda clobber detection (prefix-dev#6292)

* fix(ros): avoid pixi lock panics on unmappable ROS dependencies (prefix-dev#6290)

Co-authored-by: Claude <[email protected]>

* fix: preserve file permissions during atomic write operations (prefix-dev#6296)

* chore: version to 0.70.2 (prefix-dev#6298)

Co-authored-by: Ruben Arts <[email protected]>

* feat(core): Rich Platform support (prefix-dev#6178)

* test: move examples satisfiability tests to Python (prefix-dev#6300)

* fix: honor workspace [cache.*] overrides for conda-pypi mapping cache (prefix-dev#6284)

* fix: stop source builds rebuilding from scratch on every run (prefix-dev#6285)

* fix: suggest the correct cache config key in netfs-redirect warning (prefix-dev#6282)

* test: skip example satisfiability checks on unsupported platforms (prefix-dev#6311)

* chore(ci): Update Pixi (prefix-dev#6305)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(ci): Update cargo patches (prefix-dev#6304)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(ci): Update GitHub Actions to v2.81.1 (prefix-dev#6307)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* refactor: pypi mapping module so that its a bit more logically named (prefix-dev#6302)

* docs: Remove pixi-inject page (prefix-dev#6276)

* chore(ci): Update GitHub Actions to v2.81.2 (prefix-dev#6313)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(test): make test_info_output_extended platform-agnostic (prefix-dev#6314)

* test: skip pytorch doc examples on platforms they don't support (prefix-dev#6317)

* fix(core): key locked records by declared platform for rich platforms (prefix-dev#6315)

* chore(ci): Update GitHub Actions to v6.0.3 (prefix-dev#6319)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(ci): Update Pixi to >=0.24,<0.25 (prefix-dev#6321)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* feat(pixi_spec): support extras, flags and when on conda dependencies (prefix-dev#6262)

* fix(satisfiability): detect extra-dependency drift for source packages (prefix-dev#6263)

* docs: add a pixi-build v3 example using extras, flags and when (prefix-dev#6264)

* fix(ci): Attest the tarballs and the binary inside separately (prefix-dev#6266)

* chore: bump pixi-build-api-version to 5 (prefix-dev#6328)

* ci: move doc examples to `pixi_build` (prefix-dev#6330)

* fix: stop requiring old backend version doc example (prefix-dev#6338)

* feat(test): Do not run tests un unsupported platforms

---------

Co-authored-by: Bas Zalmstra <[email protected]>
Co-authored-by: Tobias Hunger <[email protected]>
Co-authored-by: Ben Moss <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: nichmor <[email protected]>
Co-authored-by: Wolf Vollprecht <[email protected]>
Co-authored-by: Pavel Zwerschke <[email protected]>
Co-authored-by: Claude <[email protected]>
Co-authored-by: Ruben Arts <[email protected]>
Co-authored-by: Andreas Albert <[email protected]>
Co-authored-by: Lucas Colley <[email protected]>
Co-authored-by: Hofer-Julian <[email protected]>
Co-authored-by: jinhyuk9714 <[email protected]>
Co-authored-by: GitHub Actions <[email protected]>
Co-authored-by: Filippo Luca Ferretti <[email protected]>
Co-authored-by: samrosenf <[email protected]>
Co-authored-by: Ruben Arts <[email protected]>
Co-authored-by: jmayes-rx <[email protected]>
Co-authored-by: Suleman Karigar <[email protected]>
Co-authored-by: Tim de Jager <[email protected]>
Co-authored-by: Kevin Mills <[email protected]>
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.

Add --index argument to pixi add --pypi

3 participants