[requirements][oslo] Explicit requirement to setuptools.

Matthew Thode mthode at mthode.org
Thu Oct 15 13:39:15 UTC 2020


On 20-10-15 12:56:34, Jeremy Stanley wrote:
> On 2020-10-15 13:22:36 +0200 (+0200), Thomas Goirand wrote:
> [...]
> > IMO, this is a problem in downstream distributions, not in
> > OpenStack (unless this influences pip3).
> > 
> > In Debian, I did hard-wire an explicit build-dependency on
> > python3-setuptools on each and every package. I don't understand
> > why you haven't done the same thing.
> [...]
> 
> And even this isn't completely necessary... it's entirely possible
> for projects to only use PBR and setuptools for creating packages,
> but use other Python stdlib methods (e.g., importlib in Python 3.8)
> to access version information and related package metadata during
> runtime.
> -- 
> Jeremy Stanley

For a large majority of packages, setuptools is required because they
have entry-points.  This mostly includes all the clients, but also hits
some oslo packages as well.

-- 
Matthew Thode
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20201015/6312a674/attachment.sig>


More information about the openstack-discuss mailing list