Closed fxcoudert closed 5 years ago
Does it work if you just remove the , NULL
argument there on line 2797 of pyaff.c
?
(I just tried it on my Linux box with Python 3.5.3 and it compiles with or without that).
I see now /* Generated by Cython 0.25.1 */
, apparently older Cython versions are incompatible with Python 3.7.
ok, let me see if re-generating it with a newer Cython helps
ok, I updated it in f6fffee; did that help?
@sshock does not remove the error… but then the latest cython version is 0.28.5, it appears
@fxcoudert you can try regenerating it if you like and submit a PR
I am not a user of the software, merely a maintainer for the Homebrew distribution, which ships it. We are migrating our formulas to Python 3. If there is no Python 3(.7) support, we'll probably simply use --disable-python
.
ok, I regenerated it using Cython 0.29 in 3d017596d5e8f0683a0cc2d8caac8ee611d0c2d6; does it work for you now?
Hi,
I confirm that commit https://github.com/sshock/AFFLIBv3/commit/3d017596d5e8f0683a0cc2d8caac8ee611d0c2d6 fixes build issue with new Python 3.7 and cython 0.29 on mageia Cauldron!
Regards, David
good to know, thanks!
Trying to compile pyaff with Python 3, I am getting the following error:
Configuration was the following:
./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/afflib/3.7.17_1 --enable-s3 --enable-python PYTHON=python3 --disable-fuse