kdevelop-python for Python 3: first stable version (1.6.0) released!

Yesterday, Python 3.4 was finally released, so I’m now happy to announce the first stable release of kdevelop-python which supports Python 3! See below for the tarballs.

As in the Python 2 series, PyQt continues to be one of the best supported frameworks.
Obsolete,  please use 1.6.1-py3 (see below) — 1.6.0 didn’t build on some systems
kdev-python version 1.6.0-py3

kdev-python version 1.6.1-py3
SHA256: 26b1fa25e8f24f1e0b801ece02b283a750e77543e6df1e571dd52b36778859a5

The kdev-python 1.6-py3 series is compatible with KDevelop 4.6 (kdevplatform 1.6) and is suitable for working with Python 3.x source code.
If you’re only interested in using (as opposed to packaging or developing) kdev-python, you should consider installing kdev-python from your distribution’s package manager instead of downloading the source code. 
The python 3 and python 2 versions cannot be installed at the same time currently!

There’s not that much more to say than what was already said in the beta announcement, so I will just post some screenshots of what continues to work in the Python 3 version:

Code completion is powerful as ever and tries very hard to only make suggestions which are useful in the current context.
Code tooltips are still there, too.

As always, please report any bugs you might find to the bug tracker. Happy hacking!

Categories: Everything

Tags: , , , , ,

7 replies

  1. This is awesome!! Great, thank you! 🙂

  2. How can I force your plugin to use python3 in Ubuntu where python2.7 is still default? I tried with a script aliasing python to python3… didnt work 8(
    Please excuse if this and the previous are RTFM q's (could find the M) is there a python shell window. happy using konsole, just wondered if you had implemented something 'better'

    • You have to install the python 3 version of the plugin — it's a separate package.

      There's no built-in python shell, somehow I don't see the point of it; you can simply start ipython in the terminal emulator.

    • Thank you. Unfortunately all py3 branches seem to have the problem with python 3.4.x 8( Fantastic plugin all the same 8) As a n00b it is most helpful.

    • Current python3 and also 1.7-py3 should not have that problem. I'll try to make a fix release for 1.6.

  3. … still trying to compile 8) Ubuntu does not have a py3 version yet…
    Latest commit sees the 3.4 dep. problem gone.
    With ubuntu 14.10 (qt5) I get the following error:
    Make Error: The following variables are used in this project, but they are set to NOTFOUND.
    Please set them or make sure they are set and tested correctly in the CMake files:

    With: cmake -DCMAKE_INSTALL_PREFIX=/usr -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4 -DQT_INCLUDE_DIR=/usr/include/qt4 …
    I get:
    CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
    Could NOT find PythonLibs (missing: PYTHON_LIBRARIES) (Required is at least
    version "3.4")
    Now not sure which pythonlibs… have python3-qt{3,4} and the python3 dev packages…
    Sorry for the trivialities

    • Did you try with the tarball linked above? It unfortunately does not work with Python 3.4.1 because the cmake file is broken (what you see there). You can use the 1.6-py3 branch of git://anongit.kde.org/kdev-python.

Leave a Reply

Your email address will not be published. Required fields are marked *