[release-announce] monasca-common 3.3.0 (wallaby)

no-reply at openstack.org no-reply at openstack.org
Fri Mar 5 10:13:09 UTC 2021


We are psyched to announce the release of:

monasca-common 3.3.0: Monasca common python modules

This release is part of the wallaby release series.

The source is available from:

    https://opendev.org/openstack/monasca-common

Download the package from:

    https://tarballs.openstack.org/monasca-common/

Please report issues through:

    https://bugs.launchpad.net/monasca/+bugs

For more details, please see below.

3.3.0
^^^^^


Upgrade Notes
*************

* The default value of "[oslo_policy] policy_file" config option has
  been changed from "policy.json" to "policy.yaml". Operators who are
  utilizing customized or previously generated static policy JSON
  files (which are not needed by default), should generate new policy
  files or convert them in YAML format. Use the oslopolicy-convert-
  json-to-yaml (https://docs.openstack.org/oslo.policy/latest/cli
  /oslopolicy-convert-json-to-yaml.html) tool to convert a JSON to
  YAML formatted policy file in backward compatible way.


Deprecation Notes
*****************

* Use of JSON policy files was deprecated by the "oslo.policy"
  library during the Victoria development cycle. As a result, this
  deprecation is being noted in the Wallaby cycle with an anticipated
  future removal of support by "oslo.policy". As such operators will
  need to convert to YAML policy files. Please see the upgrade notes
  for details on migration of any custom policy files.

Changes in monasca-common 3.2.0..3.3.0
--------------------------------------

9aa47af Fix zuul publish docker image job
ccae320 Use C compiler to build cryptography
f59a2f2 Bump librdkafka to 1.6.0
c491b34 [goal] Deprecate the JSON formatted policy file
99f6cf2 Fix zuul publish docker image job
6ffab58 Remove six
429f515 Add py38 in setup metadata
fd7c3bf bump py37 to py38 in tox.ini
e4861ac Add Python3 wallaby unit tests
e8a953b [goal] Migrate testing to ubuntu focal


Diffstat (except docs and test files)
-------------------------------------

.zuul.yaml                                         |  2 +-
lower-constraints.txt                              | 25 ++++---
monasca_common/kafka/producer.py                   |  3 +-
monasca_common/kafka_lib/codec.py                  |  4 +-
monasca_common/kafka_lib/conn.py                   |  4 +-
monasca_common/kafka_lib/consumer/kafka.py         | 14 ++--
monasca_common/kafka_lib/consumer/simple.py        |  4 +-
monasca_common/kafka_lib/partitioner/hashed.py     |  4 +-
monasca_common/kafka_lib/producer/base.py          |  8 +--
monasca_common/kafka_lib/producer/simple.py        |  7 +-
monasca_common/kafka_lib/protocol.py               |  6 +-
monasca_common/kafka_lib/util.py                   | 10 ++-
.../monasca_query_language/aql_parser.py           |  4 +-
monasca_common/policy/policy_engine.py             |  8 +++
monasca_common/rest/utils.py                       |  4 +-
monasca_common/validation/metrics.py               | 20 ++----
playbooks/publish.yml                              |  2 +-
...son-formatted-policy-file-dca87c0913f20f09.yaml | 20 ++++++
requirements.txt                                   | 11 ++-
setup.cfg                                          |  1 +
test-requirements.txt                              |  2 +-
tox.ini                                            |  6 +-
26 files changed, 125 insertions(+), 158 deletions(-)


Requirements updates
--------------------

diff --git a/requirements.txt b/requirements.txt
index f36b75f..fdc60ed 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -4,5 +4,4 @@
-six>=1.10.0 # MIT
-kazoo>=2.2 # Apache-2.0
-PyMySQL>=0.7.6 # MIT License
-oslo.config>=5.2.0 # Apache-2.0
-oslo.policy>=1.30.0 # Apache-2.0
+kazoo>=2.8.0 # Apache-2.0
+PyMySQL>=0.8.0 # MIT License
+oslo.config>=6.8.0 # Apache-2.0
+oslo.policy>=3.6.0 # Apache-2.0
@@ -12 +11 @@ simplejson>=3.13.2 # MIT
-confluent-kafka>=0.11.4 # Apache-2.0
+confluent-kafka>=1.3.0 # Apache-2.0
diff --git a/test-requirements.txt b/test-requirements.txt
index 435462a..2940b86 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -11 +11 @@ httplib2>=0.9.1 # MIT
-oslo.context>=2.19.2 # Apache-2.0
+oslo.context>=2.22.0 # Apache-2.0






More information about the Release-announce mailing list