Skip to content

Commit

Permalink
requirements.txt: Move the six dependency into the general requirements
Browse files Browse the repository at this point in the history
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 <[email protected]>
(cherry picked from commit d49ea98)
  • Loading branch information
fghaas authored and guits committed Mar 1, 2021
1 parent 6c61240 commit 21e2675
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# These are Python requirements needed to run ceph-ansible master
ansible>=2.9,<2.10,!=2.9.10
netaddr
six
1 change: 0 additions & 1 deletion tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# These are Python requirements needed to run the functional tests
six==1.10.0
testinfra>=3,<4
pytest-xdist==1.28.0
pytest>=4.6,<5.0
Expand Down

0 comments on commit 21e2675

Please sign in to comment.