From Gentoo Wiki
Jump to:navigation Jump to:search

This page shortly lists Python implementations (interpreters, providers) supported by Gentoo.

See also: upstream status of Python branches.

Implementation support status

Family Version PYTHON_COMPAT EPYTHON USE_PYTHON python_is_python3? stdlib version PYTHON_TARGETS State Interpreter available
CPython 2.5 python2_5 python2.5 2.5 No 2.5 removed No
2.6 python2_6 python2.6 2.6 No 2.6 removed No
2.7 python2_7 python2.7 2.7 No 2.7 only for any-r1  ::gentoo
3.1 python3_1 python3.1 3.1 Yes 3.1 removed No
3.2 python3_2 python3.2 3.2 Yes 3.2 removed No
3.3 python3_3 python3.3 3.3 Yes 3.3 removed No
3.4 python3_4 python3.4 Yes 3.4 removed  ::python
3.5 python3_5 python3.5 Yes 3.5 removed  ::python
3.6 python3_6 python3.6 Yes 3.6 removed  ::gentoo
3.7 python3_7 python3.7 Yes 3.7 removed  ::gentoo
3.8 python3_8 python3.8 Yes 3.8 deprecated  ::gentoo
3.9 python3_9 python3.9 Yes 3.9 current stable  ::gentoo
3.10 python3_10 python3.10 Yes 3.10 supported  ::gentoo
PyPy 1.9 pypy1_9 pypy-c1.9 2.7-pypy-1.9 No 2.7 removed
2.0 pypy2_0 pypy-c2.0 2.7-pypy-2.0 No 2.7 removed
2.0+ pypy pypy No 2.7 removed  ::gentoo
PyPy3 2.1+ pypy3 pypy3 Yes 3.3 supported
5.7+ 3.6 No
7.2+ 3.7  ::gentoo
Jython 2.5 jython2_5 jython2.5 2.5-jython No 2.5 removed No
2.7 jython2_7 jython2.7 2.7-jython No 2.7 removed  ::gentoo


  • removed — the implementation has been removed from the repository, and the eclasses ignore its occurences in PYTHON_COMPAT. It is no longer possible to us, it should be removed from your system ASAP and you can drop it from PYTHON_COMPAT at will with no worries.
  • deprecated — the implementation is no longer supported and will be removed at some point. You should avoid adding support for it to more packages. However, please avoid removing it from PYTHON_COMPAT since that can cause dependency errors.
  • supported — the implementation is currently supported. We're happy to handle bugs, add support for it, etc. Developers are encouraged to test their packages with all supported implementations.
  • current stable — the implementation is supported and enabled by default for our users. The developers are expected to test their packages with all implementations qualified as this.
  • experimental — the work on supporting the implementation is ongoing. It is not ready for wide use yet but developers may already start testing their packages with it.
  • future — the implementation will be supported in the future. The implementation name is reserved already, and the eclass may have partial support for it. However, ebuilds are not allowed to enable it yet.

Implementation support timeline

Impl. Interpreter added Target added Interpreter stable Target stable (unmasked) Target default Obsolescence warning Package last rites Package removal Target removal Interpreter removal Upstream EOL
2.7 2021-01-01 2021-02-01 2020-01-01
3.6 2018-07-24 2021-01-01 2021-01-15 2021-01-15 (2021-12-23)
3.7 2020-05-06 2020-09-01 2021-05-01 2021-05-31 2021-06-01 (2023-06-27)
3.8 2020-04-21 2020-07-06
2020-12-02 (2020-12-01) (2024-10)
3.9 2020-11-06 2020-11-09 2020-06-01
3.10 2020-10-05 (alpha) 2021-05-04

Dates in bold indicate when events took place, dates in parentheses are planned dates. Stabilization dates are given for amd64.