Debian Bug report logs - #1119757
peewee: FTBFS: Cython.Compiler.Errors.CompileError: playhouse/_sqlite_ext.pyx

version graph

Package: src:peewee; Maintainer for src:peewee is Debian Python Team <team+python@tracker.debian.org>;

Reported by: Santiago Vila <sanvila@debian.org>

Date: Fri, 31 Oct 2025 11:31:26 UTC

Severity: serious

Tags: forky, ftbfs, sid

Found in version peewee/3.17.7+dfsg-1

Fixed in version peewee/3.18.2+dfsg-1

Done: Colin Watson <cjwatson@debian.org>

Bug is archived. No further changes may be made.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, sanvila@debian.org (additional cc recipient for {1119757}), Debian Python Team <team+python@tracker.debian.org> (src:peewee for {1119757}):
Bug#1119757; Package src:peewee. (Fri, 31 Oct 2025 11:31:27 GMT) (full text, mbox, link).


Acknowledgement sent to Santiago Vila <sanvila@debian.org>:
New Bug report received and forwarded. Copy sent to sanvila@debian.org, team+python@tracker.debian.org. (Fri, 31 Oct 2025 11:31:27 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Santiago Vila <sanvila@debian.org>
To: Debian BTS <submit@bugs.debian.org>
Subject: peewee: FTBFS: Cython.Compiler.Errors.CompileError: playhouse/_sqlite_ext.pyx
Date: Fri, 31 Oct 2025 11:29:07 +0000
Package: src:peewee
Version: 3.17.7+dfsg-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202510/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:peewee, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with python3,sphinxdoc --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   debian/rules override_dh_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_clean
rm -rf .mypy_cache docs/build
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
 debian/rules binary
dh binary --with python3,sphinxdoc --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build
I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build" module
I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_peewee  
* Building wheel...

Error compiling Cython file:
------------------------------------------------------------
...


cdef python_to_sqlite(sqlite3_context *context, value):
    if value is None:
        sqlite3_result_null(context)
    elif isinstance(value, (int, long)):
                                 ^
------------------------------------------------------------

playhouse/_sqlite_ext.pyx:329:33: undeclared name not builtin: long
Compiling playhouse/_sqlite_ext.pyx because it changed.
Compiling playhouse/_sqlite_udf.pyx because it changed.
[1/2] Cythonizing playhouse/_sqlite_ext.pyx
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
    main()
    ~~~~^^
  File "/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py", line 373, in main
    json_out["return_val"] = hook(**hook_input["kwargs"])
                             ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/pyproject_hooks/_in_process/_in_process.py", line 280, in build_wheel
    return _build_backend().build_wheel(
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        wheel_directory, config_settings, metadata_directory
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 435, in build_wheel
    return _build(['bdist_wheel'])
  File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 426, in _build
    return self._build_with_temp_dir(
           ~~~~~~~~~~~~~~~~~~~~~~~~~^
        cmd,
        ^^^^
    ...<3 lines>...
        self._arbitrary_args(config_settings),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 407, in _build_with_temp_dir
    self.run_setup()
    ~~~~~~~~~~~~~~^^
  File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 320, in run_setup
    exec(code, locals())
    ~~~~^^^^^^^^^^^^^^^^
  File "<string>", line 201, in <module>
  File "<string>", line 196, in _do_setup
  File "/usr/lib/python3/dist-packages/Cython/Build/Dependencies.py", line 1150, in cythonize
    cythonize_one(*args)
    ~~~~~~~~~~~~~^^^^^^^
  File "/usr/lib/python3/dist-packages/Cython/Build/Dependencies.py", line 1294, in cythonize_one
    raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: playhouse/_sqlite_ext.pyx

ERROR Backend subprocess exited when trying to invoke build_wheel
E: pybuild pybuild:389: build: plugin pyproject failed with: exit code=1: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_peewee  
dh_auto_build: error: pybuild --build -i python{version} -p 3.13 returned exit code 13
make[1]: *** [debian/rules:19: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:12: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------




Reply sent to Colin Watson <cjwatson@debian.org>:
You have taken responsibility. (Sun, 02 Nov 2025 22:37:02 GMT) (full text, mbox, link).


Notification sent to Santiago Vila <sanvila@debian.org>:
Bug acknowledged by developer. (Sun, 02 Nov 2025 22:37:02 GMT) (full text, mbox, link).


Message #10 received at 1119757-close@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 1119757-close@bugs.debian.org
Subject: Bug#1119757: fixed in peewee 3.18.2+dfsg-1
Date: Sun, 02 Nov 2025 22:34:02 +0000
[Message part 1 (text/plain, inline)]
Source: peewee
Source-Version: 3.18.2+dfsg-1
Done: Colin Watson <cjwatson@debian.org>

We believe that the bug you reported is fixed in the latest version of
peewee, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1119757@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <cjwatson@debian.org> (supplier of updated peewee package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 02 Nov 2025 22:19:03 +0000
Source: peewee
Architecture: source
Version: 3.18.2+dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Colin Watson <cjwatson@debian.org>
Closes: 1119757
Changes:
 peewee (3.18.2+dfsg-1) unstable; urgency=medium
 .
   * Team upload.
   * New upstream release:
     - Remove long check for newer Cython (closes: #1119757).
Checksums-Sha1:
 176148f5526982a4ab6dac75f880a56c61a83f62 2519 peewee_3.18.2+dfsg-1.dsc
 1387986924e07c83ad098e455bc533066ffe54d7 771632 peewee_3.18.2+dfsg.orig.tar.gz
 6039c86ddf5417dbd1a9c81b7cf73f65b1a30c5f 7504 peewee_3.18.2+dfsg-1.debian.tar.xz
Checksums-Sha256:
 66b4af0ee5859cd3c52499c58353197485a62ea7e19f836fbcbd86c63a604404 2519 peewee_3.18.2+dfsg-1.dsc
 82c1234a0322493b187c69f0d9e359d81d1689705f6da9b322d4f765c64d5881 771632 peewee_3.18.2+dfsg.orig.tar.gz
 4f2b044fd4fbcbf0a3bcd40263096765aed417f73d02a2352c9568be791722e0 7504 peewee_3.18.2+dfsg-1.debian.tar.xz
Files:
 2c16d37c315a850f117fcad122e41c04 2519 python optional peewee_3.18.2+dfsg-1.dsc
 f2d8cbfbe1a6b338178b1b1b49fb5c10 771632 python optional peewee_3.18.2+dfsg.orig.tar.gz
 7d1f93f5b69d60ee20d2740593693007 7504 python optional peewee_3.18.2+dfsg-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAmkH2QoACgkQOTWH2X2G
UAvzuRAAlv7LGA74BVdO0OEn3Dl/nexZ/JCVdmmZUMPSyAKhZspYT3SW+8ifIypv
ol+XA+u/KggFwmXSwu9XVgfFMUixFnEPQrpQPPL04I/hMSpgwQOjMcNwAiku0ifV
17spVr3+005l7seOzeupzXfKdPEQ5i8D/ISLbX0bububsyEqjX9TBS+raXf9z0ri
dWB9g/5QeryNhL/J7ofts4305WFVJ43OLfIZND3ioU0fslFhO61UYDGQYBCk7ueA
FfBm83DxOXGcCsmBHGu0TV/0IkDzF5JobrIsHz20iitLIsv/G7vxg/CILMlZ5u34
XjhgAkSJjFu4YR0WipTVo1rJqvpG+FbMS9p1IbkufxzJj3l8puvmjzJP7+86PYGz
2umAjFrN61CO266Jl+cQ7f6ZIIJxnTL5D50EkOCysh32Jm5MqFbPJCltl51om0SQ
Y4iYxzmqUZI3zZGGyI40DkDfAk2MHxtFw5ehqz9grcMoI3YSV23sYKmOPcllNYOF
et66SbKEWp1EMeLml++7/goJsEIi0cerG30ftFN0iEJ5+t0QPuihWx3IO/mxxwxO
HPHP2X6Og/EIku8So/yezb5vawHEz9Kn1O15+RRVAPd4p8e1W2U1tuiBBrNqIDcU
K0AR3nIcEsM856Lo1DCQ/Z21vZ5h5d5NhvZgro5vQlStFnxJp/o=
=dtAA
-----END PGP SIGNATURE-----

[Message part 2 (application/pgp-signature, inline)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 31 Dec 2025 07:30:52 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jan 2 07:56:30 2026; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.