Closed juliotux closed 2 months ago
This is probably fixed by https://github.com/dstndstn/astrometry.net/commit/7fff04d4b9f2e8bd0a2b2b567541a543a7a733dd waiting for a new release.
BTW, in Fedora 39 with Python 3.12 astrometry 0.94 builds fine, but we're starting to see failures with Python 3.13 prerelease.
I don't think that 7fff04d currently fixes the problem. A quick search in the code shows distutils
is yet being used in 10 files.
In #289 I have removed all remaining calls to numpy.distutils
.
Other distutils
calls can still work by ensuring setuptools
is installed in the build environment. That's only a quick fix, though, as astrometry.net should migrate to a more modern build system.
Is there any reason blocking the migration to setuptools
? It looks pretty straightforward to me and I could probably poke around at doing it some time if no one else is already working on it.
Some of the modules are built using swig, and they need to get library paths from the Makefile... so go ahead, if you can manage that need.
@juliotux I opened merge request #293 to hopefully fix this issue. Could you check whether it works for you?
@sassy-asjp your review is installing fine on Python 3.12
Could you please tag a new release to include the fix for Python 3.12?
astrometry.net
is currently not compatible with Python 3.12, due to the deprecation of distutils PEP 632. So, the conda-forge package forastrometry.net
cannot be merged (see build status).An alternative is to migrate to setuptools package.