From a822f30eb135b31f1e5fb212810f99f5d5adf477 Mon Sep 17 00:00:00 2001
From: Lance Bragstad <lbragstad@gmail.com>
Date: Tue, 24 Nov 2020 04:38:43 +0000
Subject: [PATCH] Bump oslo.policy version to 2.1.0

The secure RBAC work requires the of oslo.policy's scope_types argument,
which was made available in 1.32.0. This commit updates to version 2.1.0
so that we're using something more relevant.

Required oslo.context bump.

Change-Id: I48e8882f629886d1b8abadff6e60aad91d1169c7
---
 lower-constraints.txt | 4 ++--
 requirements.txt      | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/lower-constraints.txt b/lower-constraints.txt
index 561b50b6a9..e9170c1cdb 100644
--- a/lower-constraints.txt
+++ b/lower-constraints.txt
@@ -80,13 +80,13 @@ osc-lib==1.10.0
 oslo.cache==1.29.0
 oslo.concurrency==3.26.0
 oslo.config==5.2.0
-oslo.context==2.20.0
+oslo.context==2.22.0
 oslo.db==8.4.0
 oslo.i18n==3.20.0
 oslo.log==4.3.0
 oslo.messaging==12.4.0
 oslo.middleware==4.0.1
-oslo.policy==1.30.0
+oslo.policy==2.1.0
 oslo.reports==1.18.0
 oslo.serialization==2.28.1
 oslo.service==1.30.0
diff --git a/requirements.txt b/requirements.txt
index bd0c1a47f6..5dd0ec6c12 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -16,13 +16,13 @@ python-neutronclient>=6.7.0 # Apache-2.0
 WebOb>=1.8.2 # MIT
 stevedore>=1.20.0 # Apache-2.0
 oslo.config>=5.2.0 # Apache-2.0
-oslo.context>=2.20.0 # Apache-2.0
+oslo.context>=2.22.0 # Apache-2.0
 oslo.db[mysql]>=8.4.0 # Apache-2.0
 oslo.i18n>=3.20.0 # Apache-2.0
 oslo.log>=4.3.0 # Apache-2.0
 oslo.messaging>=12.4.0 # Apache-2.0
 oslo.middleware>=4.0.1 # Apache-2.0
-oslo.policy>=1.30.0 # Apache-2.0
+oslo.policy>=2.1.0 # Apache-2.0
 oslo.reports>=1.18.0 # Apache-2.0
 oslo.serialization>=2.28.1 # Apache-2.0
 oslo.upgradecheck>=0.1.0 # Apache-2.0