-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathrequirements-python.txt
49 lines (38 loc) · 1.73 KB
/
requirements-python.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
ansible>=6,<7
# some tasks call aws command on localhost
# make sure this is BEFORE boto3 and boto
awscli
# needed for inventory and aws modules
boto3
# required by ansible ec2 module
boto
# needed for python `ipaddr` filter
ipaddress
netaddr
# needed for managing databases (e.g. creating project db in infra step)
# mysql
# We are using a fork of PyMySQL that has SSL enabled by default
# Ansible ansible_util does not allow setting ssl parameter without setting ca_cert at the same time
# This could be workarounded by using config_file parameter but this only works when implementation
# uses real mysql client and not PyMySQL
# PyMySQL implementation also loads the config file but it does not support setting ssl parameter
# while it makes inpossible to enable ssl without providing certificate, implementation supports such scenario
# in later code. This is why we are using forked version of PyMySQL that enables ssl by default
# when it's not explicitly disabled. This should be always safe, because if ssl is not enabled on server
# implementation will fallback to non-ssl connection.
git+https://github.com/mageops/PyMySQL.git@dev-ssl-by-default#egg=PyMySQL
# needed for running docker (e.g. building aws lambda artifacts)
docker-py
# required for awscli
PyYAML<5.3
# required for `cs.ansible-plugins` role
jq
# required if host running ansible have selinux installed
selinux
# distro 1.7.0 breaks fact discovery in ansible for some nodes
# distro introduced breaking change that changed package
# from using single file to directory module, this isn't compatible with
# import used by our ansible version
# We are pinning this to previous version until we upgrade to never ansible
distro<1.7.0
# Dummy comment to force reinstallation of dependencies _1