From 0948da6f05d12e2caf48dd70cc330cbd13311e57 Mon Sep 17 00:00:00 2001 From: Matt Riedemann Date: Mon, 17 Jul 2017 16:14:19 -0400 Subject: [PATCH] Blacklist oslo.serialization 2.19.1 Change If9e8dd5cc2634168910d5f9f8d9302aeefa16097 went into 2.19.1 which makes jsonutils.to_primitive() raise a ValueError where before it would simply ignore an object it didn't know how to convert to a primitive. This caused failures in Nova tests and therefore pointed out how it's really an API change in how to_primitive() works. A revert in change Ibbfde6207fc8c066155758c7c1aa1521b95d4db1 will be released and then a UserWarning will be put in place for this situation for a release before it goes back to raising ValueError, so at least there is some time to let people handle the warning. Change-Id: I8cc26b612bf7b248dce625255266dce4401468a3 Related-Bug: #1593641 --- global-requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/global-requirements.txt b/global-requirements.txt index 5bd20bb70d..4dcf55f769 100644 --- a/global-requirements.txt +++ b/global-requirements.txt @@ -143,7 +143,8 @@ oslo.policy>=1.23.0 # Apache-2.0 oslo.privsep>=1.9.0,!=1.17.0 # Apache-2.0 oslo.reports>=0.6.0 # Apache-2.0 oslo.rootwrap>=5.0.0 # Apache-2.0 -oslo.serialization>=1.10.0 # Apache-2.0 +# NOTE(mriedem): oslo.serialization 2.19.1 is blocked for bug 1593641 +oslo.serialization>=1.10.0,!=2.19.1 # Apache-2.0 oslo.service>=1.10.0 # Apache-2.0 oslo.utils>=3.20.0 # Apache-2.0 oslo.vmware>=2.17.0 # Apache-2.0