icecube / pisa

Monte Carlo-based data analysis
http://icecube.github.io/pisa/
Apache License 2.0
19 stars 47 forks source link

Update to latest release of versioneer (0.29) #806

Open thehrh opened 4 weeks ago

thehrh commented 4 weeks ago

Expected to be Python 3.11 and 3.12 compatible.

Some tests done after updating versioneer (see https://github.com/icecube/pisa/issues/779#issuecomment-2289994626):

Not explicitly tested (maybe someone else could verify by trying something similar to the above using this branch):

thehrh commented 4 weeks ago

Odd that the builds now fail. I sometimes get the exact same problem which I can prevent via export CFLAGS=-I<whatever numpy.get_include() returns> before running the setup (which I thought would be addressed by https://github.com/icecube/pisa/blob/master/setup.py#L217C34-L217C53).

It might have to do with https://github.com/icecube/pisa/blob/master/setup.py#L283 (yeah, that seems to be it, the new versioneer overwrites "build_ext", while the old one doesn't seem to do so).