summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorDaniel Bengtsson <dbengt@redhat.com>2021-03-22 10:52:10 +0100
committerDaniel Bengtsson <dbengt@redhat.com>2021-04-12 13:42:42 +0200
commit3a0f7e456d3366a96b4b3e6c9f7d5acc8600f1a0 (patch)
tree88ee29d45a089f6881758f39cd13254c045253a5 /tox.ini
parent672919216bdf4209a2976e86f6e58850ffc9478f (diff)
downloadoslo-middleware-3a0f7e456d3366a96b4b3e6c9f7d5acc8600f1a0.tar.gz
Fix requirements issues
This patch is the merge of 2 current fixes that need to be solved in the same time. Indeed each issue lock our gates independently. Dropping lower constraints testing We facing errors related to the new pip resolver, this topic was discussed on the ML and QA team proposed to to test lower-constraints [1]. I propose to drop this test because the complexity and recurring pain needed to maintain that now exceeds the benefits provided by this mechanismes. [1] http://lists.openstack.org/pipermail/openstack-discuss/2020-December/019390.html Move flake8 as a pre-commit local target. The goal here is to avoid conflicts between flake8 and hacking version each 2 days. Inspired from nova's approach[1]. The flake8 version to install will be determined by hacking and requirements[2] will stay aligned instead of relying on different versions. [1] https://opendev.org/openstack/nova/src/branch/master/.pre-commit-config.yaml#L26-L35 [2] https://opendev.org/openstack/hacking/src/branch/master/requirements.txt#L1 Co-authored-by: Hervé Beraud <hberaud@redhat.com> (cherry picked from commit 5c806d492b22f25b79e6598b2fe3847ba6963220) Change-Id: Ic94f064f073755bee09495ced4f7627484bf8337
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini6
1 files changed, 0 insertions, 6 deletions
diff --git a/tox.ini b/tox.ini
index 7f2d756..fc026a6 100644
--- a/tox.ini
+++ b/tox.ini
@@ -49,9 +49,3 @@ deps = -r{toxinidir}/doc/requirements.txt
commands =
rm -rf releasenotes/build
sphinx-build -a -E -W -d releasenotes/build/doctrees --keep-going -b html releasenotes/source releasenotes/build/html
-
-[testenv:lower-constraints]
-deps =
- -c{toxinidir}/lower-constraints.txt
- -r{toxinidir}/test-requirements.txt
- -r{toxinidir}/requirements.txt