[release-announce] tosca-parser 2.3.0 (wallaby)

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


We are delighted to announce the release of:

tosca-parser 2.3.0: Parser for TOSCA Simple Profile in YAML.

This release is part of the wallaby release series.

The source is available from:

    https://opendev.org/openstack/tosca-parser

Download the package from:

    https://pypi.org/project/tosca-parser

Please report issues through:

    https://bugs.launchpad.net/tosca-parser/+bugs

For more details, please see below.

Changes in tosca-parser 2.2.0..2.3.0
------------------------------------

d353bbc Remove depreciated file babel.cfg
6f253c5 Dropping explicit unicode literal
1f6f7a0 Update TOX_CONSTRAINTS_FILE
ce8fa0f Move tosca-parser to new hacking 4.0.0
df16f01 Support "Implementation" definition as Artifact Name
b0c5c55 Drop Python 2 support
62f0d45 Add Python3 wallaby unit tests
00d3a39 Add validation for required property of policies
0653750 Fix error parsing scalar unit contraints


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

.zuul.yaml                                         |   2 +-
babel.cfg                                          |   1 -
lower-constraints.txt                              |   2 -
requirements.txt                                   |   2 -
setup.cfg                                          |  14 ---
test-requirements.txt                              |   2 +-
toscaparser/elements/constraints.py                |   4 +-
toscaparser/elements/scalarunit.py                 |  17 ++--
toscaparser/functions.py                           |   4 +-
toscaparser/policy.py                              |   5 +
toscaparser/prereq/csar.py                         |  48 ++++++++--
.../data/CSAR/csar_wordpress_invalid_artifact.zip  | Bin 0 -> 5985 bytes
.../data/CSAR/csar_wordpress_valid_artifact.zip    | Bin 0 -> 5977 bytes
.../test_policies_without_required_property.yaml   | 102 +++++++++++++++++++++
.../policies/test_tosca_nfv_multiple_policies.yaml |   6 ++
toscaparser/topology_template.py                   |  10 +-
toscaparser/utils/urlutils.py                      |  14 +--
toscaparser/utils/validateutils.py                 |   3 +-
toscaparser/utils/yamlparser.py                    |   6 +-
tox.ini                                            |   2 +-
27 files changed, 284 insertions(+), 72 deletions(-)


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

diff --git a/requirements.txt b/requirements.txt
index 58c74f0..5153b20 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -5 +4,0 @@ pbr!=2.1.0,>=2.0.0 # Apache-2.0
-Babel!=2.4.0,>=2.3.4 # BSD
@@ -9 +7,0 @@ python-dateutil>=2.5.3 # BSD
-six>=1.10.0 # MIT
diff --git a/test-requirements.txt b/test-requirements.txt
index b6e349f..ac6158c 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -4 +4 @@
-hacking>=3.0.1,<3.1.0 # Apache-2.0
+hacking>=4.0.0,<4.1.0 # Apache-2.0






More information about the Release-announce mailing list