public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
* [Bug python/29287] New: PySys_SetPath has been deprecated in Python 3.11 @ 2022-06-25 18:47 mark at klomp dot org 2022-06-28 17:33 ` [Bug python/29287] " tromey at sourceware dot org ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: mark at klomp dot org @ 2022-06-25 18:47 UTC (permalink / raw) To: gdb-prs https://sourceware.org/bugzilla/show_bug.cgi?id=29287 Bug ID: 29287 Summary: PySys_SetPath has been deprecated in Python 3.11 Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: python Assignee: unassigned at sourceware dot org Reporter: mark at klomp dot org Target Milestone: --- The fedrawhide builder found an issue building against python 3.11: https://builder.sourceware.org/buildbot/#/builders/84/builds/70 In file included from varobj.c:38: python/python-internal.h: In function ‘void gdb_PySys_SetPath(const wchar_t*)’: python/python-internal.h:189:17: error: ‘void PySys_SetPath(const wchar_t*)’ is deprecated [-Werror=deprecated-declarations] 189 | PySys_SetPath (const_cast<GDB_PYSYS_SETPATH_CHAR *> (path)); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.11/Python.h:96, from python/python-internal.h:86: /usr/include/python3.11/sysmodule.h:15:38: note: declared here 15 | Py_DEPRECATED(3.11) PyAPI_FUNC(void) PySys_SetPath(const wchar_t *); | ^~~~~~~~~~~~~ cc1plus: all warnings being treated as errors make[2]: *** [Makefile:1896: varobj.o] Error 1 See https://docs.python.org/3.11/c-api/sys.html#c.PySys_SetPath -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug python/29287] PySys_SetPath has been deprecated in Python 3.11 2022-06-25 18:47 [Bug python/29287] New: PySys_SetPath has been deprecated in Python 3.11 mark at klomp dot org @ 2022-06-28 17:33 ` tromey at sourceware dot org 2022-07-01 8:16 ` mark at klomp dot org 2023-03-17 18:34 ` tromey at sourceware dot org 2 siblings, 0 replies; 4+ messages in thread From: tromey at sourceware dot org @ 2022-06-28 17:33 UTC (permalink / raw) To: gdb-prs https://sourceware.org/bugzilla/show_bug.cgi?id=29287 Tom Tromey <tromey at sourceware dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tromey at sourceware dot org --- Comment #1 from Tom Tromey <tromey at sourceware dot org> --- See also bug #28668. -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug python/29287] PySys_SetPath has been deprecated in Python 3.11 2022-06-25 18:47 [Bug python/29287] New: PySys_SetPath has been deprecated in Python 3.11 mark at klomp dot org 2022-06-28 17:33 ` [Bug python/29287] " tromey at sourceware dot org @ 2022-07-01 8:16 ` mark at klomp dot org 2023-03-17 18:34 ` tromey at sourceware dot org 2 siblings, 0 replies; 4+ messages in thread From: mark at klomp dot org @ 2022-07-01 8:16 UTC (permalink / raw) To: gdb-prs https://sourceware.org/bugzilla/show_bug.cgi?id=29287 --- Comment #2 from Mark Wielaard <mark at klomp dot org> --- Kevin posted a patch: https://sourceware.org/pipermail/gdb-patches/2022-June/190460.html -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug python/29287] PySys_SetPath has been deprecated in Python 3.11 2022-06-25 18:47 [Bug python/29287] New: PySys_SetPath has been deprecated in Python 3.11 mark at klomp dot org 2022-06-28 17:33 ` [Bug python/29287] " tromey at sourceware dot org 2022-07-01 8:16 ` mark at klomp dot org @ 2023-03-17 18:34 ` tromey at sourceware dot org 2 siblings, 0 replies; 4+ messages in thread From: tromey at sourceware dot org @ 2023-03-17 18:34 UTC (permalink / raw) To: gdb-prs https://sourceware.org/bugzilla/show_bug.cgi?id=29287 Tom Tromey <tromey at sourceware dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |13.1 Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #3 from Tom Tromey <tromey at sourceware dot org> --- This was fixed. -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-03-17 18:34 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2022-06-25 18:47 [Bug python/29287] New: PySys_SetPath has been deprecated in Python 3.11 mark at klomp dot org 2022-06-28 17:33 ` [Bug python/29287] " tromey at sourceware dot org 2022-07-01 8:16 ` mark at klomp dot org 2023-03-17 18:34 ` tromey at sourceware dot org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).