Skip to content

Python 3 support #17

Closed
Closed

Description

@pekkaklarck

This would be especially handy because Robot Framework itself doesn't yet support Python 3. Most likely we will target Python 3.3 or newer and will at the same time drop support from versions prior to Python/Jython 2.5.

Activity

  1. added this to the milestone on Mar 18, 2014
  2. mkorpela commented on May 7, 2016

    @mkorpela
    Member

    Pabot will not support Python 3 before this is done

    mkorpela/pabot#54

    invalid syntax (robotremoteserver.py, line 103)

  3. molsky commented on Aug 17, 2016

    @molsky

    I have tried to implement Python3 support but 24 acceptance tests are failing with Python3 and I have not yet figured out why. With Python2.7 atests and utests goes with 100% success.

    Changes:
    https://github.com/molsky/PythonRemoteServer/tree/python2-3

    screen shot 2016-08-17 at 11 09 55 2

    screen shot 2016-08-17 at 11 43 46 2

  4. userzimmermann commented on Oct 7, 2016

    @userzimmermann

    Hi @molsky
    Great work :) I took your approach a bit further:
    https://github.com/userzimmermann/PythonRemoteServer/tree/python2-3

    Only 3 failing atests left with python3, but all due to different unicode string display in comparison.
    @pekkaklarck Those well known Expected error 'Hyv\xe4' but got 'Hyvä'. like problems from my earlier robotframework-python3 fork... ;) How did you unify those tests in robotframework 3.0?

    BTW: Is the six dependency ok or better replace with custom definitions?

  5. pekkaklarck commented on Jan 10, 2017

    @pekkaklarck
    MemberAuthor

    The code should now support Python 3. Acceptance tests run successfully with Python 3.3-3.6 both on Linux and Windows and also with PyPy 3 on Linux.

    Tasks still todo:

    • Go through docs. Should update them to mention Python 3 is supported and also that we support PyPy.
    • Update setup.py. Need to add correct classifiers there.
  6. added a commit that references this issue on Jan 10, 2017
  7. self-assigned this
    on Apr 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions