On Jul 11, 2025, at 03:52, Bjarne D Mathiesen wrote: > What often happens is, that you have a port, that needs python, like eg > this: > #=> port info certbot > certbot @4.1.1 (security) > Variants: docs, python310, python311, python312, [+]python313, python39 > > As you can see, the default is currently python313, !but! if you > installed certbot, when python312 was the default, it doesn't > automagically get updated to python313 . > > Thus, when a new major version of python gets released, you'll have to > manually check which ports are dependent on the old major version, and > see, if they have been updated to the latest major version.
That information is outdated. Ever since MacPorts version 2.7.0 (2021), MacPorts *does* automagically switch you to the new default variants. See https://trac.macports.org/ticket/46956
