docker-compose: don't require backports_ssl_match_hostname on >= 3.8

This commit is contained in:
Sandro Jäckel 2021-03-16 16:31:18 +01:00
parent a71af661d3
commit 0246a1d337
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -21,12 +21,12 @@ buildPythonApplication rec {
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];
checkInputs = [ mock pytest nose ]; checkInputs = [ mock pytest nose ];
propagatedBuildInputs = [ propagatedBuildInputs = [
pyyaml backports_ssl_match_hostname colorama dockerpty docker pyyaml colorama dockerpty docker
ipaddress jsonschema requests six texttable websocket_client ipaddress jsonschema requests six texttable websocket_client
docopt cached-property paramiko distro python-dotenv docopt cached-property paramiko distro python-dotenv
] ++ ] ++ lib.optional (pythonOlder "3.7") backports_ssl_match_hostname
lib.optional (pythonOlder "3.4") enum34 ++ ++ lib.optional (pythonOlder "3.4") enum34
lib.optional (pythonOlder "3.2") functools32; ++ lib.optional (pythonOlder "3.2") functools32;
postPatch = '' postPatch = ''
# Remove upper bound on requires, see also # Remove upper bound on requires, see also