]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
requirements.txt: Move the six dependency into the general requirements
authorFlorian Haas <florian@citynetwork.eu>
Fri, 12 Feb 2021 08:29:00 +0000 (09:29 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 3 Mar 2021 12:22:29 +0000 (13:22 +0100)
commit6fe14c6d01ab64b4b480678a6b848444e820c017
treeab9c0b0bc3f7566dd2189d3c877f6ab4039e43fa
parentc3304c213b7c7daf425d936b4f209e6038552992
requirements.txt: Move the six dependency into the general requirements

config_template.py depends on six, which isn't listed in the default
requirements.txt. This previously frequently wasn't a problem, because
six used to be a standard package being installed into a venv, and
lots of other projects depended on it.

It also does get installed for unit and integration tests via
tests/requirements.txt, so any broken dependency on six wouldn't be
detected by tox runs.

However, as other projects and distributions have phased out Python
2.7 support the dependency on six becomes less common. Thus, as long
as ceph-ansible does require it for config_template.py, add it to the
base requirements.

Signed-off-by: Florian Haas <florian@citynetwork.eu>
(cherry picked from commit d49ea9818b162a4b8fc0f5099f45acff4d22fe14)
requirements.txt
tests/requirements.txt