Ironic-specs: tox -edocs doesn't work with Python3

Bug #1669466 reported by Lucas Alvares Gomes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Fix Released
Low
Unassigned
Ironic Inspector
Fix Released
Low
milan k

Bug Description

The tox -edocs command from the openstack/ironic-specs project does not work with Python 3. This is because the command depends on a a library called "feedformatter" which only supports Python 2 for now [0]

Logs:

Collecting feedformatter (from yasfb>=0.5.1->-r /home/lucas/Projects/ironic-specs/requirements.txt (line 6))
  Using cached feedformatter-0.4.tar.bz2
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-eef3mor0/feedformatter/setup.py", line 3, in <module>
        from feedformatter import __version__ as version
      File "/tmp/pip-build-eef3mor0/feedformatter/feedformatter.py", line 77
        (("pubDate", "pubdate", "date", "published", "updated"), "pubDate", lambda(x): _format_datetime("rss2",x)),
                                                                                  ^
    SyntaxError: invalid syntax

Full logs: http://paste.openstack.org/show/601151/

[0] https://pypi.python.org/pypi/feedformatter/

Changed in ironic:
importance: Undecided → Low
Changed in ironic:
assignee: nobody → Lucas Alvares Gomes (lucasagomes)
status: New → In Progress
Changed in ironic:
assignee: Lucas Alvares Gomes (lucasagomes) → nobody
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic-specs (master)

Reviewed: https://review.openstack.org/440604
Committed: https://git.openstack.org/cgit/openstack/ironic-specs/commit/?id=9666454132d66fdcf916b8c578fae138a6b2aefe
Submitter: Jenkins
Branch: master

commit 9666454132d66fdcf916b8c578fae138a6b2aefe
Author: Lucas Alvares Gomes <email address hidden>
Date: Thu Mar 2 14:48:08 2017 +0000

    Pin the python version for tox -edocs

    The tox -edocs command do not work with Python3 becauseethe command
    depends on a library called "feedformatter" which only supports Python
    2 for now.

    Partial-Bug: #1669466
    Change-Id: Ie087df8843fee228325e88f20b248d96a88862a1

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic-inspector-specs (master)

Fix proposed to branch: master
Review: https://review.openstack.org/441141

Changed in ironic-inspector:
assignee: nobody → milan k (vetrisko)
status: New → In Progress
Vladyslav Drok (vdrok)
Changed in ironic-inspector:
importance: Undecided → Low
Vladyslav Drok (vdrok)
Changed in ironic:
status: In Progress → Triaged
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic-inspector-specs (master)

Reviewed: https://review.openstack.org/441141
Committed: https://git.openstack.org/cgit/openstack/ironic-inspector-specs/commit/?id=2c937330a86d8f29dcd2723de00d6c6f79aea9db
Submitter: Jenkins
Branch: master

commit 2c937330a86d8f29dcd2723de00d6c6f79aea9db
Author: dparalen <email address hidden>
Date: Fri Mar 3 15:04:34 2017 +0100

    tox -edocs doesn't work with Python3

    Implementing the same pinning of python version as in the ironic specs
    patch #440604:

    The tox -edocs command does not work with Python3 because the command
    depends on a library called "feedformatter" which only supports Python
    2 for now.

    Change-Id: I703b4a3a4df8c3ceb23adb09632ae5171e6f997e
    Closes-Bug: 1669466

Changed in ironic-inspector:
status: In Progress → Fix Released
Dmitry Tantsur (divius)
Changed in ironic:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.