Skip to content
New issue

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

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

Already on GitHub? # to your account

Pixi 0.28.1 breaks pypi dependency installation #1933

Closed
2 tasks done
aistellar opened this issue Aug 28, 2024 · 2 comments
Closed
2 tasks done

Pixi 0.28.1 breaks pypi dependency installation #1933

aistellar opened this issue Aug 28, 2024 · 2 comments
Labels
🐞 bug Something isn't working

Comments

@aistellar
Copy link

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

$ pixi --version
pixi 0.28.1
$ pixi init
✔ Created /home/user/test/pixi.toml
$ pixi add python
✔ Added python >=3.12.5,<4
$ pixi add --pypi ctranslate2==4.3.1
  × failed to solve the pypi requirements of 'default' 'linux-64'
  ├─▶ failed to resolve pypi dependencies
  ╰─▶ Because ctranslate2==4.3.1 has no wheels with a matching Python ABI tag and you require ctranslate2==4.3.1, we can conclude that your requirements are unsatisfiable.

$ pixi list -x
Package  Version  Build               Size      Kind   Source
python   3.12.5   h2ad013b_0_cpython  30.2 MiB  conda  python-3.12.5-h2ad013b_0_cpython.conda

Issue description

It works in Pixi 0.28.0 but not in 0.28.1. Pixi 0.28.1 fails with the error "no wheels with a matching Python ABI tag".

Expected behavior

With pixi 0.28.0

$ pixi self-update --version 0.28.0
✔ Pixi will be updated from 0.28.1 to 0.28.0
✔ Pixi archive downloaded.
✔ Pixi archive uncompressed.
✔ Pixi has been updated to version 0.28.0.
$ pixi init
✔ Created /home/user/test/pixi.toml
$ pixi add python
✔ Added python >=3.12.5,<4
$ pixi add --pypi ctranslate2==4.3.1
✔ Added ctranslate2==4.3.1
Added these as pypi-dependencies.
$ pixi list -x
Package      Version  Build               Size       Kind   Source
ctranslate2  4.3.1                        339.4 MiB  pypi   ctranslate2-4.3.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.http.whl
python       3.12.5   h2ad013b_0_cpython  30.2 MiB   conda  python-3.12.5-h2ad013b_0_cpython.conda
@aistellar aistellar added the 🐞 bug Something isn't working label Aug 28, 2024
@aistellar
Copy link
Author

It's also reported in #771 (comment)

@prefix-dev prefix-dev deleted a comment Aug 28, 2024
@ruben-arts
Copy link
Contributor

I think this was fixed by #1925, release coming soon!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants