Overview

Request 1188796 accepted

(Note that the current stable 1.17.x series of releases are unusable because they rely on an unreleased version of healpix_cxx, and work-around that by setting rpaths to the build dir to find the bundled healpix_cxx.so library instead of installing the latter)
* Add python-healpy-scipy-1_14-compat.patch: Account for the renaming of trapz to trapezoid in scipy 1.14.
* Add python-healpy-matplotlib-1_9-compat.patch: Fix compatibility with matplotlib >= 3.9; upstream commit 0b1f498 rebased for current version.


Atri Bhattacharya's avatar

@mcepl Many thanks Matej. Fwiw, I am still trying to workaround the bundled cpp library issue with version 1.17.x — see my branched package — but I am afraid it will be somewhat hackish because upstream apparently no longer supports building from source ([https://github.com/healpy/healpy/issues/949]).

I am not submitting it now — it needs more testing — but if you would find any time to review it nonetheless, I would be much too grateful. Thanks in advance.


Matej Cepl's avatar

Made a comment there.


Matej Cepl's avatar

Actually, openSUSE policy is to unbundle as much as possible. Do we have healpix_cxx packaged in openSUSE? If yes, we should use that instead.

Actually, we do … https://build.opensuse.org/package/show/openSUSE:Factory/healpix … so you should rm -rf whole subtree with vendored files and use the packaged files instead.


Atri Bhattacharya's avatar

HI Matej, many thanks for the comment on the GH issue.

Indeed, for versions 1.16.x we continue to build this against healpix_cxx packaged for openSUSE (I packaged it specifically for this one purpose), but healpy 1.17.x depends on an unreleased version of healpix (3.83 whereas 3.82 is latest upstream release), thereby making it imperative that we build the bundled healpix instead.

For the current version of healpy in d:l:p:n, you will notice the following in the logs, indicating the use of system installed healpix_cxx:


[   22s]   checking if library 'healpix_cxx' is installed
[   22s]   found 'healpix_cxx' installed, using it

However, for healpy 1.17.3, the log goes:


[   20s]   checking if library 'healpix_cxx' is installed
[   20s]   Package dependency requirement 'healpix_cxx >= 3.83.0' could not be satisfied.
[   20s]   Package 'healpix_cxx' has version '3.82.0', required version is '>= 3.83.0'
[   20s]   building library 'healpix_cxx' from source

So, for now, this is only a problem until healpix_cxx 3.83 is released but who knows what trunk revision of the lib will be needed by healpy by the time that happens.

Request History
Atri Bhattacharya's avatar

badshah400 created request

(Note that the current stable 1.17.x series of releases are unusable because they rely on an unreleased version of healpix_cxx, and work-around that by setting rpaths to the build dir to find the bundled healpix_cxx.so library instead of installing the latter)
* Add python-healpy-scipy-1_14-compat.patch: Account for the renaming of trapz to trapezoid in scipy 1.14.
* Add python-healpy-matplotlib-1_9-compat.patch: Fix compatibility with matplotlib >= 3.9; upstream commit 0b1f498 rebased for current version.


Matej Cepl's avatar

mcepl accepted request

openSUSE Build Service is sponsored by