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

version specifier arg not working for libc #529

Closed
2 tasks done
mjlbach opened this issue Dec 2, 2023 · 0 comments · Fixed by #535
Closed
2 tasks done

version specifier arg not working for libc #529

mjlbach opened this issue Dec 2, 2023 · 0 comments · Fixed by #535
Labels
🐞 bug Something isn't working

Comments

@mjlbach
Copy link

mjlbach commented Dec 2, 2023

Checks

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of pixi, using pixi --version.

Reproducible example

The following pixi.toml

[project]
name = "pixi-open3d"
version = "0.1.0"
description = "Pixi Open3d"
authors = ["Michael Lingelbach"]
channels = [ "conda-forge" ]
platforms = ["linux-64"]

[tasks]

[dependencies]
python = "~=3.10.0"

[pypi-dependencies]
open3d = "*"

[system-requirements]
libc = { family = "glibc", version = "2.27" }

causes

❯ pixi install
 WARN pixi::project: ALPHA feature enabled!

It looks like your project contains `[pypi-dependencies]`. This feature is currently still in an ALPHA state!

You may encounter bugs or weird behavior. Please report any and all issues you encounter on our github repository:

        https://github.com/prefix-dev/pixi.

  × The following packages are incompatible
  │ |-- open3d * cannot be installed because there are no viable options:
  │     |-- open3d 0.17.0 is excluded because none of the artifacts are compatible with the Python interpreter or glibc version
  │     |-- open3d 0.16.1 is excluded because none of the artifacts are compatible with the Python interpreter or glibc version
  │     |-- open3d 0.16.0 is excluded because none of the artifacts are compatible with the Python interpreter or glibc version
  │     |-- open3d 0.15.2 is excluded because none of the artifacts are compatible with the Python interpreter or glibc version
  │     |-- open3d 0.15.1 is excluded because none of the artifacts are compatible with the Python interpreter or glibc version
  │     |-- open3d 0.14.1 is excluded because none of the artifacts are compatible with the Python interpreter or glibc version
  │     |-- open3d 0.13.0 is excluded because none of the artifacts are compatible with the Python interpreter or glibc version
  │     |-- open3d 0.12.0 is excluded because none of the artifacts are compatible with the Python interpreter or glibc version
  │     |-- open3d 0.11.2 is excluded because none of the artifacts are compatible with the Python interpreter or glibc version
  │     |-- open3d 0.11.1 is excluded because none of the artifacts are compatible with the Python interpreter or glibc version
  │     |-- open3d 0.11.0 is excluded because none of the artifacts are compatible with the Python interpreter or glibc version
  │     |-- open3d 0.10.0.1 is excluded because none of the artifacts are compatible with the Python interpreter or glibc version
  │     |-- open3d 0.10.0.0 is excluded because none of the artifacts are compatible with the Python interpreter or glibc version
  │     |-- open3d 0.9.0.0 is excluded because none of the artifacts are compatible with the Python interpreter or glibc version
  │     |-- open3d 0.8.0.0 is excluded because none of the artifacts are compatible with the Python interpreter or glibc version

However, the following pixi.toml works fine:

[project]
name = "pixi-open3d"
version = "0.1.0"
description = "Pixi Open3d"
authors = ["Michael Lingelbach"]
channels = [ "conda-forge" ]
platforms = ["linux-64"]

[tasks]

[dependencies]
python = "~=3.10.0"

[pypi-dependencies]
open3d = "*"

[system-requirements]
libc = "2.27" 

Issue description

See above

Expected behavior

See above

@mjlbach mjlbach added the 🐞 bug Something isn't working label Dec 2, 2023
@mjlbach mjlbach mentioned this issue Dec 2, 2023
2 tasks
ruben-arts pushed a commit that referenced this issue Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant