python3 optional deps
Jakub Bogusz
qboosh at pld-linux.org
Sun May 8 21:52:07 CEST 2016
On Fri, May 06, 2016 at 09:11:26AM +0200, Jacek Konieczny wrote:
> On 2016-05-04 11:11, Elan Ruusamäe wrote:
> >
> >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:
>
> They will end up in the egg, that is the design. Those should not be
> converted to rpm deps, though. And for python3 package these deps are
> useless even in the egg-info.
The other problem IIRC is that even python3egg dependencies with
python_version conditions are resolved using system python2 version
(because python dependency generator is run with python2).
--
Jakub Bogusz http://qboosh.pl/
More information about the pld-devel-en
mailing list