[Bug 286298] databases/py-{gdbm,sqlite3}, x11-toolkits/py-tkinter: internal headers from lang/python312+ not found

2025-07-06 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286298

Mark Linimon  changed:

   What|Removed |Added

   Assignee|[email protected]  |[email protected]
 Status|Open|Closed
 Resolution|--- |FIXED

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


[Bug 286298] databases/py-{gdbm,sqlite3}, x11-toolkits/py-tkinter: internal headers from lang/python312+ not found

2025-07-06 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286298

Mark Linimon  changed:

   What|Removed |Added

 Attachment #260621|0   |1
is obsolete||
 Attachment #260621|0   |1
   is patch||

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


[Bug 286298] databases/py-{gdbm,sqlite3}, x11-toolkits/py-tkinter: internal headers from lang/python312+ not found

2025-06-17 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286298

--- Comment #9 from [email protected] ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=a73665376a539a144ff74abaab04f6d350f7bdb4

commit a73665376a539a144ff74abaab04f6d350f7bdb4
Author: Charlie Li 
AuthorDate: 2025-06-17 19:06:26 +
Commit: Charlie Li 
CommitDate: 2025-06-17 19:06:26 +

databases/py-gdbm: fix build with Python 3.12+

Certain internal headers are included unconditionally starting with
Python 3.12, but this should have been built with the appropriate
preprocessor macros for internal headers set anyway.

PR: 286298
Event: Kitchener-Waterloo Hackathon 202506

 databases/py-gdbm/Makefile   | 2 +-
 databases/py-gdbm/files/setup.py | 7 +--
 2 files changed, 6 insertions(+), 3 deletions(-)

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


[Bug 286298] databases/py-{gdbm,sqlite3}, x11-toolkits/py-tkinter: internal headers from lang/python312+ not found

2025-06-16 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286298

--- Comment #8 from [email protected] ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=802fdbd30f12e1d6d2013e55855b80fc9b365a6c

commit 802fdbd30f12e1d6d2013e55855b80fc9b365a6c
Author: Charlie Li 
AuthorDate: 2025-06-16 21:24:47 +
Commit: Charlie Li 
CommitDate: 2025-06-16 21:24:47 +

x11-toolkits/py-tkinter: bump PORTREVISION

Compiled artefacts are different due to changed preprocessor macros and
includes.

PR: 286298
Event: Kitchener-Waterloo Hackathon 202506

 x11-toolkits/py-tkinter/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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


[Bug 286298] databases/py-{gdbm,sqlite3}, x11-toolkits/py-tkinter: internal headers from lang/python312+ not found

2025-06-16 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286298

--- Comment #7 from [email protected] ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=01d4d932425a82353ce3f6731407b3eb8c3e2069

commit 01d4d932425a82353ce3f6731407b3eb8c3e2069
Author: Charlie Li 
AuthorDate: 2025-06-16 20:36:55 +
Commit: Charlie Li 
CommitDate: 2025-06-16 20:36:55 +

x11-toolkits/py-tkinter: fix build with Python 3.12+

Certain internal headers are included unconditionally starting with
Python 3.12, but this should have been built with the appropriate
preprocessor macros for internal headers set anyway. Also clean up
some duplicate directory definitions while here.

PR: 286298
Event: Kitchener-Waterloo Hackathon 202506

 x11-toolkits/py-tkinter/Makefile  | 3 ++-
 x11-toolkits/py-tkinter/files/setup.py.in | 7 ---
 2 files changed, 6 insertions(+), 4 deletions(-)

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


[Bug 286298] databases/py-{gdbm,sqlite3}, x11-toolkits/py-tkinter: internal headers from lang/python312+ not found

2025-05-29 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286298

--- Comment #6 from Charlie Li  ---
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.


[Bug 286298] databases/py-{gdbm,sqlite3}, x11-toolkits/py-tkinter: internal headers from lang/python312+ not found

2025-05-28 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286298

Oleg Sidorkin  changed:

   What|Removed |Added

 CC||[email protected]

--- Comment #5 from Oleg Sidorkin  ---
Created attachment 260767
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=260767&action=edit
Fix for py313

I'm using this patch with python 3.13 for a long time (and a similar one for
py-tkinter)

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


[Bug 286298] databases/py-{gdbm,sqlite3}, x11-toolkits/py-tkinter: internal headers from lang/python312+ not found

2025-05-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286298

Charlie Li  changed:

   What|Removed |Added

Summary|x11-toolkits/py-{gdbm,sqlit |databases/py-{gdbm,sqlite3}
   |e3,tkinter}: internal   |, x11-toolkits/py-tkinter:
   |headers from|internal headers from
   |lang/python312+ not found   |lang/python312+ not found

--- Comment #4 from Charlie Li  ---
Most likely also a problem on 3.13.

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