Note

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

News:Python Updates

From Funtoo
Revision as of 17:21, February 12, 2016 by Oleg (talk | contribs)
Jump to navigation Jump to search

Python Updates

Python Updates

By Oleg / February 12, 2016

Python updates available. This update brings following changes:

  • python-3.4.3
  • python-2.7.11
  • eselect-python update

Noticeable change in python-3.4 is https://www.python.org/dev/peps/pep-3149/

Normally, 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:

  • /etc/portage/make.conf
  • /etc/portage/package.use
  • /etc/portage/package.mask
  • /etc/portage/package.unmask

If nothing, regarding PYTHON_TARGETS, 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.

  • PYTHON_TARGETS="python2_7 python3_4"
  • PYTHON_SINGLE_TARGET="python3_4"

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.unmask and /etc/portage/package.mask dealing with python-3.4, they not needed anymore.