[stable][requirements][neutron] Capping pip in stable branches or not
Luigi Toscano
ltoscano at redhat.com
Sun Dec 13 13:39:58 UTC 2020
On Saturday, 12 December 2020 00:12:36 CET Jeremy Stanley wrote:
> On 2020-12-11 20:38:30 +0000 (+0000), Sorin Sbarnea wrote:
> [...]
>
> > Regarding decoupling linting from test-requirements: yes! This was
> > already done by some when conflicts appeared. For old branches I
> > personally do not care much even if maintainers decide to disable
> > linting, their main benefit is on main branches.
>
> [...]
>
> To be honest, if I had my way, test-requirements.txt files would die
> in a fire. Sure it's a little more work to be specific about the
> individual requirements for each of your testenvs in tox.ini, but
> the payoff is that people aren't needlessly installing bandit when
> they run flake8 (for example). The thing we got into the PTI about
> using a separate doc/requirements.txt is a nice compromise in that
> direction, at least.
Wouldn't this mean tracking requirements into two different kind of places:the
main requirements.txt file, which is still going to be needed even for tests,
and the tox environment definitions?
--
Luigi
More information about the openstack-discuss
mailing list