tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Switching default Python to 3.13
On Mon, Oct 06, 2025 at 02:44:36PM +0000, Marcin Gondek wrote:
> I've covered this manually, first wipe-out setuptools and install
> using version python313, then replace by hand some packages just to
> see how it's look like.
My approach to this is:
- install python313
- explicitly build the minimum set of py313 modules that let you
build stuff (for 3.12 that apparently was:
py-flit_core
py-installer
py-pyparsing
py-packaging
py-pyproject_hooks
py-build
py-wheel
py-setuptools
)
- examine pkg_info -R python312 output for things that aren't
python modules and rebuild those
- examine the list of py312 modules for things I actually want (as
opposed to things installed because something else asked for
them) and build those for 3.13 (being careful not to waste time
rebuilding things that already got installed by something else)
- delete all python312 modules
- delete python312
It is a lot easier than updating everything after installing a new
release of the same Python, because you can safely just let the
depends do their thing.
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index