From Fedora Project Wiki

(Resorted the table.)
m (internal link cleaning)
 
(28 intermediate revisions by 4 users not shown)
Line 1: Line 1:
A [http://fedoraproject.org/wiki/Features/Python3F13 python 3 stack was added to Fedora in Fedora 13], parallel-installable with the "main" Python 2 stack, and it is gradually growing additional RPMs, as more code is ported to Python 3.
A [[Features/Python3F13|python 3 stack was added to Fedora in Fedora 13]], parallel-installable with the "main" Python 2 stack, and it is gradually growing additional RPMs, as more code is ported to Python 3.


Note that <code>/usr/bin/python</code> is still Python 2.
Note that <code>/usr/bin/python</code> is still Python 2.


= Porting status =
= Porting status =
Please keep each of these tables sorted alphabetically by python module name


== Python 3 already in Fedora ==
The porting status is tracked at http://portingdb-encukou.rhcloud.com/.
{|
! Python Module !! Fedora Python 2 package !! Upstream status of Python 3 !! Fedora Python 3 package
|-
| _cffi_backend cffi || TBD || TBD || In Fedora as '''python3-cffi''' subpackage of python-cffi
|-
| _dbus_bindings.so _dbus_glib_bindings.so dbus || TBD || TBD || In Fedora as '''python3-dbus''' subpackage of dbus-python
|-
| _libsuinput uinput || TBD || TBD || In Fedora as '''python3-uinput''' subpackage of python-uinput
|-
| _nlopt.so _nlopt.so.0 _nlopt.so.0.8.0 nlopt || TBD || TBD || In Fedora as '''python3-NLopt''' subpackage of NLopt
|-
| accerciser || TBD || TBD || In Fedora as '''accerciser''' subpackage of accerciser
|-
| alembic || TBD || TBD || In Fedora as '''python3-alembic''' subpackage of python-alembic
|-
| amqplib || TBD || TBD || In Fedora as '''python3-amqplib''' subpackage of python-amqplib
|-
| ansi2html || TBD || TBD || In Fedora as '''python3-ansi2html''' subpackage of python-ansi2html
|-
| anyjson || TBD || TBD || In Fedora as '''python3-anyjson''' subpackage of python-anyjson
|-
| apipkg || TBD || TBD || In Fedora as '''python3-apipkg''' subpackage of python-apipkg
|-
| apsw || TBD || TBD || In Fedora as '''python3-apsw''' subpackage of python-apsw
|-
| argh || TBD || TBD || In Fedora as '''python3-argh''' subpackage of python-argh
|-
| asciitable || TBD || TBD || In Fedora as '''python3-asciitable''' subpackage of python-asciitable
|-
| atpy || ATpy || TBD || In Fedora 13 onwards as '''python3-ATpy''', built as a subpackage of ATpy
|-
| auth || TBD || TBD || In Fedora as '''python3-auth.credential''' subpackage of python-auth-credential
|-
| AutoArchive || TBD || TBD || In Fedora as '''autoarchive''' subpackage of autoarchive
|-
| awake || TBD || TBD || In Fedora as subpackages '''awake''' '''python3-awake''' of awake
|-
| babel || python-babel || TBD || '''python3-babel''' built as a subpackage of babel (Patch to .spec to emit python2 and python 3 from one build was {{bz|537266}})
|-
| backlash || TBD || TBD || In Fedora as '''python3-backlash''' subpackage of python-backlash
|-
| beaker || python-beaker || TBD || In Fedora 14 onwards as '''python3-beaker''', built as a subpackage of python-beaker
|-
| beautifulsoup4 || python-BeautifulSoup || beautifulsoup4 adds Python 3 support || Fedora 15 onwards has '''python3-BeautifulSoup''', built as a subpackage of python-BeautifulSoup.src.rpm, using a copy of the 4.* tarball
|-
| billiard || TBD || TBD || In Fedora as '''python3-billiard''' subpackage of python-billiard
|-
| bind10_config bindctl isc libutil_io_python.so pydnspp.so || TBD || TBD || In Fedora as subpackages '''bind10''' '''bind10-dns''' of bind10
|-
| blessings || TBD || TBD || In Fedora as '''python3-blessings''' subpackage of python-blessings
|-
| blinker || TBD || TBD || In Fedora as '''python3-blinker''' subpackage of python-blinker
|-
| bottle || TBD || TBD || In Fedora as '''python3-bottle''' subpackage of python-bottle
|-
| bottleneck || TBD || TBD || In Fedora as '''python3-Bottleneck''' subpackage of python-Bottleneck
|-
| brlapi || TBD || TBD || In Fedora as '''python3-brlapi''' subpackage of brltty
|-
| bs4 || TBD || TBD || In Fedora as '''python3-beautifulsoup4''' subpackage of python-beautifulsoup4
|-
| bsddb3 || TBD || TBD || In Fedora as '''python3-bsddb3''' subpackage of python3-bsddb3
|-
| bson gridfs pymongo || TBD || TBD || In Fedora as subpackages '''python3-bson''' '''python3-pymongo''' '''python3-pymongo-gridfs''' of python-pymongo
|-
| cairo || pycairo || Upstream packages the py3k version as pycairo and the py2 version as py2cairo.  There is a need to port from PyCObject to PyCapsule because Python 3.2 does not support PyCObject || In Fedora 15 onwards as '''python3-cairo''')
|-
| cairocffi || TBD || TBD || In Fedora as '''python3-cairocffi''' subpackage of python-cairocffi
|-
| cairosvg || TBD || TBD || In Fedora as '''python3-CairoSVG''' subpackage of python-cairosvg
|-
| cangjie || TBD || TBD || In Fedora as '''python3-cangjie''' subpackage of python3-cangjie
|-
| CDApplet CDBashApplet CairoDock || TBD || TBD || In Fedora as '''cairo-dock-python3''' subpackage of cairo-dock
|-
| celery || TBD || TBD || In Fedora as subpackages '''python-celery''' '''python3-celery''' of python-celery
|-
| cement || TBD || TBD || In Fedora as '''python3-cement''' subpackage of python-cement
|-
| chai || TBD || TBD || In Fedora as '''python3-chai''' subpackage of python-chai
|-
| chameleon || TBD || TBD || In Fedora as '''python3-chameleon''' subpackage of python-chameleon
|-
| chardet || python-chardet || Upstream releasing dual-purpose tarballs || In Fedora 13 onwards as '''python3-chardet''' (was RHBZ [https://bugzilla.redhat.com/show_bug.cgi?id=583186 #583186]), the [https://admin.fedoraproject.org/updates/python3-chardet-2.0.1-2.fc13 update] is now stable. Though not yet in the beta release, it will be in the final one.
|-
| cherrypy || python-cherrypy || Python 3 supported as of [http://www.cherrypy.org/wiki/WhatsNewIn32 CherryPy 3.2 (October 2009)], upstream releasing [http://download.cherrypy.org/cherrypy/3.2.0rc1/CherryPy-3.2.0rc1-py3.tar.gz separate tarballs for python 3] || In Fedora 13 onwards as '''python3-cherrypy''' (was {{bz|579593}}), though F-13 build is only available as [https://admin.fedoraproject.org/updates/python3-cherrypy-3.2.0-0.rc1.r2567.1.fc13 an update].
|-
| cliff || TBD || TBD || In Fedora as '''python3-cliff''' subpackage of python-cliff
|-
| cmd2 || TBD || TBD || In Fedora as '''python3-cmd2''' subpackage of python-cmd2
|-
| cobbler koan || TBD || TBD || In Fedora as subpackages '''cobbler''' '''cobbler-web''' '''koan''' of cobbler
|-
| configobj validate || TBD || TBD || In Fedora as '''python3-configobj''' subpackage of python3-configobj
|-
| construct || TBD || TBD || In Fedora as '''python3-construct''' subpackage of python-construct
|-
| coverage || python-coverage || Upstream releasing dual-purpose tarballs || In Fedora 13 onwards as '''python3-coverage''' subpackage of python-coverage (was {{bz|536948}})
|-
| cptrace ptrace || TBD || TBD || In Fedora as '''python3-ptrace''' subpackage of python-ptrace
|-
| Crypto || python-crypto || PyCrypto supports Python 3 as of [http://lists.dlitz.net/pipermail/pycrypto/2011q4/000480.html 2.4] || In Fedora 17 onwards as '''python3-crypto''' subpackage of python-crypto (was {{bz|748529}})
|-
| cvxopt || TBD || TBD || In Fedora as '''python3-cvxopt''' subpackage of python-cvxopt
|-
| CXX || TBD || TBD || In Fedora as '''python3-pycxx-devel''' subpackage of python-pycxx
|-
| Cython cython pyximport || TBD || TBD || In Fedora as '''python3-Cython''' subpackage of Cython
|-
| d2to1 || TBD || TBD || In Fedora as '''python3-d2to1''' subpackage of python-d2to1
|-
| dateutil || TBD || TBD || In Fedora as '''python3-dateutil''' package
|-
| decorator || python-decorator || Upstream reports that [http://pypi.python.org/pypi/decorator/3.1.2 3.1.2 ought to work, by running 2to3 on the module decorator.py] || In Fedora 14 onwards as '''python3-decorator''' subpackage of python-decorator
|-
| defusedxml || TBD || TBD || In Fedora as '''python3-defusedxml''' subpackage of python-defusedxml
|-
| deltarpm || deltarpm || TBD || In Fedora 13 onwards (the "deltarpm" build emits both "python-deltarpm" and '''"python3-deltarpm'''" subpackages)
|-
| dirq || TBD || TBD || In Fedora as '''python3-dirq''' subpackage of python-dirq
|-
| DistUtilsExtra || TBD || TBD || In Fedora as '''python3-distutils-extra''' subpackage of python-distutils-extra
|-
| django || TBD || TBD || In Fedora as '''python3-django''' subpackage of python-django
|-
| dns || TBD || TBD || In Fedora as '''python3-dns''' subpackage of python-dns
|-
| DNS || TBD || TBD || In Fedora as '''python3-py3dns''' subpackage of python3-py3dns
|-
| docutils || python-docutils || Website says: "From version 0.6 Docutils is compatible with Python 3, but requires 2to3." Note: Soft dependency on python-imaging which is not yet ported.  We can make python3-docutils not use imaging with reduced functionality compared to the python2 version || In Fedora 14 onwards as '''python3-docutils''' subpackage of python-docutils (was {{bz|579567}})
|-
| dogpile || TBD || TBD || In Fedora as '''python3-dogpile-core''' subpackage of python-dogpile-core
|-
| doit || TBD || TBD || In Fedora as '''python3-doit''' subpackage of python-doit
|-
| dreampielib || TBD || TBD || In Fedora as '''dreampie-python3''' subpackage of dreampie
|-
| dropbox || TBD || TBD || In Fedora as '''python3-dropbox''' subpackage of python-dropbox
|-
| dtopt || TBD || TBD || In Fedora as '''python3-dtopt''' subpackage of python-dtopt
|-
| easygui || TBD || TBD || In Fedora as '''python3-easygui''' subpackage of python-easygui
|-
| elftools || TBD || TBD || In Fedora as '''python3-pyelftools''' subpackage of pyelftools
|-
| enchant || python-enchant || As of 2010-12-14 [http://packages.python.org/pyenchant/news/item/version-1.6.5-released.html 1.6.5 onwards should work with Python 3] || In Fedora 17 onwards as '''python3-enchant''' subpackage of python-enchant (was {{bz|745237}})
|-
| execnet || TBD || TBD || In Fedora as '''python3-execnet''' subpackage of python-execnet
|-
| extras || TBD || TBD || In Fedora as '''python3-extras''' subpackage of python-extras
|-
| falcon || TBD || TBD || In Fedora as '''python3-falcon''' subpackage of python-falcon
|-
| fdb || TBD || TBD || In Fedora as '''python3-fdb''' subpackage of python-fdb
|-
| feedparser || TBD || TBD || In Fedora as '''python3-feedparser''' subpackage of python-feedparser
|-
| firehose || TBD || TBD || In Fedora as '''python3-firehose''' subpackage of python-firehose
|-
| flexmock || TBD || TBD || In Fedora as '''python3-flexmock''' subpackage of python-flexmock
|-
| fn || TBD || TBD || In Fedora as '''python3-fn''' subpackage of python-fn
|-
| forensic1394 || TBD || TBD || In Fedora as '''python3-forensic1394''' subpackage of libforensic1394
|-
| g2clib ncepgrib2 pygrib redtoreg || TBD || TBD || In Fedora as '''python3-pygrib''' subpackage of pygrib
|-
| gcc || TBD || [https://fedorahosted.org/gcc-python-plugin/ gcc-python-plugin] supports both Python 2 and Python 3 from one tarball, using "six" || In Fedora 16 onwards as '''gcc-python3-plugin''' and '''gcc-python3-debug-plugin'''  subpackages of gcc-python-plugin (was {{bz|725570}})
|-
| gearbox || TBD || TBD || In Fedora as '''python3-gearbox''' subpackage of python-gearbox
|-
| github || TBD || TBD || In Fedora as '''python3-github''' subpackage of python-github
|-
| github || TBD || TBD || In Fedora as '''python3-github''' subpackage of python-PyGithub
|-
| gobject || pygobject2 || I'm working on the py3 port upstream.  Note this replaces the need for modules such as PyGTK which will not be ported || In Fedora 15 onwards as '''python3-gobject''' built as as a subpackage of pygobject2
|-
| gobject || pygobject3 || TBD || In Fedora as '''python3-gobject''' built as as a subpackage of pygobject3
|-
| gpgme || TBD || TBD || In Fedora as '''python3-pygpgme''' subpackage of pygpgme
|-
| gumbo || TBD || TBD || In Fedora as '''gumbo-parser-python''' subpackage of gumbo-parser
|-
| gunicorn || TBD || TBD || In Fedora as '''python3-gunicorn''' subpackage of python-gunicorn
|-
| h5py || TBD || TBD || In Fedora as '''python3-h5py''' subpackage of h5py
|-
| hovercraft || TBD || TBD || In Fedora as '''hovercraft''' subpackage of hovercraft
|-
| html5lib || TBD || TBD || In Fedora as '''python3-html5lib''' subpackage of python-html5lib
|-
| httpie || TBD || TBD || In Fedora as '''python3-httpie''' subpackage of httpie
|-
| httplib2 || TBD || TBD || In Fedora as '''python3-httplib2''' subpackage of python-httplib2
|-
| ibus_cangjie || TBD || TBD || In Fedora as '''ibus-cangjie''' subpackage of ibus-cangjie
|-
| inception || TBD || TBD || In Fedora as '''inception''' subpackage of inception
|-
| iptools || TBD || TBD || In Fedora as '''python3-iptools''' subpackage of python-iptools
|-
| IPython || TBD || TBD || In Fedora as subpackages '''python3-ipython-console''' '''python3-ipython-gui''' '''python3-ipython-notebook''' '''python3-ipython-tests''' of ipython
|-
| itsdangerous || TBD || TBD || In Fedora as '''python3-itsdangerous''' subpackage of python-itsdangerous
|-
| jinja2 || python-jinja2 || Version 2.3 introduced 'experimental' Python 3 support. || In Fedora 14 onwards as '''python3-jinja2''' subpackage of python-jinja2  (was {{bz|537268}})
|-
| joblib || TBD || TBD || In Fedora as '''python3-joblib''' subpackage of python-joblib
|-
| keyring || TBD || TBD || In Fedora as subpackages '''python-keyring''' '''python3-keyring''' of python-keyring
|-
| kombu || TBD || TBD || In Fedora as '''python3-kombu''' subpackage of python-kombu
|-
| langtable || TBD || TBD || In Fedora as '''langtable-python3''' subpackage of langtable
|-
| lesscpy || TBD || TBD || In Fedora as '''python3-lesscpy''' subpackage of python-lesscpy
|-
| libcomps || TBD || TBD || In Fedora as '''python3-libcomps''' subpackage of libcomps
|-
| liblinear liblinearutil || TBD || TBD || In Fedora as '''python3-liblinear''' subpackage of liblinear
|-
| libravatar || TBD || TBD || In Fedora as '''python3-pylibravatar''' subpackage of python-pylibravatar
|-
| llfuse || TBD || TBD || In Fedora as '''python3-llfuse''' subpackage of python-llfuse
|-
| llpython llvm llvm_array llvm_cbuilder llvmpy || TBD || TBD || In Fedora as '''python3-llvmpy''' subpackage of python-llvmpy
|-
| logging_tree || TBD || TBD || In Fedora as '''python3-logging-tree''' subpackage of python-logging-tree
|-
| logutils || TBD || TBD || In Fedora as '''python3-logutils''' subpackage of python-logutils
|-
| lonote || TBD || TBD || In Fedora as '''lonote''' subpackage of lonote
|-
| louis || TBD || TBD || In Fedora as '''liblouis-python3''' subpackage of liblouis
|-
| lxc || TBD || TBD || In Fedora as subpackages '''lxc-extra''' '''python3-lxc''' of lxc
|-
| lxml || python-lxml || Upstream releasing dual-purpose tarballs || In Fedora 13 onwards as '''python3-lxml''' subpackage of python-lxml (was {{bz|533290}})
|-
| mako || python-mako || From version 0.3, mako supports python3 || In Fedora 14 onwards as '''python3-mako''' subpackage of python-mako (was {{bz|585036}})
|-
| manuel || TBD || TBD || In Fedora as '''python3-manuel''' subpackage of python-manuel
|-
| markdown || TBD || TBD || In Fedora as '''python3-markdown''' subpackage of python-markdown
|-
| markdown2 || TBD || TBD || In Fedora as '''python3-markdown2''' subpackage of python-markdown2
|-
| markupsafe || TBD || TBD || In Fedora as '''python3-markupsafe''' subpackage of python-markupsafe
|-
| matplotlib mpl_toolkits pylab || TBD || TBD || In Fedora as subpackages '''python3-matplotlib''' '''python3-matplotlib-qt4''' '''python3-matplotlib-tk''' of python-matplotlib
|-
| mccabe || TBD || TBD || In Fedora as '''python3-mccabe''' subpackage of python-mccabe
|-
| memcache || TBD || TBD || In Fedora as '''python3-memcached''' subpackage of python3-memcached
|-
| messaging || TBD || TBD || In Fedora as '''python3-messaging''' subpackage of python-messaging
|-
| mglob || TBD || TBD || In Fedora as '''python3-mglob''' subpackage of python-mglob
|-
| milia || TBD || TBD || In Fedora as '''python3-pymilia''' subpackage of pymilia
|-
| mimeparse || TBD || TBD || In Fedora as '''python3-mimeparse''' subpackage of python-mimeparse
|-
| minimock || python-minimock || [http://groups.google.com/group/minimock-dev/browse_thread/thread/a6cd2d572eec31d0 Asked upstream] they will release dual-purpose tarballs || In Fedora 13 onwards as '''python3-minimock''' subpackage of python-minimock
|-
| mock || TBD || TBD || In Fedora as '''python3-mock''' subpackage of python-mock
|-
| mpich2, openmpi || mpi4py || TBD || '''python3-mpi4py-{openmpi,mpich2}''' in Fedora 13 onwards, built as a subpackage of mpi4py.
|-
| mpmath || TBD || TBD || In Fedora as '''python3-mpmath''' subpackage of python-mpmath
|-
| MultipartPostHandler || TBD || TBD || In Fedora as '''python3-MultipartPostHandler2''' subpackage of python-MultipartPostHandler2
|-
| netCDF4 netCDF4_utils netcdftime || TBD || TBD || In Fedora as '''netcdf4-python3''' subpackage of netcdf4-python
|-
| networkx || TBD || TBD || In Fedora as '''python3-networkx''' subpackage of python-networkx
|-
| nose || TBD || TBD || In Fedora as '''python3-nose''' subpackage of python-nose
|-
| nose_exclude || TBD || TBD || In Fedora as '''python3-nose-exclude''' subpackage of python-nose-exclude
|-
| nosecover3 || TBD || TBD || In Fedora as '''python3-nose-cover3''' subpackage of python-nose-cover3
|-
| noseprogressive || TBD || TBD || In Fedora as '''python3-nose-progressive''' subpackage of python-nose-progressive
|-
| numpy || numpy || TBD || '''python3-{numpy,f2py}''' in Fedora 15 onwards, built as a subpackage of numpy.
|-
| oauthlib || TBD || TBD || In Fedora as '''python3-oauthlib''' subpackage of python-oauthlib
|-
| offtrac || TBD || TBD || In Fedora as '''python3-offtrac''' subpackage of python-offtrac
|-
| openopt || TBD || TBD || In Fedora as '''python3-openopt''' subpackage of python-openopt
|-
| openshot || TBD || TBD || In Fedora as '''openshot''' subpackage of openshot
|-
| OpenSSL || TBD || TBD || In Fedora as '''python3-pyOpenSSL''' subpackage of pyOpenSSL
|-
| optcomplete || TBD || TBD || In Fedora as '''python3-optcomplete''' subpackage of python-optcomplete
|-
| orca || TBD || TBD || In Fedora as '''orca''' subpackage of orca
|-
| parse || TBD || TBD || In Fedora as '''python3-parse''' subpackage of python-parse
|-
| paste || TBD || TBD || In Fedora as '''python3-paste-deploy''' subpackage of python-paste-deploy
|-
| pathtools || TBD || TBD || In Fedora as '''python3-pathtools''' subpackage of python-pathtools
|-
| pbs || TBD || TBD || In Fedora as '''python3-pbs''' subpackage of python-pbs
|-
| pep8 || TBD || TBD || In Fedora as '''python3-pep8''' subpackage of python-pep8
|-
| pexpect || TBD || TBD || In Fedora as '''python3-pexpect''' subpackage of python-pexpect
|-
| PIL _imaging _imagingcms _imagingft _imagingmath _imagingtk _webp sane || TBD || TBD || In Fedora as subpackages '''python3-pillow''' '''python3-pillow-qt''' '''python3-pillow-sane''' '''python3-pillow-tk''' of python-pillow
|-
| pip || TBD || TBD || In Fedora as '''python3-pip''' subpackage of python-pip
|-
| pkgwat || TBD || TBD || In Fedora as '''python3-python-pkgwat-api''' subpackage of python-pkgwat-api
|-
| plumbum || TBD || TBD || In Fedora as '''python3-plumbum''' subpackage of python-plumbum
|-
| ply || python-ply || 2 and 3 from same tarball [http://www.dabeaz.com/ply/ from PLY-3.0 onwards]; README states "You should not convert PLY using 2to3 -- it is not necessary and may in fact break the implementation." || '''python3-ply''' in Fedora 13 onwards, built as a subpackage of python-ply
|-
| plyvel || TBD || TBD || In Fedora as '''python3-plyvel''' subpackage of python-plyvel
|-
| poezio poezio_plugins || TBD || TBD || In Fedora as '''poezio''' subpackage of poezio
|-
| polib || TBD || TBD || In Fedora as '''python3-polib''' subpackage of python-polib
|-
| postgresql || TBD || [http://python.projects.postgresql.org/ py-postgresql] || In Fedora 13 onwards  as '''python3-postgresql''' (was {{bz|579280}}), though F-13 build is only available as [https://admin.fedoraproject.org/updates/python3-postgresql-1.0.0-1.fc13 an update]
|-
| power || TBD || TBD || In Fedora as '''python3-power''' subpackage of python-power
|-
| prettytable || TBD || TBD || In Fedora as '''python3-prettytable''' subpackage of python-prettytable
|-
| profilehooks || TBD || TBD || In Fedora as '''python3-profilehooks''' subpackage of python-profilehooks
|-
| psutil || python-psutil || TBD || In Fedora 13 onwards as a '''python3-psutil''' subpackage
|-
| psycopg2 || python-psycopg2 || As of [http://initd.org/psycopg/articles/2011/02/06/psycopg-24-beta1-released/  2011-02-06, Psycopg 2.4 beta1 works with Python 3] || In Fedora 16 onwards, as '''python3-psycopg2''' and python3-psycopg2-debug subpackages of python-psycopg2 (was {{bz|676748}})
|-
| pudb || TBD || TBD || In Fedora as '''python3-pudb''' subpackage of python-pudb
|-
| py2neo || TBD || TBD || In Fedora as '''python3-py2neo''' subpackage of python-py2neo
|-
| pyasn1 pyasn1_modules || TBD || TBD || In Fedora as subpackages '''python3-pyasn1''' '''python3-pyasn1-modules''' of python-pyasn1
|-
| pyatspi || TBD || TBD || In Fedora as '''python3-pyatspi''' subpackage of pyatspi
|-
| pycanberra || TBD || TBD || In Fedora as '''python3-canberra''' subpackage of pycanberra
|-
| pycmd || TBD || TBD || In Fedora as '''python3-pycmd''' subpackage of pycmd
|-
| pycparser || TBD || TBD || In Fedora as '''python3-pycparser''' subpackage of python-pycparser
|-
| pyfits || pyfits || TBD || In Fedora as a '''python3-pyfits''' subpackage of pyfits
|-
| pygeoip || TBD || TBD || In Fedora as '''python3-pygeoip''' subpackage of python-pygeoip
|-
| pyglet || TBD || TBD || In Fedora as '''python3-pyglet''' subpackage of python-pyglet
|-
| pygments || python-pygments || Upstream reports that [http://dev.pocoo.org/projects/pygments/ticket/448 "Pygments is already ported to Python 3. The same source release can be used for 2.x and 3.x installs"] || In Fedora 14 onwards as a '''python3-pygments''' subpackage of python-pygments (was {{bz|537244}})
|-
| pyinotify || TBD || TBD || In Fedora as '''python3-inotify''' subpackage of python-inotify
|-
| PyKDE4 || TBD || TBD || In Fedora as subpackages '''python3-pykde4''' '''python3-pykde4-akonadi''' '''python3-pykde4-devel''' of pykde4
|-
| pyke || pyke || TBD || In Fedora 13 onwards as a '''python3-pyke''' subpackage of pyke
|-
| pyp2rpm || pyp2rpm || TBD || In Fedora as a '''python3-pyp2rpm''' subpackage of pyp2rpm
|-
| pyparsing || pyparsing || [http://pyparsing.wikispaces.com/News Python 3 support was added in 1.5.2 as a pyparsing_py3.py file] || In Fedora as '''python3-parsing''' subpackage of pyparsing
|-
| pyphen || TBD || TBD || In Fedora as '''python3-pyphen''' subpackage of python-pyphen
|-
| pyproj || TBD || TBD || In Fedora as '''python3-pyproj''' subpackage of pyproj
|-
| PyQt4 || PyQt4 || TBD || In Fedora 14 onwards as '''python3-PyQt4''' and '''python3-PyQt4-devel''' subpackages of PyQt4 (was {{bz|586196}})
|-
| pyramid_tm || TBD || TBD || In Fedora as '''python3-pyramid-tm''' subpackage of python-pyramid-tm
|-
| Pyro4 || TBD || TBD || In Fedora as '''python3-pyro''' subpackage of python-pyro
|-
| PyRSS2Gen || TBD || TBD || In Fedora as '''python3-PyRSS2Gen''' subpackage of python-PyRSS2Gen
|-
| pyshp || pyshp || TBD || In Fedora as a '''python3-pyshp''' subpackage of pyshp
|-
| pystache || TBD || TBD || In Fedora as '''python3-pystache''' subpackage of pystache
|-
| pytest || TBD || TBD || In Fedora as '''python3-pytest''' subpackage of pytest
|-
| pytz || TBD || TBD || In Fedora as '''python3-pytz''' subpackage of pytz
|-
| q || TBD || TBD || In Fedora as '''python3-q''' subpackage of python-q
|-
| queuelib || TBD || TBD || In Fedora as '''python3-python-queuelib''' subpackage of python-queuelib
|-
| rencode || TBD || TBD || In Fedora as '''python3-rencode''' subpackage of python-rencode
|-
| requests || TBD || TBD || In Fedora as '''python3-requests''' subpackage of python-requests
|-
| RestAuthCommon || TBD || TBD || In Fedora as '''python3-restauth-common''' subpackage of python-restauth-common
|-
| revisor || TBD || TBD || In Fedora as '''revisor-cli''' subpackage of revisor
|-
| rtslib || TBD || TBD || In Fedora as '''python3-rtslib''' subpackage of python-rtslib
|-
| sanction || TBD || TBD || In Fedora as '''python3-sanction''' subpackage of python-sanction
|-
| scipy || scipy || SVN trunk 6848 works with python 3 || In Fedora as '''python3-scipy''' subpackage of scipy
|-
| selinux || libselinux-python || Generated by SWIG during build of libselinux || In Fedora 14 onwards as '''libselinux-python3''' subpackage of libselinux (was{{bz|582006}})
|-
| semanage || libsemanage-python || Generated by SWIG during build of libsemanage || In Fedora 14 onwards as '''libsemanage-python3''' subpackage of libsemanage (was {{bz|582007}})
|-
| setproctitle || TBD || TBD || In Fedora as '''python3-setproctitle''' subpackage of python-setproctitle
|-
| setuptools || python-setuptools || TBD || In Fedora 13 onwards as a '''python3-setuptools''' subpackage (internally we've switched to the "Distribute" fork)
|-
| sieve || TBD || TBD || In Fedora as '''python3-sieve''' subpackage of python-sieve
|-
| simplegeneric || python-simplegeneric || TBD || In Fedora 17 onwards as a '''python3-simplegeneric''' subpackage of python-simplegeneric; also added in [https://admin.fedoraproject.org/updates/python-simplegeneric-0.8-3.fc16 a Fedora 16 update] (was {{bz|785056}})
|-
| simplejson || TBD || TBD || In Fedora as '''python3-simplejson''' subpackage of python-simplejson
|-
| simplemediawiki || TBD || TBD || In Fedora as '''python3-simplemediawiki''' subpackage of python-simplemediawiki
|-
| simplevisor || TBD || TBD || In Fedora as '''python3-simplevisor''' subpackage of python-simplevisor
|-
| sip || sip || [http://freshmeat.net/projects/python-sip/releases/300495 added] (single tarball) || In Fedora 14 onwards as '''python3-sip''' and '''python3-sip-devel''' subpackages of "sip" (was {{bz|545124}})
|-
| six || python-six || TBD || In Fedora 16 onwards as '''python3-six''' (was {{bz|690613}})
|-
| sleekxmpp || TBD || TBD || In Fedora as '''python3-sleekxmpp''' subpackage of python-sleekxmpp
|-
| smbc || TBD || TBD || In Fedora as '''python3-smbc''' subpackage of python-smbc
|-
| smbpasswd || python-smbpasswd || Create own package for p3k; sent patch to upstream || In Fedora 13 onwards as '''python3-smbpasswd''' subpackage (was {{bz|560456}})
|-
| speechd speechd_config || TBD || TBD || In Fedora as '''python3-speechd''' subpackage of speech-dispatcher
|-
| sphinx || python-sphinx || Upstream [http://groups.google.com/group/sphinx-dev/browse_thread/thread/42a35bf1ccd91794/22d3fbf5fd6d6906 added Python 3.x support to trunk] on 2010-07-28 || In Fedora as '''python3-sphinx''' subpackage of python-sphinx
|-
| sqlalchemy || python-sqlalchemy || 0.6beta1 has py3k support from a single tarball. || Packaged for F-14.  Needs nose3 for running unittests of '''python3-sqlalchemy'''.  Due to incompatible API, decided not to push back to F-13.
|-
| stem || TBD || TBD || In Fedora as '''python3-stem''' subpackage of python-stem
|-
| stomp || TBD || TBD || In Fedora as '''python3-stomppy''' subpackage of stomppy
|-
| straight || TBD || TBD || In Fedora as '''python3-straight-plugin''' subpackage of python-straight-plugin
|-
| svg || TBD || TBD || In Fedora as '''python3-svg-path''' subpackage of python-svg-path
|-
| systemd || TBD || TBD || In Fedora as '''systemd-python3''' subpackage of systemd
|-
| taskw || TBD || TBD || In Fedora as '''python3-taskw''' subpackage of python-taskw
|-
| TBD || blender || Blender 2.5 [http://wiki.blender.org/index.php/BlenderDev/Blender2.5/PythonAPI_31 migrated its embedded version of python from Python 2 to Python 3]. || Fedora 15 onwards switched from Blender 2.4 to 2.5, linking against the system Python 3, rather than the system Python 2
|-
| TBD || bpython || Should work in 0.9.6.2: http://bitbucket.org/bobf/bpython/issue/84/bpython-doesnt-work-with-python-3 ; needs pyparsing || In Fedora 14 onwards as '''python3-bpython''' subpackage of bpython (was {{bz|590107}})
|-
| TBD || lcgdm || TBD || In Fedora as '''lfc-python3''' and '''dpm-python3''' subpackages of lcgdm
|-
| TBD || mysql-connector-python || TBD || In Fedora as '''mysql-connector-python3'''subpackage of mysql-connector-python
|-
| TBD || swig || According to http://www.swig.org/news.php, Python 3 support was added to SWIG in 1.3.37 (released 2009-01-15); generated C code appears to be compilable against both Python 2 and Python 3 || Fedora 11 onwards has had a version of "swig" capable of generating code for both Python major-versions.
|-
| TBD || TBD || TBD || In Fedora as '''fatrace''' subpackage of fatrace
|-
| TBD || TBD || TBD || In Fedora as '''gedit-beesu-plugin''' subpackage of beesu
|-
| TBD || TBD || TBD || In Fedora as '''ibus-bogo''' subpackage of ibus-bogo
|-
| TBD || TBD || TBD || In Fedora as '''libgexiv2-python3''' subpackage of libgexiv2
|-
| TBD || TBD || TBD || In Fedora as '''libgit2-glib''' subpackage of libgit2-glib
|-
| TBD || TBD || TBD || In Fedora as '''loook'''
|-
| TBD || TBD || TBD || In Fedora as '''metagoofil''' subpackage of metagoofil
|-
| TBD || TBD || TBD || In Fedora as '''nfoview'''
|-
| TBD || TBD || TBD || In Fedora as '''nordugrid-arc-python3''' subpackage of nordugrid-arc
|-
| TBD || TBD || TBD || In Fedora as '''python3-dogpile-cache''' subpackage of python-dogpile-cache
|-
| TBD || TBD || TBD || In Fedora as '''python3-repoze-lru''' subpackage of python-repoze-lru
|-
| TBD || TBD || TBD || In Fedora as '''python3-repoze-who''' subpackage of python-repoze-who
|-
| TBD || TBD || TBD || In Fedora as '''python3-sphinx-theme-flask''' subpackage of python-sphinx-theme-flask
|-
| TBD || TBD || TBD || In Fedora as '''python3-webob1.2''' subpackage of python-webob1.2
|-
| TBD || TBD || TBD || In Fedora as '''python3-zc-customdoctests''' subpackage of python-zc-customdoctests
|-
| TBD || TBD || TBD || In Fedora as '''python3-zope-component''' subpackage of python-zope-component
|-
| TBD || TBD || TBD || In Fedora as '''python3-zope-configuration''' subpackage of python-zope-configuration
|-
| TBD || TBD || TBD || In Fedora as '''python3-zope-deprecation''' subpackage of python-zope-deprecation
|-
| TBD || TBD || TBD || In Fedora as '''python3-zope-proxy''' subpackage of python-zope-proxy
|-
| TBD || TBD || TBD || In Fedora as '''python3-zope-schema''' subpackage of python-zope-schema
|-
| TBD || TBD || TBD || In Fedora as '''python3-zope-testing''' subpackage of python-zope-testing
|-
| TBD || TBD || TBD || In Fedora as '''ris-linux''' subpackage of ris-linux
|-
| TBD || TBD || TBD || In Fedora as '''transmageddon''' subpackage of transmageddon
|-
| TBD || TBD || TBD || In Fedora as '''uwsgi-plugin-python3''' subpackage of uwsgi
|-
| TBD || TBD || TBD || In Fedora as '''will-crash''' subpackage of will-crash
|-
| tbgrep || TBD || TBD || In Fedora as '''python3-tbgrep''' subpackage of python-tbgrep
|-
| tempita || TBD || TBD || In Fedora as '''python3-tempita''' subpackage of python-tempita
|-
| testresources || TBD || TBD || In Fedora as '''python3-testresources''' subpackage of python-testresources
|-
| testtools || TBD || TBD || In Fedora as '''python3-testtools''' subpackage of python-testtools
|-
| tinycss || TBD || TBD || In Fedora as '''python3-tinycss''' subpackage of python-tinycss
|-
| tornado || TBD || TBD || In Fedora as '''python3-tornado''' subpackage of python-tornado
|-
| transaction || TBD || TBD || In Fedora as '''python3-transaction''' subpackage of python-transaction
|-
| translationstring || TBD || TBD || In Fedora as '''python3-translationstring''' subpackage of python-translationstring
|-
| unidecode || TBD || TBD || In Fedora as '''python3-unidecode''' subpackage of python-unidecode
|-
| unipath || TBD || TBD || In Fedora as '''python3-unipath''' subpackage of python-unipath
|-
| uno unohelper || TBD || TBD || In Fedora as '''libreoffice-pyuno''' subpackage of libreoffice
|-
| urllib3 || TBD || TBD || In Fedora as '''python3-urllib3''' subpackage of python-urllib3
|-
| urlwatch || TBD || TBD || In Fedora as '''urlwatch''' subpackage of urlwatch
|-
| urwid || TBD || TBD || In Fedora as '''python3-urwid''' subpackage of python-urwid
|-
| venusian || TBD || TBD || In Fedora as '''python3-venusian''' subpackage of python-venusian
|-
| waflib || TBD || TBD || In Fedora as '''waf-python3''' subpackage of waf
|-
| waitress || TBD || TBD || In Fedora as subpackages '''python-waitress''' '''python3-waitress''' of python-waitress
|-
| webob || TBD || TBD || In Fedora as '''python3-webob''' subpackage of python-webob
|-
| webtest || TBD || TBD || In Fedora as '''python3-webtest''' subpackage of python-webtest
|-
| whoosh || TBD || TBD || In Fedora as '''python3-whoosh''' subpackage of python-whoosh
|-
| workerpool || TBD || TBD || In Fedora as '''python3-workerpool''' subpackage of python-workerpool
|-
| wstool || TBD || TBD || In Fedora as '''python3-wstool''' subpackage of python-wstool
|-
| xdg || pyxdg || TBD || In Fedora as '''python3-pyxdg''' subpackage of pyxdg as of Fedora 17 onwards (via [https://admin.fedoraproject.org/updates/pyxdg-0.23-1.fc17 an update])
|-
| xmltodict || TBD || TBD || In Fedora as '''python3-xmltodict''' subpackage of python-xmltodict
|-
| yaml || PyYAML || TBD || In Fedora as '''python3-PyYAML''' subpackage of PyYAML
|-
| yapsy || TBD || TBD || In Fedora as '''python3-yapsy''' subpackage of python-yapsy
|-
| yumdaemon || TBD || TBD || In Fedora as '''python3-yumdaemon''' subpackage of yumdaemon
|-
| zc || TBD || TBD || In Fedora as '''python3-zc-buildout''' subpackage of python-zc-buildout
|-
| zmq || TBD || TBD || In Fedora as subpackages '''python3-zmq''' '''python3-zmq-tests''' of python-zmq
|-
| znc || TBD || TBD || In Fedora as '''znc-modpython''' subpackage of znc
|-
| zope || TBD || TBD || In Fedora as '''python3-zope-exceptions''' subpackage of python-zope-exceptions
|-
| zope || TBD || TBD || In Fedora as '''python3-zope-i18nmessageid''' subpackage of python-zope-i18nmessageid
|-
| zope || TBD || TBD || In Fedora as '''python3-zope-interface''' subpackage of python-zope-interface
|-
| zope || TBD || TBD || In Fedora as '''python3-zope-sqlalchemy''' subpackage of python-zope-sqlalchemy
|-
| zope.event || TBD || TBD || In Fedora as '''python3-zope-event''' subpackage of python-zope-event
|-
| zope.fixers || TBD || TBD || In Fedora as '''python3-zope-fixers''' src.rpm
|}


== Python 3 code not yet in Fedora ==
To submit changes or new notes to that app, see the source at https://github.com/fedora-python/portingdb/
{|
! Python Module !! Fedora Python 2 package !! Upstream status of Python 3 !! Fedora Python 3 package
|-
| || mod_wsgi || mod_wsgi version 3.0 and later supports Python 3.1 and later: http://code.google.com/p/modwsgi/wiki/SupportForPython3X http://code.google.com/p/modwsgi/wiki/ChangesInVersion0300 || {{bz|1007002}}
|-
| IPy || python-IPy || [https://github.com/haypo/python-ipy/commit/91e44dfe8e7727f8ee2a3cc3b522d93942750352 0.73 works with Python 3] ||
|-
| PyKDE4  || PyKDE4 (from the kdebindings srpm) || || {{bz|587005}}
|-
| rpm || rpm-python (subpackage of "rpm")|| dmalcolm and pmatilai [http://dmalcolm.livejournal.com/3340.html ported the C extension for librpm to work with both python 2 and 3]; released as [http://www.rpm.org/wiki/Releases/4.8.0 rpm 4.8.0] || '''Needs packaging work''': see {{bz|531543}}
|}
 
== To be categorized ==
{|
! Python Module !! Fedora Python 2 package !! Upstream status of Python 3 !! Fedora Python 3 package
|-
| || gedit || ||
|-
| || gdb || ||
|-
| || luma || Depend on other packages, which have to migrate to py3k ||
|-
| bugzilla || python-bugzilla || ||
|-
| devtools || python-tg-devtools || ||
|-
| genshi || python-genshi || experimental py3k branch announced http://groups.google.com/group/genshi/browse_thread/thread/abe214a973b43c84 ||
|-
| enum || python-enum || ||
|-
| fedora || python-fedora || ||
|-
| migrate || python-migrate || ||
|-
| paste.deploy || python-paste-deploy || ||
|-
| paste.script || python-paste-script || ||
|-
| py || python-py || 1.3.0 has [http://codespeak.net/py/dist/announce/release-1.3.0.html "...improved compatibility with Python3..."] ||
|-
| repoze.tm || python-repoze-tm2 || ||
|-
| repoze.what || python-repoze-what || ||
|-
| repoze.what.plugins.sql || python-repoze-what-plugins-sql || ||
|-
| repoze.what.plugins.pylonshq || python-repoze-what-pylons || ||
|-
| repoze.what.plugins.quickstart || python-repoze-what-quickstart || ||
|-
| repoze.who || python-repoze-who || ||
|-
| repoze.who.plugins.friendlyform || python-repoze-who-friendlyform || ||
|-
| repoze.who.plugins.sa || python-repoze-who-plugins-sa || ||
|-
| repoze.who.plugins.testutil || python-repoze-who-testutil || ||
|-
| routes || python-routes || ||
|-
| simplejson || python-simplejson || All versions of Python 3 include the json module in the standard library ||
|-
| sprox || python-sprox || ||
|-
| tg || TurboGears2 || ||
|-
| tgext.admin || python-tgext-admin || ||
|-
| tgext.crud || python-tgext-crud || ||
|-
| tw || python-toscawidgets || ||
|-
| turbojson || python-turbojson || ||
|-
| turbokid || python-turbokid || ||
|-
| tw.forms || python-tw-forms || ||
|-
| virtualenv || python-virtualenv || A forked version for Python 3 is [http://bitbucket.org/ianb/virtualenv/issue/10/python-3-support available], but I'm not sure how "official" it is. Python 3.3 includes the "venv" module in the standard library (see PEP 405) ||
|-
| weberror || python-weberror || ||
|-
| webflash || python-webflash || ||
|-
| webhelpers || python-webhelpers || ||
|-
| webob || python-webob || WebOb 1.2+ supports Python 3.2+ ||
|-
| webtest || python-webtest || ||
|-
| zope.sqlalchemy || python-zope-sqlalchemy || ||
|}
 
== Python modules that appear to not yet be ready for Python 3 packaging  ==
Please let us know if this information is out-of-date.
 
FIXME: add note about if a python3 version should be packaged
 
{|
! Python Module !! Fedora Python 2 package !! Upstream status of Python 3 !! Fedora Python 3 package
|-
| augeas || python-augeas || dmalcolm has [https://www.redhat.com/archives/augeas-devel/2010-April/msg00002.html experimented with porting this to python 3] ||
|-
| Cheetah || python-cheetah || As of 2010-02-02, upstream site reports that [http://packages.python.org/Cheetah/roadmap.html#cheetah-v3-0 Python 3.xx support will be in Cheetah v3.0, but that it is "still in planning"]||
|-
| cracklib  || cracklib-python || Looking at cracklib-2.8.16, looks like the module needs some work to port (e.g. module initialization), and uses automake so may need work to build multiple times||
|-
| django || Django || http://wiki.python.org/moin/PortingDjangoTo3k - there's an experimental branch in bitbucket, but as of 2010-04-09 it doesn't appear to have "official" releases ||
|-
| krbV || python-krbV || Implemented in C, would need porting (with 2to3c ?)||
|-
| ldap || python-ldap || Porting [http://www.mail-archive.com/python-ldap-dev@lists.sourceforge.net/msg00620.html discussed on upstream mailing list on 2009-09-03] but appears not to be done yet ||
|-
| libvirt || libvirt-python || Porting has not yet started ||
|-
| libxml2 || libxml2-python || Porting doesn't seem to have started ||
|-
| MySQLdb  || MySQL-python || As of 2011-07-25, http://pypi.python.org/pypi/MySQL-python/ said " Python-3.0 will be supported in a future release." ||
|-
| nss  || python-nss  || Looks like we need to port it, and would be non-trivial ||
|-
| paste || python-paste || || In Fedora 15 onwards a '''python3-paste''' subpackage was added to python-paste, but it didn't actually work  (upstream hadn't ported to python3), so this has been blocked as of Fedora 17 onwards
|-
| parted || pyparted || Looks like we need to port it ||
|-
| PIL || python-imaging || As of 2010-01-28, upstream website says [http://www.pythonware.com/products/pil/ "The current free version is PIL 1.1.7. This release supports Python 1.5.2 and newer, including 2.5 and 2.6.  A version of 1.1.7 for 3.X will be released later."] A 2010-02-21 mailing list post suggests that [http://mail.python.org/pipermail/image-sig/2010-February/006124.html the port is stalled]  Replaced in Fedora with python-pillow which has python 3 support. ||
|-
| pylons || python-pylons || As of 2010-04-09, it's [http://wiki.pylonshq.com/display/pylonscommunity/Pylons+Roadmap+to+1.0 on the future roadmap for 1.1]; see also http://pylonshq.com/project/pylonshq/ticket/425 ||
|-
| wx || wxPython || As of 2010-02-03, appears not to be ported yet; see http://stackoverflow.com/questions/720806/wxpython-for-python-3-0 ||
|}
 
== Python 2 modules that are not going to be ported to Python 3  ==
{|
! Python Module !! Fedora Python 2 package !! Notes
|-
| || mod_python || Upstream mod_python has [http://blog.dscpl.com.au/2010/05/modpython-project-soon-to-be-officially.html effectively stopped since February 2007. ..."You also will never see a version of mod_python for Python 3.X as that is going to require a radical rewrite"...] with various suggestions including moving to mod_wsgi
|-
| BeautifulSoup || python-BeautifulSoup || 3.1.0 adds Python 3 support, but reportedly doesn't work as well as 3.0.8 (See http://www.crummy.com/software/BeautifulSoup/3.1-problems.html http://groups.google.com/group/beautifulsoup/browse_thread/thread/f24882cc17a0625e and http://stackoverflow.com/questions/149585/beautifulsoups-python-3-compatibility ).  However, beautifulsoup4 (see above) adds Python 3 support
|-
| dbus || dbus-python || <s>[https://bugzilla.redhat.com/show_bug.cgi?id=538616 rhbz 538616]</s> python 3 requires using gdbus through introspection.
|-
| gtk || pygtk2 || The old C-based bindings are not going to be ported.  Instead, the "Gtk" module can be accessed from pygobject introspection with upstream trying to make it easy to transition from PyGTK
|}
 
[[Category:Python]]

Latest revision as of 21:20, 19 September 2016

A python 3 stack was added to Fedora in Fedora 13, parallel-installable with the "main" Python 2 stack, and it is gradually growing additional RPMs, as more code is ported to Python 3.

Note that /usr/bin/python is still Python 2.

Porting status

The porting status is tracked at http://portingdb-encukou.rhcloud.com/.

To submit changes or new notes to that app, see the source at https://github.com/fedora-python/portingdb/