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

Fix CI, add wheels, adjust for SCM policy #429

Merged
merged 12 commits into from
Nov 2, 2023

Conversation

achaikou
Copy link
Contributor

@achaikou achaikou commented Oct 27, 2023

Would need to test-publish and install stuff first and make sure version returns something reasonable.
Not sure version is used during build, so probably also something we can only check later.

With new numpy-1.26.0 our build fails on s390x as numpy wheels are not
supplied but built and openblas is expected from this version [1]

openblas library makes numpy somewhat faster and is available for
installation, so we go for it.

[1] See Numpy https://github.com/numpy/numpy/ issue 24703
It's been well over a year since Python 3.6 EOL, everyone should have
migrated away already.
Our wheels build fail for python 3.9 and later as runs now collect
numpy-1.26.0 which requires newer gcc than available on manylinux2010.
Thus we bump our manylinux version which has newer tools installed.
We have a problem for i686 architecture. New 1.26.0 numpy by default
require blas library. [1]
And it seems like required openblas / epel package is not available for
i686, so we can't use it.

It doesn't seem feasible to deal with all of that, so instead we allow
building without blas library.

[1] See Numpy https://github.com/numpy/numpy/ issue 24703
@achaikou achaikou force-pushed the ci_and_wheels_and_scm branch 4 times, most recently from 3b118df to 3154db8 Compare October 27, 2023 18:22
@achaikou achaikou changed the title Fix CI, and wheels, adjust for SCM policy Fix CI, add wheels, adjust for SCM policy Oct 27, 2023
@achaikou achaikou force-pushed the ci_and_wheels_and_scm branch from 3154db8 to c9e5a76 Compare October 30, 2023 12:46
We got request to build dlisio on alpine, which means there might be a
need for it for our other users.

However we shall build wheels only for x86_64 architecture. Building on
other architectures takes ages and will probably surpass github timeouts
anyway. It is also unlikely our users even need it.
We previously skipped wheels for windows 32 as numpy didn't supply them
for win32 starting from python 3.10. They do now though.
Unfortunately at the moment as dlisio is no longer in active development
phase, team  doesn't have enough capacity to deal with external PRs in
an efficient manner.
Add standard security template.
Note that we have to copy lots of code because it seems like toml files
do now allow to share flow any other way.
@achaikou achaikou force-pushed the ci_and_wheels_and_scm branch from c9e5a76 to 73ddb81 Compare November 1, 2023 17:46
@achaikou achaikou merged commit a773195 into equinor:master Nov 2, 2023
19 checks passed
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.

2 participants