Skip to content

Wheels are not being built properly #970

Closed

Description

@wasade

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.

Activity

  1. pkirti33 commented on Jun 7, 2024

    @pkirti33

    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.

  2. wasade commented on Jun 7, 2024

    @wasade
    MemberAuthor
  3. pkirti33 commented on Jun 7, 2024

    @pkirti33

    Sorry for not including that!

    • Operating system: Windows 10 Enterprise
    • Python version: 3.11.9
  4. wasade commented on Jun 7, 2024

    @wasade
    MemberAuthor

    Thanks. Is this within WSL?

  5. pkirti33 commented on Jun 7, 2024

    @pkirti33

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

  6. wasade commented on Jun 7, 2024

    @wasade
    MemberAuthor

    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?

  7. pkirti33 commented on Jun 7, 2024

    @pkirti33

    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

  8. wasade commented on Jun 7, 2024

    @wasade
    MemberAuthor

    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?

  9. pkirti33 commented on Jun 7, 2024

    @pkirti33

    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!

  10. wasade commented on Jun 7, 2024

    @wasade
    MemberAuthor

    Sounds good, thanks!

  11. schlich commented on Jun 12, 2025

    @schlich
    Contributor

    This still seems to be an issue and is causing failures installing scikit-bio, I'm getting very similar error messages + missing gcc

  12. wasade commented on Jun 12, 2025

    @wasade
    MemberAuthor

    Could you open an issue with scikit-bio?

  13. schlich commented on Jun 12, 2025

    @schlich
    Contributor

    I don't think it's an issue with scikit-bio. Do they maintain this repository?

  14. schlich commented on Jun 12, 2025

    @schlich
    Contributor

    There is a stack trace in the linked issue above, i'm not sure why it would be appropriate to bring this up over there unless i'm really misunderstanding the problem. Plus, there is already this issue here.

  15. wasade commented on Jun 12, 2025

    @wasade
    MemberAuthor

    You said you were having an issue installing scikit-bio?

    I would welcome a PR to restore wheel builds, but I am currently on leave and cannot do it myself anytime soon

  16. schlich commented on Jun 12, 2025

    @schlich
    Contributor

    Sorry for the confusion, scikit-bio was failing to install because it depends on biom-format which is failing to build. Happy to take a stab at a PR for you!

  17. wasade commented on Jun 12, 2025

    @wasade
    MemberAuthor

    Thanks! The scikit-bio team would value feedback though if their installation instructions are not covering your environment

  18. schlich commented on Jun 13, 2025

    @schlich
    Contributor

    @wasade that wasn't too bad, builds all seemed to work locally, tried to keep configurations as close to the same as i could just focusing on moving to pyproject.toml and getting cibuildtool in there.

    #994

  19. wasade commented on Oct 3, 2026

    @wasade
    MemberAuthor

    Resolved by #996, which restored wheel builds via cibuildwheel. 2.1.17 shipped wheels for CPython 3.9–3.13 on manylinux x86_64/aarch64, macOS x86_64/arm64, and Windows AMD64. Python 3.14 wheels are being added in #1005 for 2.1.18.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions