Replying to mascguy:
Replying to ryandesign:
- 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.