[openstack-dev] [release][requirements][packaging][summit] input needed on summit discussion about global requirements
Jeremy Stanley
fungi at yuggoth.org
Fri May 6 17:23:26 UTC 2016
On 2016-05-06 10:25:41 -0400 (-0400), Doug Hellmann wrote:
> Excerpts from Tony Breeds's message of 2016-05-06 09:53:11 +1000:
[...]
> > I think some of these pro-active things will be key. A quick
> > check shows we have nearly 30 items in g-r that don't seem to be
> > used by anything. So there is some low hanging fruit there.
> > Search for overlapping requirements and then working with the
> > impacted teams is a big job but again a very worthwhile goal.
>
> Someone had a tool that looked at second-order dependencies, I
> think. I can't find the reference in my notes, but maybe someone
> else has it handy?
[...]
I'm not sure entirely what you're looking for. I added
http://git.openstack.org/cgit/openstack/requirements/tree/tools/cruft.sh
to try to find things in global requirements which no project
declares as a requirement. Richard Jones wrote
https://pypi.python.org/pypi/pip_missing_reqs to spot modules
projects are importing directly while failing to declare a
requirement on them (a fragile situation if one of your other
dependencies adjusts its own dependencies and drops whatever
provided that module). We don't usually list transitive-only
dependencies in global requirements unless we need to pin/skip
versions of them in some way, and instead rely on the constraints
list to represent the complete transitive dependency set.
--
Jeremy Stanley
More information about the OpenStack-dev
mailing list