Skip to content

pixi definitions fail with pypi-dependencies #142897

Closed

Description

@crusaderky

Bug report

Bug description:

Following #142469, I tried using the cpython pixi recipe to build another package from sources:

[workspace]
channels = ["conda-forge"]
platforms = ["linux-64", "osx-arm64"]
preview = ["pixi-build"]

[dependencies]
python = { git = "https://github.com/python/cpython", subdirectory = "Tools/pixi-packages/default" }

[pypi-dependencies]
packagehelloworld = "*"

The above fails with pixi 0.62:

Error: × failed to solve the pypi requirements of environment 'default' for platform 'linux-64'
╰─▶ No Python interpreter found in the dependencies
help: Try: pixi add python

CC @lucascolley

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux

Activity

  1. lucascolley commented on Dec 17, 2025

    @lucascolley
    Contributor
  2. lucascolley commented on Dec 18, 2025

    @lucascolley
    Contributor
  3. lucascolley commented on Dec 18, 2025

    @lucascolley
    Contributor

    will be out in next Pixi release, this issue can probably be closed.

    In the meantime, you can pixi run install-as tixi on the pixi repo if you want to use it from source @crusaderky

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions