diff --git a/changes/1247.feature.rst b/changes/1247.feature.rst deleted file mode 100644 index a71d5073..00000000 --- a/changes/1247.feature.rst +++ /dev/null @@ -1,2 +0,0 @@ -Mock: Added zhmcclient mock support for "Get Partitions Assigned to Adapter" -operation. diff --git a/changes/1248.feature.rst b/changes/1248.feature.rst deleted file mode 100644 index 8b1df035..00000000 --- a/changes/1248.feature.rst +++ /dev/null @@ -1,2 +0,0 @@ -Mock: Added zhmcclient mock support for the "Get Inventory" operation, and -enabled and improved its unit test. diff --git a/changes/1309.feature.rst b/changes/1309.feature.rst deleted file mode 100644 index f854841f..00000000 --- a/changes/1309.feature.rst +++ /dev/null @@ -1,3 +0,0 @@ -Added zhmcclient mock support for 'Console.list_permitted_adapters()'. -This is used by the end2end_mocked testcases of the ibm.ibm_zhmc Ansible -collection. diff --git a/changes/1485.feature.2.rst b/changes/1485.feature.2.rst deleted file mode 100644 index 7ac38c69..00000000 --- a/changes/1485.feature.2.rst +++ /dev/null @@ -1,3 +0,0 @@ -Dev: Migrated from setup.py to pyproject.toml with setuptools as build backend. -This provides for automatic determination of the package version without -having to edit a version file. diff --git a/changes/1485.feature.3.rst b/changes/1485.feature.3.rst deleted file mode 100644 index e2c316b8..00000000 --- a/changes/1485.feature.3.rst +++ /dev/null @@ -1,3 +0,0 @@ -In addition to the `zhmcclient.__version__` property which provides the package -version as a string, a new `zhmcclient.__version_tuple__` property provides -it as a tuple of integer values. diff --git a/changes/1489.cleanup.rst b/changes/1489.cleanup.rst deleted file mode 100644 index 679da0de..00000000 --- a/changes/1489.cleanup.rst +++ /dev/null @@ -1,8 +0,0 @@ -Dropped support for Python below 3.8. Cleaned up the dependencies, Makefile, -source code, and test code. - -Increased minimum version of the following Python packages the installation -depends upon: -- pytz to 2019.1 (only on Python 3.8/3.9 - was already there on Python >= 3.10) -- pytest (extra: test) to 6.2.5 (only on Python 3.8/3.9 - was already there - on Python >= 3.10) diff --git a/changes/1516.fix.rst b/changes/1516.fix.rst deleted file mode 100644 index 7357b179..00000000 --- a/changes/1516.fix.rst +++ /dev/null @@ -1,3 +0,0 @@ -Install: Changed the name of the dependent package 'stomp.py' to use its -canonical name 'stomp-py' since that prevented installation of packages using -zhmcclient under certain circumstances (e.g. with minimum package levels). diff --git a/changes/1526.feature.rst b/changes/1526.feature.rst deleted file mode 100644 index fbf61b7a..00000000 --- a/changes/1526.feature.rst +++ /dev/null @@ -1,2 +0,0 @@ -Added support for running the 'ruff' checker via "make ruff" and added that -to the test workflow. diff --git a/changes/1527.feature.rst b/changes/1527.feature.rst deleted file mode 100644 index b1621914..00000000 --- a/changes/1527.feature.rst +++ /dev/null @@ -1,6 +0,0 @@ -Added support for running the 'bandit' checker with a new make target -'bandit', and added that to the GitHub Actions test workflow. Adjusted -the code in order to pass the bandit check: - - - Changed the use of 'yamlloader.ordereddict.Loader' to 'SafeLoader'. - - Added bandit ignore markers where appropriate. diff --git a/changes/1532.cleanup.rst b/changes/1532.cleanup.rst deleted file mode 100644 index c4a0bc00..00000000 --- a/changes/1532.cleanup.rst +++ /dev/null @@ -1,2 +0,0 @@ -Dev: Dropped the 'make upload' target, because the release to PyPI has -been migrated to using a publish workflow. diff --git a/changes/1532.feature.rst b/changes/1532.feature.rst deleted file mode 100644 index abe3dff3..00000000 --- a/changes/1532.feature.rst +++ /dev/null @@ -1,2 +0,0 @@ -Dev: Encapsulated the starting of a new version into a new 'make start' target. -This performs the steps up to creating a PR. diff --git a/changes/1533.feature.rst b/changes/1533.feature.rst deleted file mode 100644 index 7c8fe961..00000000 --- a/changes/1533.feature.rst +++ /dev/null @@ -1,3 +0,0 @@ -Dev: Encapsulated the releasing of a version into a new 'make release' target. -This performs the steps up to creating a PR. -The release to PyPI happens when the PR is merged. diff --git a/changes/1541.feature.rst b/changes/1541.feature.rst deleted file mode 100644 index 41aacd9b..00000000 --- a/changes/1541.feature.rst +++ /dev/null @@ -1,2 +0,0 @@ -Mock: Added zhmcclient mock support for Storage Group Templates and their -Volumes. diff --git a/changes/1542.cleanup.rst b/changes/1542.cleanup.rst deleted file mode 100644 index eb04ebf3..00000000 --- a/changes/1542.cleanup.rst +++ /dev/null @@ -1 +0,0 @@ -Converted most remaining uses of format() to f-strings. diff --git a/changes/1544.fix.rst b/changes/1544.fix.rst deleted file mode 100644 index 01957d7d..00000000 --- a/changes/1544.fix.rst +++ /dev/null @@ -1 +0,0 @@ -Docs: Fixed incorrect formatting of bullet lists. diff --git a/changes/1548.fix.rst b/changes/1548.fix.rst deleted file mode 100644 index 80195c05..00000000 --- a/changes/1548.fix.rst +++ /dev/null @@ -1,4 +0,0 @@ -Mock+Test: Added missing defaults for properties 'shared', 'description' and -'fulfillment-state' to the mocked 'Create Storage Group' operation. -Added missing properties and fixed property name typos in the end2end -mock test files mocked_hmc_z14.yaml and mocked_hmc_z16.yaml. diff --git a/changes/1559.notshown.2.rst b/changes/1559.notshown.2.rst deleted file mode 100644 index 00b73f13..00000000 --- a/changes/1559.notshown.2.rst +++ /dev/null @@ -1 +0,0 @@ -Second fix for RTD issue: Generate version file in RTD case. diff --git a/changes/1559.notshown.3.rst b/changes/1559.notshown.3.rst deleted file mode 100644 index 85d8ca54..00000000 --- a/changes/1559.notshown.3.rst +++ /dev/null @@ -1 +0,0 @@ -Third fix for RTD issue: Add requirements.txt to python.install config. diff --git a/changes/1559.notshown.rst b/changes/1559.notshown.rst deleted file mode 100644 index 7653bb7b..00000000 --- a/changes/1559.notshown.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fixed the RTD build by using the version from the highest tag that is -reachable from the checked out branch, if the version file _version_scm.py -is not available. diff --git a/changes/1560.fix.rst b/changes/1560.fix.rst deleted file mode 100644 index c4af464c..00000000 --- a/changes/1560.fix.rst +++ /dev/null @@ -1,2 +0,0 @@ -Docs: Added bibliography entries for HMC API books 2.11 - 2.12 back in, -without links (they are not downloadable anymore). diff --git a/changes/1565.feature.rst b/changes/1565.feature.rst deleted file mode 100644 index 87d2b06e..00000000 --- a/changes/1565.feature.rst +++ /dev/null @@ -1,2 +0,0 @@ -Mock: Added zhmcclient mock support for Virtual Storage Resources in Storage -Groups. diff --git a/changes/1567.cleanup.rst b/changes/1567.cleanup.rst deleted file mode 100644 index 531f4a37..00000000 --- a/changes/1567.cleanup.rst +++ /dev/null @@ -1,3 +0,0 @@ -Docs: Reduced number of versions shown in generated documentation to only -the latest fix version of each minor version, and the master version. -Updated the release instructions and links in the documentation accordingly. diff --git a/changes/1567.notshown.rst b/changes/1567.notshown.rst deleted file mode 100644 index 9d307c70..00000000 --- a/changes/1567.notshown.rst +++ /dev/null @@ -1 +0,0 @@ -Added release step to hide previous fix version on RTD diff --git a/changes/1573.notshown.rst b/changes/1573.notshown.rst deleted file mode 100644 index 312202a8..00000000 --- a/changes/1573.notshown.rst +++ /dev/null @@ -1,2 +0,0 @@ -Test: Removed the checking for change fragment files from the test workflow -again. diff --git a/changes/1580.cleanup.rst b/changes/1580.cleanup.rst deleted file mode 100644 index 37ff0741..00000000 --- a/changes/1580.cleanup.rst +++ /dev/null @@ -1,3 +0,0 @@ -Mock: Changed all 'list()' methods when used in a mocked environment, to return -the properties with a value of 'None' instead of omitting it, when the mock -environment did not add the property. diff --git a/changes/1580.fix.2.rst b/changes/1580.fix.2.rst deleted file mode 100644 index 31ea33a1..00000000 --- a/changes/1580.fix.2.rst +++ /dev/null @@ -1,2 +0,0 @@ -Mock: Fixed the handling of the 'additional-properties' query parameter -when not provided, by no longer producing a property with empty name. diff --git a/changes/1580.fix.rst b/changes/1580.fix.rst deleted file mode 100644 index ca229854..00000000 --- a/changes/1580.fix.rst +++ /dev/null @@ -1,3 +0,0 @@ -Mock: Updated the set of properties returned by -'LdapServerDefinitionManager.list()' and 'CpcManager.list()' when used in a -mocked environment, to the behavior of HMC version 2.16.0. diff --git a/changes/1581.fix.rst b/changes/1581.fix.rst deleted file mode 100644 index a87e1ec8..00000000 --- a/changes/1581.fix.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed mock support for create user pattern. diff --git a/changes/1583.fix.rst b/changes/1583.fix.rst deleted file mode 100644 index 47ebaffb..00000000 --- a/changes/1583.fix.rst +++ /dev/null @@ -1,5 +0,0 @@ -Mock: Fixed that resource properties returned from zhmcclient mock support -were not independent of the internal resource object's state. For properties -that are lists or dicts, that has lead to the issue that changes to the -internal state of the (mocked) resource object were immediately visible -to a user that had previouly obtained the resource properties. diff --git a/changes/noissue.1.cleanup.rst b/changes/noissue.1.cleanup.rst deleted file mode 100644 index 97c4973b..00000000 --- a/changes/noissue.1.cleanup.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed new issues reported by new flake8 7.0.0. diff --git a/changes/noissue.1.feature.rst b/changes/noissue.1.feature.rst deleted file mode 100644 index 8ec5b5d9..00000000 --- a/changes/noissue.1.feature.rst +++ /dev/null @@ -1,2 +0,0 @@ -Test: Added more exhaustive z14 and z16 mock files to the tests/end2end -directory and used them for the 'make end2end_mocked' tests. diff --git a/changes/noissue.1.fix.rst b/changes/noissue.1.fix.rst deleted file mode 100644 index 2fedd1b4..00000000 --- a/changes/noissue.1.fix.rst +++ /dev/null @@ -1,3 +0,0 @@ -Install: Increased the minimum version of the 'jsonschema' package to 3.1.0 -to get a fix for a 'pkg_resources.DistributionNotFound' exception that occurs -in certain cases. diff --git a/changes/noissue.1.notshown.rst b/changes/noissue.1.notshown.rst deleted file mode 100644 index 8b137891..00000000 --- a/changes/noissue.1.notshown.rst +++ /dev/null @@ -1 +0,0 @@ - diff --git a/changes/noissue.2.cleanup.rst b/changes/noissue.2.cleanup.rst deleted file mode 100644 index 19973c24..00000000 --- a/changes/noissue.2.cleanup.rst +++ /dev/null @@ -1 +0,0 @@ -Dev: Changed the outdated 'py.test' command name to 'pytest'. diff --git a/changes/noissue.2.feature.rst b/changes/noissue.2.feature.rst deleted file mode 100644 index 5a03df42..00000000 --- a/changes/noissue.2.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Test: Improved the checking in the test_storage_volume.py end2end test module. diff --git a/changes/noissue.2.fix.rst b/changes/noissue.2.fix.rst deleted file mode 100644 index 2dea2f97..00000000 --- a/changes/noissue.2.fix.rst +++ /dev/null @@ -1 +0,0 @@ -Test: Fixed str/int issue in end2end tests in skip_missing_api_feature(). diff --git a/changes/noissue.2.notshown.rst b/changes/noissue.2.notshown.rst deleted file mode 100644 index 8b137891..00000000 --- a/changes/noissue.2.notshown.rst +++ /dev/null @@ -1 +0,0 @@ - diff --git a/changes/noissue.3.feature.rst b/changes/noissue.3.feature.rst deleted file mode 100644 index e68001f0..00000000 --- a/changes/noissue.3.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Test: Enabled the checking for success again in "make end2end_mocked". diff --git a/changes/noissue.3.fix.rst b/changes/noissue.3.fix.rst deleted file mode 100644 index 885c000e..00000000 --- a/changes/noissue.3.fix.rst +++ /dev/null @@ -1,2 +0,0 @@ -Mock: Fixed the "Modify Storage Group Properties" HMC operation in the -zhmcclient mock support. diff --git a/changes/noissue.3.notshown.rst b/changes/noissue.3.notshown.rst deleted file mode 100644 index 8b137891..00000000 --- a/changes/noissue.3.notshown.rst +++ /dev/null @@ -1 +0,0 @@ - diff --git a/changes/noissue.4.fix.rst b/changes/noissue.4.fix.rst deleted file mode 100644 index 41c39254..00000000 --- a/changes/noissue.4.fix.rst +++ /dev/null @@ -1,5 +0,0 @@ -Mock: Consolidated the different assumptions in the zhmcclient mock support and -the end2end testcases regarding whether the implemented behavior depends on the -mocked HMC or CPC generation (e.g. support or not support the 'properties' -query parameter on some List operations). Now, the zhmcclient mock support -always implements only the behavior of the latest HMC / CPC generation. diff --git a/changes/noissue.4.notshown.rst b/changes/noissue.4.notshown.rst deleted file mode 100644 index bad465d2..00000000 --- a/changes/noissue.4.notshown.rst +++ /dev/null @@ -1 +0,0 @@ -Mock: Fixed the incorrect YAML syntax and swapped CPCs in z16 mock files. diff --git a/changes/noissue.5.fix.rst b/changes/noissue.5.fix.rst deleted file mode 100644 index cef7f8d8..00000000 --- a/changes/noissue.5.fix.rst +++ /dev/null @@ -1 +0,0 @@ -Addressed safety issues up to 2024-06-21 diff --git a/changes/noissue.5.notshown.rst b/changes/noissue.5.notshown.rst deleted file mode 100644 index 3c17d0de..00000000 --- a/changes/noissue.5.notshown.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed missing 'description' properties in test/end2end mock file for z14. diff --git a/changes/noissue.6.notshown.rst b/changes/noissue.6.notshown.rst deleted file mode 100644 index a1f13d96..00000000 --- a/changes/noissue.6.notshown.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed version of 'requests' package in dependencies (was too high) diff --git a/changes/noissue.7.notshown.rst b/changes/noissue.7.notshown.rst deleted file mode 100644 index 6667c481..00000000 --- a/changes/noissue.7.notshown.rst +++ /dev/null @@ -1 +0,0 @@ -Added bibliography entries for HMC API books 2.11 - 2.13 back in. diff --git a/docs/changes.rst b/docs/changes.rst index 5df573a4..50b26229 100644 --- a/docs/changes.rst +++ b/docs/changes.rst @@ -20,6 +20,138 @@ Change log ---------- .. towncrier start +Version 1.17.0 +^^^^^^^^^^^^^^ + +Released: 2024-07-11 + +**Bug fixes:** + +* Install: Increased the minimum version of the 'jsonschema' package to 3.1.0 + to get a fix for a 'pkg_resources.DistributionNotFound' exception that occurs + in certain cases. + +* Test: Fixed str/int issue in end2end tests in skip_missing_api_feature(). + +* Mock: Fixed the "Modify Storage Group Properties" HMC operation in the + zhmcclient mock support. + +* Mock: Consolidated the different assumptions in the zhmcclient mock support and + the end2end testcases regarding whether the implemented behavior depends on the + mocked HMC or CPC generation (e.g. support or not support the 'properties' + query parameter on some List operations). Now, the zhmcclient mock support + always implements only the behavior of the latest HMC / CPC generation. + +* Addressed safety issues up to 2024-06-21 + +* Install: Changed the name of the dependent package 'stomp.py' to use its + canonical name 'stomp-py' since that prevented installation of packages using + zhmcclient under certain circumstances (e.g. with minimum package levels). (`#1516 `_) + +* Docs: Fixed incorrect formatting of bullet lists. (`#1544 `_) + +* Mock+Test: Added missing defaults for properties 'shared', 'description' and + 'fulfillment-state' to the mocked 'Create Storage Group' operation. + Added missing properties and fixed property name typos in the end2end + mock test files mocked_hmc_z14.yaml and mocked_hmc_z16.yaml. (`#1548 `_) + +* Docs: Added bibliography entries for HMC API books 2.11 - 2.12 back in, + without links (they are not downloadable anymore). (`#1560 `_) + +* Mock: Fixed the handling of the 'additional-properties' query parameter + when not provided, by no longer producing a property with empty name. (`#1580 `_) + +* Mock: Updated the set of properties returned by + 'LdapServerDefinitionManager.list()' and 'CpcManager.list()' when used in a + mocked environment, to the behavior of HMC version 2.16.0. (`#1580 `_) + +* Fixed mock support for create user pattern. (`#1581 `_) + +* Mock: Fixed that resource properties returned from zhmcclient mock support + were not independent of the internal resource object's state. For properties + that are lists or dicts, that has lead to the issue that changes to the + internal state of the (mocked) resource object were immediately visible + to a user that had previouly obtained the resource properties. (`#1583 `_) + +**Enhancements:** + +* Test: Added more exhaustive z14 and z16 mock files to the tests/end2end + directory and used them for the 'make end2end_mocked' tests. + +* Test: Improved the checking in the test_storage_volume.py end2end test module. + +* Test: Enabled the checking for success again in "make end2end_mocked". + +* Mock: Added zhmcclient mock support for "Get Partitions Assigned to Adapter" + operation. (`#1247 `_) + +* Mock: Added zhmcclient mock support for the "Get Inventory" operation, and + enabled and improved its unit test. (`#1248 `_) + +* Added zhmcclient mock support for 'Console.list_permitted_adapters()'. + This is used by the end2end_mocked testcases of the ibm.ibm_zhmc Ansible + collection. (`#1309 `_) + +* Dev: Migrated from setup.py to pyproject.toml with setuptools as build backend. + This provides for automatic determination of the package version without + having to edit a version file. (`#1485 `_) + +* In addition to the `zhmcclient.__version__` property which provides the package + version as a string, a new `zhmcclient.__version_tuple__` property provides + it as a tuple of integer values. (`#1485 `_) + +* Added support for running the 'ruff' checker via "make ruff" and added that + to the test workflow. (`#1526 `_) + +* Added support for running the 'bandit' checker with a new make target + 'bandit', and added that to the GitHub Actions test workflow. Adjusted + the code in order to pass the bandit check: + + - Changed the use of 'yamlloader.ordereddict.Loader' to 'SafeLoader'. + - Added bandit ignore markers where appropriate. (`#1527 `_) + +* Dev: Encapsulated the starting of a new version into a new 'make start' target. + This performs the steps up to creating a PR. (`#1532 `_) + +* Dev: Encapsulated the releasing of a version into a new 'make release' target. + This performs the steps up to creating a PR. + The release to PyPI happens when the PR is merged. (`#1533 `_) + +* Mock: Added zhmcclient mock support for Storage Group Templates and their + Volumes. (`#1541 `_) + +* Mock: Added zhmcclient mock support for Virtual Storage Resources in Storage + Groups. (`#1565 `_) + +**Cleanup:** + +* Fixed new issues reported by new flake8 7.0.0. + +* Dev: Changed the outdated 'py.test' command name to 'pytest'. + +* Dropped support for Python below 3.8. Cleaned up the dependencies, Makefile, + source code, and test code. + + Increased minimum version of the following Python packages the installation + depends upon: + - pytz to 2019.1 (only on Python 3.8/3.9 - was already there on Python >= 3.10) + - pytest (extra: test) to 6.2.5 (only on Python 3.8/3.9 - was already there + on Python >= 3.10) (`#1489 `_) + +* Dev: Dropped the 'make upload' target, because the release to PyPI has + been migrated to using a publish workflow. (`#1532 `_) + +* Converted most remaining uses of format() to f-strings. (`#1542 `_) + +* Docs: Reduced number of versions shown in generated documentation to only + the latest fix version of each minor version, and the master version. + Updated the release instructions and links in the documentation accordingly. (`#1567 `_) + +* Mock: Changed all 'list()' methods when used in a mocked environment, to return + the properties with a value of 'None' instead of omitting it, when the mock + environment did not add the property. (`#1580 `_) + + Version 1.16.0 ^^^^^^^^^^^^^^