[openstack-dev] [requirements][packaging] Normalizing requirements file

Swapnil Kulkarni (coolsvap) me at coolsvap.net
Wed Jun 22 05:13:16 UTC 2016


On Wed, Jun 22, 2016 at 10:15 AM, Haïkel <hguemar at fedoraproject.org> wrote:
> Hi,
>
> as a packager, I spend a lot of time to scrutinize the requirements
> repo, and I find it easier to read if specifiers are ordered.
> So in a quick glance, you can check which is the min version required
> and max one without trying to search them among other specifiers.
> I scripted a basic linter to do that (which also normalize comments to
> PEP8 standards)
>
> Initial review is here:
> https://review.openstack.org/#/c/332623/
>
> script is available here;
> https://gist.github.com/hguemar/7a17bf93f6c8bd8ae5ec34bf9ab311a1
>
> Your thoughts?
>
> Regards,
> H.
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Haikel,

This looks good and the global-requirements.txt now looks much cleaner.

Can you add the linter to the tools directory in requirements. We can
use it in our gates.

Swapnil



More information about the OpenStack-dev mailing list