-
Notifications
You must be signed in to change notification settings - Fork 394
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 build #614
Modernize CI build #614
Conversation
I need to add the pytest but otherwise it looks good |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added some comments to your changes. The only one that is important is the one regarding the missing auditwheel repair
(targeting manylinux2014/manylinux_2_17), the rest is all minor.
Based on the `cibuildwheel` docs: https://cibuildwheel.pypa.io/en/stable/options/ If `CIBW_REPAIR_WHEEL_COMMAND` is not specified, then the default behaviour for Linux is our desired behaviour: auditwheel repair -w {dest_dir} {wheel} Because `CIBW_REPAIR_WHEEL_COMMAND` was set before to "", the repair step was being skipped.
This is done by forcing the value of `LD_LIBRARY_PATH` temporarily to the location of the GEOS shared library.
The wheels seems to be missing the data still:
|
If you mean the additional data files (boundaries, rivers, etc.), they belong to But now that you mentioned this, I realised that what we are missing is the sdist version of |
28c7087
to
43c5e35
Compare
The |
I think it is fine for now to have separate artifacts, as long as the upload job picks all of them later. |
I want to pick one wheel for Windows and one for GNU/Linux to see that they install and import properly on my machine, and then it is time to merge! |
This used to be set in order to silence some deprecation warnings, but now we want these warnings to appear in the logs, to address them as soon as we see them.
89bbcd1
to
220cdc1
Compare
a22a722
to
35d848f
Compare
cc9769b
to
eb91a56
Compare
eb91a56
to
21368dc
Compare
This ensures that no line break is appended at the end of the multiline string.
@cvanelteren I am merging your PR now. I want to play a bit more with a couple of things, but I can make it in a separate branch in my fork without delaying your PR more. In the future I would like to:
Thanks a lot for your effort! |
No worries @molinav. I can assist in this if you would like. To respond to your points
|
This was rather frustrating to figure but I have gotten it to build using CI and not touching the other part of the codebase. The major issue was that some of the docs on CIBUILD were confusing with paths changing without really good documentation on it. At least the CIBUILD is transferred now and we can move on to other things. There are some warnings that needs addressing in another PR.