Skip to content

Update wheel building to rename linux wheels #484

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

Merged
merged 1 commit into from
Mar 4, 2025
Merged

Update wheel building to rename linux wheels #484

merged 1 commit into from
Mar 4, 2025

Conversation

kbonney
Copy link
Collaborator

@kbonney kbonney commented Mar 3, 2025

Summary

This PR is intended to address the problem that our linux wheels are rejected by PYPI. This is because they are generic linux wheels, rather than complying to a manylinux standard. Previous attempts to repair the wheel to a proper manylinux standard have run into difficulties resulting from the compiled EPANET binaries. Since these binaries are out of our control, it is not possible to quickly resolve this issue.

By renaming our linux wheels to appear as manylinux wheels, pypi should accept them. It is important to recognize that this will likely cause issues on some systems which are not actually compatible with the linux wheel, despite the manylinux name. We have tested the wheel on common ubuntu environments (my personal machine (22.04), GH ubuntu-latest (I assume this is 24.X), and on Google Colab. By forcing the wheel name, these environments should be able to successfully install and use the latest WNTR release despite the current inability to properly repair the linux wheel to manylinux standard.

Tests and documentation

As mentioned, the generic linux wheels have been tested on a handful of ubuntu systems to verify that they will work despite the failure to repair.

Acknowledgement

By contributing to this software project, I acknowledge that I have reviewed the software quality assurance guidelines and that my contributions are submitted under the Revised BSD License.

@coveralls
Copy link

Coverage Status

coverage: 81.788%. remained the same
when pulling 7c0079f on wheel-names
into be05012 on main.

@kaklise kaklise merged commit 433a9f9 into main Mar 4, 2025
45 checks passed
@kbonney kbonney deleted the wheel-names branch April 21, 2025 18:11
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

Successfully merging this pull request may close these issues.

3 participants