conda-forge / healpy-feedstock

A conda-smithy repository for healpy.
BSD 3-Clause "New" or "Revised" License
0 stars 12 forks source link

Update to version 1.17.1 #67

Closed lpsinger closed 5 hours ago

lpsinger commented 1 month ago

Checklist

conda-forge-webservices[bot] commented 1 month ago

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

lpsinger commented 1 month ago

@conda-forge-admin, please rerender

lpsinger commented 1 month ago

We're going to have to create an unbundled healpix-cxx conda package for this build to succeed.

lpsinger commented 1 month ago

I am trying to update https://github.com/conda-forge/healpix_cxx-feedstock and https://github.com/conda-forge/libsharp-feedstock so that we can link against the shared libraries of both of them rather than building our bundled sources for them.

However, I have discovered that there are three different copies of libsharp floating around:

Which of these is the authoritative version now, @mreineck? It seems like the last one is the most recently maintained. Should we use that one, and update healpix-cxx and healpy to link against libsharp2 instead of libsharp?

mreineck commented 1 month ago

https://sourceforge.net/p/healpix/code/HEAD/tree/trunk/src/common_libraries/libsharp/ is the authoritative version. This is the one that has been used in the last Healpix releases and is known to work. The second link is an archived repo which is not maintained anymore. The last was meant for potential future improvements, but the functionality has now entirely moved to ducc0.

lpsinger commented 1 month ago

https://sourceforge.net/p/healpix/code/HEAD/tree/trunk/src/common_libraries/libsharp/ is the authoritative version. This is the one that has been used in the last Healpix releases and is known to work. The second link is an archived repo which is not maintained anymore. The last was meant for potential future improvements, but the functionality has now entirely moved to ducc0.

Is it possible to unbundle it from the monolithic healpix repo and just bring https://github.com/Libsharp/libsharp up to date? It's very annoying packaging code from that Subversion monorepo.

mreineck commented 1 month ago

OK, in that case please use the libsharp_healpix branch of https://gitlab.mpcdf.mpg.de/mtr/libsharp for the time being. I can try to unarchive the Github repo too, but I don't know yet how complicated that is.

mreineck commented 1 month ago

The libsharp_healpix branch is now also available at https://github.com/Libsharp/libsharp. I hope I got everything right.

lpsinger commented 2 weeks ago

The libsharp_healpix branch is now also available at https://github.com/Libsharp/libsharp. I hope I got everything right.

I don't know what to do with this. The Conda package https://github.com/conda-forge/libsharp-feedstock is built from the last release from the master branch of https://github.com/Libsharp/libsharp which contains Python bindings etc.

mreineck commented 2 weeks ago

Sorry, I wasn't aware of the conda package until now and have absolutely no connection to it. All I did was to make the autotools-configurable package living at https://sourceforge.net/p/healpix/code/HEAD/tree/trunk/src/common_libraries/libsharp/ available in a standalone fashion (as branch libsharp_healpix at https://github.com/Libsharp/libsharp). Isn't this what you were asking for?

lpsinger commented 2 weeks ago

No. I was hoping that you were going to update https://github.com/Libsharp/libsharp so that we could build healpy against the conda package for libsharp.

mreineck commented 2 weeks ago

I won't be able to do that, as I don't even understand the Python bindings in there - they were made by Dag Sverre Seljebotn, and I'm only familiar with pybind11 myself.

lpsinger commented 2 weeks ago

I won't be able to do that, as I don't even understand the Python bindings in there - they were made by Dag Sverre Seljebotn, and I'm only familiar with pybind11 myself.

Oh, I see. For the record, here are the three variants of libsharp that I am aware of:

The last one says, "This repository has been archived and is only kept so that packages depending on it have a canonical [sic] place to download the last version." So of these three it appears that only libsharp2 is currently maintained. Would it be possible to update the healpix-cxx source so that it uses libsharp2 instead of libsharp?

Then I could create Conda packages for libsharp2.

mreineck commented 2 weeks ago

Let's say that both libsharp2 and its slightly tweaked twin inside healpix are on life support - I will fix bugs when found, but there is certainly no active development going on any more. Anyone who wants to use this kind of SHT in new projects should use ducc0. I'm more than willing to help with adjusting existing codes and explain its usage.

Are there many projects that would benefit from a standalone libsharp2 package? And how did they cope so far? My hope has always been that libsharp would be linked statically wherever it is needed, or I would have taken more precautions against libsharp2 and the version inside the Healpix repo diverging.

conda-forge-webservices[bot] commented 3 days ago

Hi! This is the friendly automated conda-forge-linting service.

I was trying to look for recipes to lint for you, but it appears we have a merge conflict. Please try to merge or rebase with the base branch to resolve this conflict.

Please ping the 'conda-forge/core' team (using the @ notation in a comment) if you believe this is a bug.

conda-forge-webservices[bot] commented 3 days ago

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

lpsinger commented 3 days ago

@conda-forge-admin, please rerender