Saturday, December 28, 2024

python 3.12 (was: [fix www/tuir] unbreak after python) update]

----- Forwarded message from Stefan Hagen <sh+openbsd-ports@codevoid.de> -----

From: Stefan Hagen <sh+openbsd-ports@codevoid.de>
Date: Sat, 28 Dec 2024 17:47:12 +0100
To: ports@openbsd.org
X-Mailer: Mutt 2.2.13 (2024-03-09)
Subject: [fix www/tuir] unbreak after python update
Mail-Followup-To: ports@openbsd.org

Hi,

The readfp() method of pythons ConfigParser Class has been deprecated
in Python 3.2 and got removed in Python 3.12. The replacing method is
read_file().

<snip>

----- End forwarded message -----

This sort of thing is not entirely surprising with some older Python
software since the recent switch from 3.11 to 3.12 in ports.

Most of the problems that I've seen are due to things deprecated many
years ago (2011 for 3.2 here, 2014 for 3.4.0 for another common one)
that still haven't been caught up with - fixes for these are usually
fairly straightforward.

-current snapshot packages using 3.12 are available for most of the
common archs now - if you have Python software that you rely on then
this would be a good time to test. (pkg_add -u will have a big merged
update set with a wall of text - that is expected - just let it run).

No comments:

Post a Comment