Compare commits

...

4 Commits

Author SHA1 Message Date
f822861588 Update TOX_CONSTRAINTS_FILE for stable/2025.2
Update the URL to the upper-constraints file to point to the redirect
rule on releases.openstack.org so that anyone working on this branch
will switch to the correct upper-constraints list automatically when
the requirements repository branches.

Until the requirements repository has as stable/2025.2 branch, tests will
continue to use the upper-constraints list on master.

Change-Id: If47571c80bcdc937fc5d0036536391b81e49009a
Signed-off-by: OpenStack Release Bot <infra-root@openstack.org>
Generated-By: openstack/project-config:roles/copy-release-tools-scripts/files/release-tools/functions
2025-09-18 15:12:38 +00:00
f3495582be Update .gitreview for stable/2025.2
Change-Id: I64b0cb90d49516098166d40a3cf2ecd35727a40e
Signed-off-by: OpenStack Release Bot <infra-root@openstack.org>
Generated-By: openstack/project-config:roles/copy-release-tools-scripts/files/release-tools/functions
2025-09-18 15:12:37 +00:00
Shivam Shukla
00d6e14b73 Replace Legacy Callable Formatter Functions
osc-lib 4.x introduced a change that removed support for legacy
callable functions used as formatters in CLI output.
The python-tackerclient code still uses such deprecated formatters,
which leads to the Invalid Formatter Provided error when used with
osc-lib>=4.0.0.

Replace these legacy callable formatters with compatible formatter
classes provided by osc_lib.cli.format_columns.

Closes-Bug: https://bugs.launchpad.net/tacker/+bug/2118585
Change-Id: Idc2a3be9fe709942904f472b7728e095ded92b19
Signed-off-by: Shivam Shukla <shivam.shukla3@india.nec.com>
2025-07-25 10:37:54 +00:00
c2bdc92c2e Update master for stable/2025.1
Add file to the reno documentation build to show release notes for
stable/2025.1.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2025.1.

Sem-Ver: feature
Change-Id: I722af142750abbecad34d8956c1b4f2fc23455a4
2025-03-07 14:36:12 +00:00
5 changed files with 14 additions and 5 deletions

View File

@@ -2,3 +2,4 @@
host=review.opendev.org
port=29418
project=openstack/python-tackerclient.git
defaultbranch=stable/2025.2

View File

@@ -0,0 +1,6 @@
===========================
2025.1 Series Release Notes
===========================
.. release-notes::
:branch: stable/2025.1

View File

@@ -7,6 +7,7 @@ Contents:
:maxdepth: 2
unreleased
2025.1
2024.2
2024.1
2023.2

View File

@@ -16,6 +16,7 @@
import yaml
from osc_lib.cli import format_columns
from osc_lib.command import command
from osc_lib import utils
from oslo_utils import strutils
@@ -258,9 +259,9 @@ class UpdateVIM(command.ShowOne):
_formatters = {
'auth_cred': tacker_osc_utils.format_dict_with_indention,
'placement_attr': tacker_osc_utils.format_dict_with_indention,
'vim_project': tacker_osc_utils.format_dict_with_indention,
'auth_cred': format_columns.DictColumn,
'placement_attr': format_columns.DictColumn,
'vim_project': format_columns.DictColumn,
}

View File

@@ -11,7 +11,7 @@ setenv = VIRTUAL_ENV={envdir}
LC_ALL=C
usedevelop = True
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2025.2}
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = stestr run --slowest {posargs}
@@ -29,7 +29,7 @@ commands = sphinx-build -W -b html doc/source doc/build/html
[testenv:releasenotes]
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2025.2}
-r{toxinidir}/doc/requirements.txt
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html