-
Notifications
You must be signed in to change notification settings - Fork 393
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
Modernize CI/CD Pipeline with cibuildwheel #612
Conversation
Not entirely sure why those extra commits are in this PR. My local log shows it clean
|
Note I would also say we could use pyproject.toml to determine the supported versions similar to what we did here. This would make pyproject.toml the only point of entry to determine what versions are supported rather than manually specifying it in two places. |
I think it is a good idea to migrate, step by step, all these legacy remainders into the current standards wherever possible, so please feel free to make these changes in other PRs. A lot of the legacy debt comes from keeping support for older Python versions that do not understand the new packaging standards. Now that we want to get rid of this in the I really appreciate all your help, @cvanelteren, I think I will also learn a lot thanks to you, because I have been a bit stuck in the last couple of years: the Python packaging has moved a lot and I could not keep track of it. |
The PR is mentioning a conflict because I think you forked from the |
f488008
to
69684e0
Compare
Ah thanks @molinav. Rebased it to develop. I believe the workflow had some other issues that I will focus on now. |
I think the GEOS changes will need a revisit. The idea is that we keep control of the version that we bundle with the The GEOS version remains in 3.6.x because from 3.7.x it was not possible to build anymore with GCC 4.x. This GEOS version can be bumped in a separate PR once the new workflows work. |
I see now that a lot of files have changed, also some that are not directly related to the Maybe it is better if the PR is started again with the focus only in the Once the |
I was searching in the wrong direction. I couldn't figure out why the build was failing. Apparantly |
34b23ae
to
a7ebde5
Compare
a7ebde5
to
08f77e8
Compare
I can remove
to clean up the commits and keep the original focus on CI. |
537c005
to
41abfdf
Compare
still some issues with the path. It's bit annoying to figure out as locally the builds are running fine and I have to push to emulate the github workflow. I will setup |
@cvanelteren I would suggest that you continue debugging in the current PR, but the final changes should rather be proposed in new separate PRs, because I cannot follow the changes. I would like to describe my view a bit more. Due to my lack of free time, the repository has been outdated for long and this brought several issues. These issues are, however, clearly separable:
People realise at some point that there is a problem with To properly address the problem, the first thing is to fix the GitHub workflows (Issue 1). It must be noted that the Once the GitHub workflows are running again, then we can start addressing Issue 2 and Issue 3 (and only one at a time). Not before, because any changes in Point 2 and Point 3 without solving Point 1 first will be untested. This is fine when the changes do not introduce bugs, but it is problematic when the changes introduce unexpected behaviour, and we cannot predict in which situation we will find ourselves after some change. In the case of using I want to list two items (touching Issue 3 while addressing Issue 1) that support my proposal from above and why it is better to address one problem at a time:
I still want to stress that I appreciate a lot all your efforts, @cvanelteren. I am aware that my limited availability has been blocking I recently had the bad experience with |
af59720
to
82f8f14
Compare
Ok completely understand. Don't worry I will fix it here s d then ea. It up on a separate PR 🫡. |
Closing in favor of #614 |
Changes
This PR modernizes our GitHub Actions workflows by consolidating the existing four workflow files into two streamlined workflows using cibuildwheel.
Main improvements:
Technical Details:
build.yml
: Handles main basemap package (replaces manylinux and windows workflows)build-data.yml
: Handles data packages (replaces both data package workflows)Required Actions:
Testing
The new workflows have been tested with:
Related to issue PR #611