Changes between Initial Version and Version 8 of Ticket #69036


Ignore:
Timestamp:
Jan 14, 2024, 12:58:45 AM (10 months ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Replying to mascguy:

Replying to ryandesign:

  1. add a patch for that change and add py312-packaging dependency

But option 1 would be my preference.

Ok. I may look into this in the next days if nobody else beats me to it.

More generally, we need to be cautious about switching to Python 3.12, particularly for foundational ports like this. (Just a general suggestion, to avoid having to scramble to fix issues.)

Evidently! This distutils thing seems like one big easy-to-overlook problem (it occurs with gobject-introspection too in #69105), and syntax warnings due to lack of use of raw strings is another big one I've seen several times already in other ports. I was trying to be helpful but I should have remembered that I don't understand Python so I've discontinued my effort to switch ports to Python 3.12 and will leave it for those more knowledgeable.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #69036

    • Property Status changed from new to assigned
    • Property Cc ryandesign added
    • Property Summary changed from gtk3 @3.24.38_0+x11: with python3.12 it now requires setuptools module to build to glib2 @2.78.3_1: gdbus-codegen fails with python3.12 due to distutils use
    • Property Owner set to mascguy
    • Property Port glib2 added; gtk3 removed
  • Ticket #69036 – Description

    initial v8  
    11I was trying to build gtk3 and was facing this build error.
    22
     3{{{
    34ModuleNotFoundError: No module named 'distutils'
     5}}}
    46
    57I had to install py-setuptools to make it build