Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nanobind example doesnt work for different python version than 3.12.* on windows #2943

Open
tdejager opened this issue Jan 17, 2025 · 2 comments
Labels
area:build Related to pixi build 🐞 bug Something isn't working

Comments

@tdejager
Copy link
Contributor

When running the pixi-build-workspace example we now explicitly use 3.12.* for python. Changing this to any other python version breaks the installation of the package with:

 CMake Error at %BUILD_PREFIX%/Library/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
 │ │   Could NOT find Python (missing: Development Development.Module
 │ │   Development.Embed) (found suitable version "3.13.1", minimum required is
 │ │   "3.8")
@tdejager tdejager added area:build Related to pixi build 🐞 bug Something isn't working labels Jan 17, 2025
@jc211
Copy link

jc211 commented Jan 17, 2025

It doesn't work on linux either. I get:

Error: 
  × failed to extract metadata for 'python_bindings'
  ├─▶ failed to communicate with the build backend (pixi-build-cmake)
  ├─▶ ErrorObject { code: InvalidParams, message: "Invalid params: unknown variant
  │   `0.1.0`, expected `1`.", data: None }
  ╰─▶ ErrorObject { code: InvalidParams, message: "Invalid params: unknown variant
      `0.1.0`, expected `1`.", data: None }

@wolfv
Copy link
Member

wolfv commented Jan 17, 2025

That looks like this problem @jc211 - solution in the comments: #2942

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:build Related to pixi build 🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants