From 273f66b8fc49e3954cfd5a1e76aba0274b2e8568 Mon Sep 17 00:00:00 2001 From: Elod Illes Date: Wed, 19 Feb 2020 11:04:56 +0100 Subject: [PATCH] [stable-only] Cap msgpack periodic job py27 started to fail with: TypeError: __init__() got an unexpected keyword argument 'encoding' This failure comes with the new version of msgpack (1.0.0). Since ceilometer does not use global upper-constraints.txt from requirements repository, msgpack has to be constrained in requirements.txt Change-Id: I3ca76c80b96d49d4d256110c8fca13f9365add0d (cherry picked from commit f63a65acc0b70699e366f2ffe9f449835020e107) (cherry picked from commit 9923f27d24ef91f8600f428546df035214f6ec15) --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index d730da3f47..4e2f85040f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -10,7 +10,7 @@ debtcollector>=1.2.0 # Apache-2.0 jsonpath-rw-ext>=0.1.9 # Apache-2.0 lxml>=2.3 # BSD monotonic -msgpack>=0.4.0 # Apache-2.0 +msgpack>=0.4.0,<1.0.0 # Apache-2.0 oslo.concurrency>=3.5.0 # Apache-2.0 oslo.config>=3.22.0 # Apache-2.0 oslo.i18n>=2.1.0 # Apache-2.0