Python 3 dependency list support

Registered by Julien Danjou on 2013-11-15

The openstack/requirements project list the dependencies needed for the OpenStack project. However, many requirement listed there are not Python 3 compatible.

The project needs to be updated to support having different lists of requirements for Python 2 and Python 3.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
Julien Danjou
Direction:
Needs approval
Assignee:
Julien Danjou
Definition:
Drafting
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Julien Danjou on 2014-02-10
Completed by
Julien Danjou on 2014-02-10

Related branches

Sprints

Whiteboard

There's mainly 2 ways of doing that:

1. Maintain two requirements.txt, one of Python 2 and one for Python 3, updating them at will.
Pros:
- We can update only one side and limit versions of dependencies when needed
- Do not have to change anything on tox nor setup.py for existing projects
Cons:
- Redundancy

2. Maintain 3 requirements.txt, one common, and one specific for each version of Python (as of today, it seems the Python 3 specific would be empty btw).
Pros:
- No redundancy, clean
Cons:
- Might want to do more complicated stuff to not break Python 2 only projects that expects only one requirements.txt file

In both case the final goal of the game will be to have only one file, obviously. :)

-- jd 15/11/2013

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.