We are stoked to announce the release of: osc-lib 4.3.0 This release is part of the gazpacho release series. The source is available from: https://opendev.org/openstack/osc-lib Download the package from: https://pypi.org/project/osc-lib Please report issues through: https://bugs.launchpad.net/python-openstackclient/+bugs For more details, please see below. 4.3.0 ^^^^^ Upgrade Notes ************* * A new "osc_lib.test" package has been added. This contains much of the logic previously provided by "osc_lib.tests.utils", but is explicitly designed for external consumption. Consumers of "osc_lib.tests.utils" are encourgaged to migrate over at the earliest opportunity. In most cases, migration will simply involve changing the module path. Deprecation Notes ***************** * The "osc_lib.tests.utils" module is now deprecated for removal and has been replaced by "osc_lib.test". Changes in osc-lib 4.2.0..4.3.0 ------------------------------- edac60e typing: Use Mapping, not dict 47c5eaa Drop redundant target-version option 009a567 Run mypy from tox f1ea9ae ruff: Enable E5 check 940a62d Add is_uuid_like helper 0266287 typing: Allow use of column subclasses 20eee66 typing: More fixups for typed cliff, stevedore f4df17f typing: Fixups for typed cliff, stevedore 1e9e99e Remove unnecessary import 850f4cd ruff: Use more specific name to enable pyupgrade rule 6252f19 Add more utilities from OSC 8d348ca Deprecate osc_lib.tests.utils module 16572b4 Use osc_lib.test module 2710a32 Add osc_lib.test module c6558ab pre-commit: Bump versions 2e08937 reno: Update master for unmaintained/2024.1 933d8a0 Update master for stable/2025.2 49fc6f0 pre-commit: Bump versions aaaccc0 typing: Misc fixes Diffstat (except docs and test files) ------------------------------------- .gitignore | 5 +- .pre-commit-config.yaml | 31 +- osc_lib/api/auth.py | 18 +- osc_lib/cli/client_config.py | 14 +- osc_lib/cli/identity.py | 5 +- osc_lib/clientmanager.py | 26 +- osc_lib/logs.py | 6 +- osc_lib/shell.py | 17 +- osc_lib/test/__init__.py | 0 osc_lib/test/base.py | 122 ++++++ osc_lib/test/fakes.py | 219 ++++++++++ osc_lib/test/utils.py | 20 + osc_lib/utils/__init__.py | 39 +- osc_lib/version.py | 2 +- pyproject.toml | 25 +- .../add-osc_lib-test-package-645aa7da2a82c2a1.yaml | 12 + releasenotes/source/2024.1.rst | 2 +- releasenotes/source/2025.2.rst | 6 + releasenotes/source/index.rst | 1 + tox.ini | 14 + 35 files changed, 1033 insertions(+), 759 deletions(-)
participants (1)
-
no-reply@openstack.org