Python UpdatesBy Oleg / February 12, 2016
Python updates available. This update brings following changes:
- eselect-python update
Noticeable change in python-3.4 is https://www.python.org/dev/peps/pep-3149/
emerge -uDN @world is sufficient for all python packages and modules to be rebuilt and use new abi-letters naming in shared libs as explained in above link, however certain settings may prevent clean updates. We will try to describe where users need to look.
Following system settings are in need of check:
If nothing, regarding
PYTHON_SINGLE_TARGET set in above mentioned configure files then update should be quite straight-forward, because updates will bring following change as default in profiles.
If custom changes applied in any/all of configure files and they are different from above mentioned targets or packages have special python targets USE's, it is necessary to either remove them or change to match as shown above. Please, take care about any python related entries in
/etc/portage/package.mask dealing with python-3.4, they not needed anymore. After updates portage will give a message about running
emerge @preserved-rebuild. This step is required to perform
root # emerge @preserved-rebuild
If some packages rebuild is still incomplete, here is a special command for more fine grained rebuild. Use it only if none of regular steps ensured completeness of python-related packages reinstallation.
root # emerge -1v $(find /usr/lib*/python3* -name '*cpython-3[3-5].so')