head 1.2; access; symbols pkgsrc-2025Q2:1.1.0.2 pkgsrc-2025Q2-base:1.1; locks; strict; comment @# @; 1.2 date 2025.07.09.05.56.08; author adam; state dead; branches; next 1.1; commitid BRItxQm4kMJ4a22G; 1.1 date 2025.05.16.08.41.37; author adam; state Exp; branches; next ; commitid xtaoFTiGBymxO6VF; desc @@ 1.2 log @py-peewee: updated to 3.18.2 3.18.2 Cython 3.1 removes some Python 2 stuff we referenced -- this resolves the issue. Couple other very minor fixes. @ text @$NetBSD: patch-playhouse___sqlite__ext.pyx,v 1.1 2025/05/16 08:41:37 adam Exp $ Remove long check for newer cython. https://github.com/dumpmemory/peewee/commit/3aadae7eb3602f3ab893343045aa30d427985534 --- playhouse/_sqlite_ext.pyx.orig 2025-05-16 08:36:42.494699930 +0000 +++ playhouse/_sqlite_ext.pyx @@@@ -326,7 +326,7 @@@@ cdef sqlite_to_python(int argc, sqlite3_ cdef python_to_sqlite(sqlite3_context *context, value): if value is None: sqlite3_result_null(context) - elif isinstance(value, (int, long)): + elif isinstance(value, int): sqlite3_result_int64(context, value) elif isinstance(value, float): sqlite3_result_double(context, value) @ 1.1 log @py-peewee: fix build with Cython 3.1 @ text @d1 1 a1 1 $NetBSD$ @