Skip to content

feat: add error for unsupported pypi dependencies - #1052

Merged
ruben-arts merged 1 commit into
prefix-dev:mainfrom
baszalmstra:feat/unsupport_pypi_platform_error
Mar 25, 2024
Merged

ruben-arts merged 1 commit into
prefix-dev:mainfrom
baszalmstra:feat/unsupport_pypi_platform_error

Conversation

@baszalmstra

Copy link
Copy Markdown
Contributor

Fixes #1036

With the following pixi toml:

[project]
name = "project"
channels = ["conda-forge"]
platforms = ["linux-64", "osx-arm64"]

[dependencies]
python = "3.11.8"

[pypi-dependencies]
timeago = "==1.0.16"

[feature.test]
platforms = ["linux-64"]

[environments]
test = ["test"]

The environment test is only solvable for linux-64. However, when trying to solve this lock-file on another platform no python interpreter can be installed for the environment because the environment does not support it.

This PR shows a problem that we should fix, see #1051 for that tracking issue.

@ruben-arts
ruben-arts merged commit 98be83d into prefix-dev:main Mar 25, 2024
@baszalmstra
baszalmstra deleted the feat/unsupport_pypi_platform_error branch March 26, 2026 08:27
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.

lock file update panic (conda records should be available) when pypi-dependencies used with different platform feature

2 participants