OpenStack middleware library
Go to file
Daniel Bengtsson 5c806d492b 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>
Change-Id: I2f41e05df1cc978821bf7cb6d9a95bf543c7fba3
2021-03-25 11:53:12 +01:00
doc Adding pre-commit 2020-09-22 11:17:45 +02:00
oslo [fix-compat] More definitions for oslo.middleware 2015-12-12 19:18:33 +00:00
oslo_middleware Stop to use the __future__ module. 2020-06-02 20:39:44 +02:00
releasenotes Update master for stable/victoria 2020-09-11 20:59:10 +00:00
.coveragerc Fix coverage configuration and execution 2015-10-05 17:23:48 -04:00
.gitignore Fix invalid escape sequence warnings 2019-04-11 06:10:18 -05:00
.gitreview OpenDev Migration Patch 2019-04-19 19:48:39 +00:00
.mailmap exported from oslo-incubator by graduate.sh 2014-06-24 16:49:39 -04:00
.pre-commit-config.yaml Fix requirements issues 2021-03-25 11:53:12 +01:00
.stestr.conf Switch to stestr 2018-07-04 08:20:45 +07:00
.zuul.yaml Fix requirements issues 2021-03-25 11:53:12 +01:00
CONTRIBUTING.rst Align contributing doc with oslo's policy 2020-05-04 18:26:15 +02:00
HACKING.rst Update URLs in documents according to document migration 2017-07-12 23:06:02 +08:00
LICENSE exported from oslo-incubator by graduate.sh 2014-06-24 16:49:39 -04:00
README.rst Replace git.openstack.org URLs with opendev.org URLs 2019-04-30 13:45:14 +08:00
requirements.txt Drop use of six 2020-05-06 07:12:09 -05:00
setup.cfg Remove translation sections from setup.cfg 2020-05-15 11:16:23 +08:00
setup.py remove outdated header 2020-02-10 18:35:35 +01:00
test-requirements.txt Merge "Adding pre-commit" 2020-10-05 16:54:18 +00:00
tox.ini Fix requirements issues 2021-03-25 11:53:12 +01:00

README.rst

oslo.middleware

Latest Version

Downloads

Oslo middleware library includes components that can be injected into wsgi pipelines to intercept request/response flows. The base class can be enhanced with functionality like add/delete/modification of http headers and support for limiting size/connection etc.