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

Use cibuildwheel #259

Merged
merged 49 commits into from
Feb 16, 2024
Merged

Use cibuildwheel #259

merged 49 commits into from
Feb 16, 2024

Conversation

gmloose
Copy link
Collaborator

@gmloose gmloose commented Feb 16, 2024

Replaces #254.

gmloose and others added 30 commits November 27, 2023 19:59
First working version. Probably needs some brushing up :)
Removed existing `linux.yml` and `osx.yml` to avoid interference with new `build_release.yml`.
At a later stage, we may want to revive some parts of the old workflows.
Casacore base images do not yet exist. So, I cannot yet test the new workflow. Best to revert for now.

This reverts commit 3045b47.
In the grand old days, Homebrew installed to `/usr/local` and all was well.
Now, however, while Intel Homebrew still does this, Apple Silicon / M1 / M2
Homebrew has gone and picked a new prefix: `/opt/homebrew`. A good explanation
of the rationale is at https://earthly.dev/blog/homebrew-on-m1/. Basically,
Homebrew had to admit that Fink and MacPorts were right. :-P

The solution is to call `brew --prefix` and add those libraries explicitly
to the search list. Keep going if brew is not installed.

This addresses #252.
The CI/CD pipeline still uses some old kern-6 docker images based on Python 3.6. The code no longer works with Python 3.6, and we have dropped support for it. Disabled the offending steps.
Replace `ADD` with `COPY` to see if error disappears.
@gmloose gmloose merged commit a0d9af0 into master Feb 16, 2024
11 of 13 checks passed
@gmloose gmloose deleted the use-cibuildwheel branch February 16, 2024 15:11
gmloose added a commit that referenced this pull request Feb 16, 2024
This PR adds support for building `python-casacore` using [cibuildwheel](https://cibuildwheel.readthedocs.io/en/stable/), and a GitHub workflow that builds and uploads these wheels to [PyPI](https://pypi.org/project/python-casacore/).
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