We are excited to announce the release of: cloudkitty 13.0.0: Rating as a Service component for OpenStack This release is part of the victoria release series. The source is available from: https://opendev.org/openstack/cloudkitty Download the package from: https://pypi.org/project/cloudkitty Please report issues through: https://storyboard.openstack.org/#!/project/openstack/cloudkitty For more details, please see below. Changes in cloudkitty 12.0.0..13.0.0 ------------------------------------ 19f88a2 Update sample configuration and policy files a956c44 Update TOX_CONSTRAINTS_FILE for stable/victoria 0060591 Update .gitreview for stable/victoria 2869666 bump py37 to py38 in tox.ini 1cccdb2 Bump hacking min version to 3.0.1 cff987e Replace assertItemsEqual with assertCountEqual 7864529 Make Gnocchi connection pool configurable 8962a9a Add a Monasca fetcher 89dfb91 Fix empty metadata exception in Prometheus collector 1eb8ecf Add quantity mutation to Prometheus collector cbcdaca Switch to newer openstackdocstheme and reno versions 107e2d6 Add Python3 victoria unit tests b776aaf Add py38 package metadata 35afc4b Adjust hacking tests to fix py38 support b7abb9b Replace tz.UTC with dateutil.tz.tzutc() b014dbe Update hacking for Python3 3668a76 Stop to use the __future__ module. 18a47cb Use unittest.mock instead of third party mock e8b7b3f Update master for stable/ussuri 3dccfc7 Fix docs build error due to duplicate references 1449d76 [devstack] Collector Variable d3d2481 Add i18n support for error message Diffstat (except docs and test files) ------------------------------------- .gitreview | 1 + .zuul.yaml | 2 +- cloudkitty/cli/writer.py | 1 - cloudkitty/collector/gnocchi.py | 12 +++- cloudkitty/collector/monasca.py | 45 +------------- cloudkitty/collector/prometheus.py | 3 +- cloudkitty/common/custom_session.py | 32 ++++++++++ cloudkitty/common/monasca_client.py | 61 +++++++++++++++++++ ...ac2217dcbd9_added_support_for_meta_collector.py | 4 +- ...385e33fef139_added_priority_to_modules_state.py | 4 +- .../versions/464e951dc3b8_initial_migration.py | 4 +- cloudkitty/fetcher/gnocchi.py | 13 +++- cloudkitty/fetcher/monasca.py | 71 ++++++++++++++++++++++ cloudkitty/hacking/checks.py | 37 +++++------ cloudkitty/orchestrator.py | 8 +-- cloudkitty/rating/hash/db/api.py | 42 ++++++++----- ...7df_rename_mapping_table_to_hashmap_mappings.py | 2 +- .../versions/3dd7e13527f3_initial_migration.py | 4 +- .../4da82e1c11c8_add_per_tenant_hashmap_support.py | 4 +- .../4fa888fd7eda_added_threshold_support.py | 4 +- .../versions/54cc17accf2c_fixed_constraint_name.py | 4 +- ...91fd_update_tenant_id_type_from_uuid_to_text.py | 4 +- ...88a06b1cfce_clean_hashmap_fields_constraints.py | 4 +- .../f8c799db4aa0_fix_unnamed_constraints.py | 8 +-- cloudkitty/rating/pyscripts/db/api.py | 8 ++- .../versions/4f9efa4601c0_initial_migration.py | 4 +- .../75c205f6f1a2_move_from_sha1_to_sha512.py | 4 +- .../versions/17fd1b237aa3_initial_migration.py | 4 +- .../versions/307430ab38bc_improve_qty_precision.py | 4 +- .../792b438b663_added_tenant_informations.py | 4 +- .../versions/c703a1bad612_improve_qty_digit.py | 4 +- cloudkitty/utils/json.py | 1 - cloudkitty/utils/tz.py | 13 ++-- contrib/ci/csv_writer.py | 7 +-- lower-constraints.txt | 8 +-- ...ections-pool-configurable-52c9f6617466ea30.yaml | 8 +++ .../notes/monasca-fetcher-2ea866f873ab5336.yaml | 7 +++ ...heus-collector-empty-meta-12402d8f0254c011.yaml | 5 ++ ...ometheus-collector-mutate-8da4748b4d1f0b59.yaml | 4 ++ ...ove-dateutil-tz-utc-usage-1350c00be3fadde7.yaml | 5 ++ releasenotes/source/conf.py | 13 ++-- releasenotes/source/index.rst | 1 + releasenotes/source/ussuri.rst | 6 ++ requirements.txt | 1 + setup.cfg | 2 + test-requirements.txt | 9 ++- tox.ini | 36 ++++++++--- 84 files changed, 578 insertions(+), 279 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index f103346..ca8623a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -25,0 +26 @@ oslo.upgradecheck>=0.1.1 # Apache-2.0 +python-dateutil>=2.5.3 # BSD diff --git a/test-requirements.txt b/test-requirements.txt index 74469c0..e790878 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -6 +6 @@ -hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0 +hacking>=3.0.1,<3.1.0 # Apache-2.0 @@ -14,3 +14,2 @@ stestr>=2.0.0 # Apache-2.0 -mock>=1.2 # BSD -sphinx>=1.8.0,!=2.1.0 # BSD -openstackdocstheme>=1.30.0 # Apache-2.0 +sphinx>=2.0.0,!=2.1.0 # BSD +openstackdocstheme>=2.2.1 # Apache-2.0 @@ -20 +19 @@ sphinxcontrib-pecanwsme>=0.8 # Apache-2.0 -reno>=1.8.0 # Apache-2.0 +reno>=3.1.0 # Apache-2.0