This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.

Please visit our production wiki at https://wiki.gentoo.org

Project:Python/Implementations

From Gentoo Wiki (test)
Jump to:navigation Jump to:search

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

Implementation support status

Family Version PYTHON_COMPAT EPYTHON USE_PYTHON python_is_python3? stdlib version State
CPython 2.5 python2_5 python2.5 2.5 No 2.5 removed
2.6 python2_6 python2.6 2.6 No 2.6 removed
2.7 python2_7 python2.7 2.7 No 2.7 current stable
3.1 python3_1 python3.1 3.1 Yes 3.1 removed
3.2 python3_2 python3.2 3.2 Yes 3.2 removed
3.3 python3_3 python3.3 3.3 Yes 3.3 removed
3.4 python3_4 python3.4 Yes 3.4 supported
3.5 python3_5 python3.5 Yes 3.5 current stable
3.6 python3_6 python3.6 Yes 3.6 supported
3.7 python3_7 python3.7 Yes 3.7 experimental
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 supported
PyPy3 2.1+ pypy3 pypy3 Yes 3.3 supported
5.7+ 3.5
Jython 2.5 jython2_5 jython2.5 2.5-jython No 2.5 deprecated
2.7 jython2_7 jython2.7 2.7-jython No 2.7 future

Legend:

  • 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.