Skip to content

It's not compatible with Python 2.6 #21

@lsanzd

Description

@lsanzd

robotframework-pageobjects is not compatible with Python 2.6, while RobotFramework it is. So, it's not possible to use them together in this version. (It would be awesome!).

Ghost:/robot/src# python --version
Python 2.6.6

Ghost:/robot/src# python -c "import robot"    # OK
Ghost:/robot/src# python -c "import robotpageobjects"    # IT FAILS!
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/share/stuff/core/lib/python2.6/site-packages/robotpageobjects/__init__.py", line 1, in <module>
    from .base import Override, robot_alias, not_keyword
  File "/usr/share/stuff/core/lib/python2.6/site-packages/robotpageobjects/base.py", line 15, in <module>
    from . import abstractedlogger
  File "/usr/share/stuff/core/lib/python2.6/site-packages/robotpageobjects/abstractedlogger.py", line 103
    inv_translation_map = {v: k for k, v in translation_map.items()}
                                  ^
SyntaxError: invalid syntax
Ghost:/robot/src#

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions