Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 May 2025 06:49:16 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 286298] databases/py-{gdbm,sqlite3}, x11-toolkits/py-tkinter: internal headers from lang/python312+ not found
Message-ID:  <bug-286298-21822-FTgzokzISR@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-286298-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-286298-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286298

--- Comment #6 from Charlie Li <vishwin@freebsd.org> ---
It turns out that on gdbm and tkinter, but not sqlite3, starting 3.12 some
internal headers are included unconditionally. In order to use these headers,
the Py_BUILD_CORE_MODULE macro has to be set, in addition to including the path
in the appropriate setuptools variable. On sqlite3, internal headers are only
included conditional to said macro being set, which is why it builds
successfully.

-- 
You are receiving this mail because:
You are the assignee for the bug.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-286298-21822-FTgzokzISR>