Cython 0.25.2 generated deltadump.c is not compatible with Python 3.7.0

Issue #304 resolved
Issaac B
created an issue

source=($pkgver.tar.bz2) The source contains a src/s3ql/deltadump.c generated from a src/s3ql/deltadump.pyx

The .pyx is part of the S3QL codebase. The .c is auto-generated using Cython 0.25.2; it's probably included over being built with makepkg to avoid the Cython dependency.

Python 3.7 made changes which broke Cython prior to 0.28 (or <=0.27.2 or something). The generated 0.25.2 code definitely doesn't work anymore with Python3.7. As such, that source file with the generated Cython 0.25.2 file are not compatible with Python 3.7 and this package is "broken".

The fix would be to run: cython src/s3ql/deltadump.pyx (or not include generated code).

Comments (4)

  1. Issaac B reporter

    Do note that this currently broken on Archlinux builds that did an update and got bumped from Python 3.6 to Python 3.7 (and presumably anyone else that upgraded Python). Getting s3ql to work post system upgrade on Arch requires manually running Cython and regenerating that file.

  2. Log in to comment