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

Some friction when using Rye/uv for package management. #18761

Open
benjamin-macadam opened this issue Oct 11, 2024 · 0 comments
Open

Some friction when using Rye/uv for package management. #18761

benjamin-macadam opened this issue Oct 11, 2024 · 0 comments
Labels
bindings/python Python wrapping IREE's C API bug 🐞 Something isn't working infrastructure Relating to build systems, CI, or testing

Comments

@benjamin-macadam
Copy link

What happened?

I have been running into a somewhat odd issue when using Rye with IREE's python bindings. I consistently get this error when using rye add to add a dependency to my project:

error: Cannot uninstall package; `top_level.txt` file not found at: .venv/lib/python3.12/site-packages/iree_compiler.egg-info/top_level.txt

It seems to be the same basic issue as in astral-sh/uv#6872, perhaps the same solution would apply?

Steps to reproduce your issue

  1. start a project with rye
  2. add iree-compiler using Rye (rye add iree-compiler)
  3. add another dependency with Rye

What component(s) does this issue relate to?

Python

Version information

From rye list

iree-compiler==20240828.999
iree-compiler==20240828.999
iree-runtime==20240828.999

The two versions that appear here lines up with the linked issue.

Additional context

No response

@benjamin-macadam benjamin-macadam added the bug 🐞 Something isn't working label Oct 11, 2024
@ScottTodd ScottTodd added infrastructure Relating to build systems, CI, or testing bindings/python Python wrapping IREE's C API labels Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bindings/python Python wrapping IREE's C API bug 🐞 Something isn't working infrastructure Relating to build systems, CI, or testing
Projects
None yet
Development

No branches or pull requests

2 participants