python3 optional deps

Elan Ruusamäe glen at pld-linux.org
Wed May 4 11:11:07 CEST 2016


can someone check (and fix?) why those optional deps:
https://github.com/docker/docker-py/blob/1.8.1/setup.py#L14-L17


	

	extras_require = {

	':python_version < "3.5"': 'backports.ssl_match_hostname >= 3.5',

	':python_version < "3.3"': 'ipaddress >= 1.0.16',

	}



end up in python3 egg and therefore rpm deps:

 1. error:[python-docker.spec
    <http://git.pld-linux.org/gitweb.cgi?p=packages/python-docker.git;f=python-docker.spec;h=HEAD;a=shortlog>]
    python3-docker-1.8.1-1.noarch: req
    python3egg(backports.ssl-match-hostname) >= 3.5 not found
 2. error:[python-docker.spec
    <http://git.pld-linux.org/gitweb.cgi?p=packages/python-docker.git;f=python-docker.spec;h=HEAD;a=shortlog>]
    python3-docker-1.8.1-1.noarch: req python3egg(ipaddress) >= 1.0.16
    not found


spec itself is here: 
https://github.com/pld-linux/python-docker/blob/auto/th/python-docker-1.8.1-1/python-docker.spec




-- 
glen



More information about the pld-devel-en mailing list