macs3-project/MACS

Bug: python3.12 incompatible due to numpy<1.24 restriction

jowodo opened this issue ยท 7 comments

jowodo commented

Describe the bug
numpy<1.26 does not work with python3.12 and macs3 needs numpy<1.24

Is it planned to upgrade the dependency of numpy so that macs3 can be used with python3.12?

taoliu commented

We will work on it. Thanks for the report!

Hi @jowodo our requirements don't actually specify numpy<1.24, we only specify numpy >= 1.19. We tested this with Python version 3.12 and this works and passes our tests. MACS3 now supports Python versions 3.9, 3.10, 3.11, and 3.12 (x86_64). We are working on releasing a formal MACS 3.0.0 version soon, so keep an eye out for that.

Please let us know if this is not resolved. Thanks

jowodo commented

My bad! I've added the numpy<1.24 previously to the installation procedure.
I removed it now. I tried to install macs3.0.0b3 with python3.9 as a test and it installed.
Installing macs3.0.0b3 with python3.12 gives me these errors
log.txt
err.txt

Hi @jowodo, just to clarify, support for Python 3.12 will be available with the next release (3.0.0) that we are working on right now (not with macs3 3.0.0b3) - sorry for the confusion!

jowodo commented

aaah thanks for the clarification!

no problem! We just released MACS3 v3.0.0 if you would like to try.

jowodo commented

installation was successful for python 3.9, 3.10, 3.11, 3.12 ๐Ÿ˜Ž