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

NOTE(stephenfin): This change also includes change
I996bcc6952a80aaccf50bb8ade579ebd960f4292 ("Move flake8 as a pre-commit
local target.") which is also necessary to get requirements tests
passing.

Change-Id: I3eafc92ba7c7305b1a73d3f96c427ed12c96dbf7
(cherry picked from commit a962943bda)
This commit is contained in:
Hervé Beraud 2020-12-18 15:13:08 +01:00 committed by Stephen Finucane
parent 9f95a6e19b
commit 92e8272777
2 changed files with 7 additions and 4 deletions

View File

@ -9,7 +9,7 @@ default_language_version:
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: ebc15addedad713c86ef18ae9632c88e187dd0af # v3.1.0
rev: 9136088a246768144165fcc3ecc3d31bb686920a # v3.3.0
hooks:
- id: trailing-whitespace
# Replaces or checks mixed line ending
@ -27,9 +27,13 @@ repos:
- id: debug-statements
- id: check-yaml
files: .*\.(yaml|yml)$
- repo: https://gitlab.com/pycqa/flake8
rev: 181bb46098dddf7e2d45319ea654b4b4d58c2840 # 3.8.3
- repo: local
hooks:
- id: flake8
name: flake8
additional_dependencies:
- hacking>=3.0.1,<3.1.0
language: python
entry: flake8
files: '^.*\.py$'
exclude: '^(doc|releasenotes|tools)/.*$'

View File

@ -5,4 +5,3 @@
- check-requirements
- release-notes-jobs-python3
- periodic-stable-jobs
- openstack-lower-constraints-jobs