Note

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

News:Python Updater Deprecation

From Funtoo
Revision as of 19:36, December 5, 2014 by Oleg (talk | contribs) (Created page with "{{News |Summary=-Python Updater deprecation. |News Format=Extended |News Category=General |Author=Oleg |Publication Status=Published |Deprecated By= |Publication Date=2014/12/...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Python Updater Deprecation

-Python Updater deprecation.

By Oleg / December 6, 2014

As some users have noticed, python-updater package, a tool for scanning and rebuilding python packages after major Python version updates now removed. As of Nov 28, python-updater no longer required to run. After merging new version of python ebuilds, following steps required:

Portage rebuild

root # emerge --oneshot sys-apps/portage

to ensure that unconditional dependencies are properly installed

Python Variables

In Funtoo Linux PYTHON variables set automatically in profile. In case PYTHON_* variables manually set in /etc/portage/make.conf , example PYTHON_ABIS="2.7 3.3", and/or /etc/portage/package.use, example app-category/pkgname python_abis_3.3 change them accordingly to a version you upgrade. Example PYTHON_ABIS="2.7 3.4", python_abis_3.4this require update portage again

root # emerge --nodeps --oneshot sys-apps/portage

This will rebuild portage independently of package dependencies, i.e if packages with old sys-apps/portage[python_abis_3.3] dependencies still present.

Changing the python active version

This can be achieved by using eselect.

root # eselect python --python3 python3.4

This command sets python 3 interpreter to a version 3.4, choose the one you upgrade to.

World update

Update your world.

root # emerge --update --deep --newuse @world