News:Python Updates

From Funtoo
Revision as of 17:19, February 12, 2016 by Oleg (talk | contribs) (Created page with "{{News |Summary=Python Updates |News Format=Extended |News Category=General |Author=Oleg |Publication Status=Draft |Publication Date=20160212 }} Python updates available. This...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, 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

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.