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

Wheels are not being built properly #970

Open
wasade opened this issue May 11, 2024 · 10 comments
Open

Wheels are not being built properly #970

wasade opened this issue May 11, 2024 · 10 comments

Comments

@wasade
Copy link
Member

wasade commented May 11, 2024

This has been holding up a 2.1.16 release. No time to do it right now, and this would represent at least 1.5 week delay. Deferring a fix to later.

@pkirti33
Copy link

pkirti33 commented Jun 7, 2024

I am having this issue when using "pip install biom-format" into my virtual environment. I am getting several error messages, which include:

Building wheel for biom-format (pyproject.toml) did not run successfully.
Python recognizes 'biom.assets' as an importable package[^1], but it is absent from setuptools' packages configuration.
Python recognizes 'biom.tests.bench_tables' as an importable package[^1], but it is absent from setuptools' packages configuration.
Python recognizes 'biom.tests.test_cli.test_data' as an importable package[^1], but it is absent from setuptools' packages configuration.

@wasade
Copy link
Member Author

wasade commented Jun 7, 2024 via email

@pkirti33
Copy link

pkirti33 commented Jun 7, 2024

Sorry for not including that!

  • Operating system: Windows 10 Enterprise
  • Python version: 3.11.9

@wasade
Copy link
Member Author

wasade commented Jun 7, 2024

Thanks. Is this within WSL?

@pkirti33
Copy link

pkirti33 commented Jun 7, 2024

No - I'm running my commands directly in Windows Command Prompt

@wasade
Copy link
Member Author

wasade commented Jun 7, 2024

We test against windows-latest which is Windows 2022. However, we don't have any Windows systems locally.

We are not instrumented to assert wheels build correctly, and as noted in this issue, we did not push wheels for this latest release. Could you attempt installing natively as done in the CI action and see if that works (e.g., git clone https://github.com/biocore/biom-format.git; cd biom-format; pip install .)? Alternatively, can you install from conda?

@pkirti33
Copy link

pkirti33 commented Jun 7, 2024

Hi,
Thanks for your prompt replies! Installing it natively didn't work - I ran into the same issues. One thing that might be noteworthy is that my project uses a pyproject.toml file. The last line of my error message states:

ERROR: Could not build wheels for biom-format, which is required to install pyproject.toml-based projects

@wasade
Copy link
Member Author

wasade commented Jun 7, 2024

Any chance you'd be interested in futzing with setup.py and pyproject.toml in your local clone to see if you can find something which works, and issue a pull request?

@pkirti33
Copy link

pkirti33 commented Jun 7, 2024

Hello,
Thank you for your help, I think I found a workaround. biom-format is pre-installed in qiime2 (which I'm using), so I'm just going to perform my operations within that venv. Thank you!

@wasade
Copy link
Member Author

wasade commented Jun 7, 2024

Sounds good, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants