openSUSE Commits
Threads by month
- ----- 2025 -----
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
March 2024
- 1 participants
- 1847 discussions
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package tectonic for openSUSE:Factory checked in at 2024-03-25 21:11:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tectonic (Old)
and /work/SRC/openSUSE:Factory/.tectonic.new.1905 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tectonic"
Mon Mar 25 21:11:30 2024 rev:10 rq:1161211 version:0.15.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/tectonic/tectonic.changes 2023-07-05 15:31:28.794893741 +0200
+++ /work/SRC/openSUSE:Factory/.tectonic.new.1905/tectonic.changes 2024-03-25 21:18:17.219647017 +0100
@@ -1,0 +2,16 @@
+Sun Mar 24 23:37:06 UTC 2024 - Gordon Leung <pirateclip(a)protonmail.com>
+
+- Update to version 0.15.0
+ * The --web-bundle flag can now be used in more situations, specifically
+ tectonic -X new and tectonic -X init
+ * As part of the above work, you can now activate the "V2" interface with the
+ -X flag in more places on the Tectonic command line.
+ * The Tectonic.toml file used by the "V2" interface now supports a
+ [metadata] section for arbitrary structured user metadata.
+ * The "V2" interface also now supports external commands.
+ If you have a program named tectonic-blah in your search path, running
+ tectonic -X blah will execute it.
+ * Running tectonic -Z help (as opposed to tectonic -Zhelp) now actuallyworks
+ works
+
+-------------------------------------------------------------------
Old:
----
cargo_config
tectonic-0.14.1.tar.gz
vendor.tar.zstd
New:
----
tectonic-0.15.0.tar.gz
vendor.tar.zst
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ tectonic.spec ++++++
--- /var/tmp/diff_new_pack.jfzUG2/_old 2024-03-25 21:18:20.123753826 +0100
+++ /var/tmp/diff_new_pack.jfzUG2/_new 2024-03-25 21:18:20.123753826 +0100
@@ -1,7 +1,7 @@
#
# spec file for package tectonic
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,15 +17,14 @@
Name: tectonic
-Version: 0.14.1
+Version: 0.15.0
Release: 0
Summary: Modernized self-contained TeX and LaTeX engine
License: (Apache-2.0 OR MIT) AND BSD-3-Clause ) AND ( 0BSD OR MIT OR Apache-2.0 ) AND ( Apache-2.0 OR BSL-1.0 ) AND ( Apache-2.0 OR MIT ) AND ( Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT ) AND ( MIT OR Apache-2.0 AND BSD-2-Clause ) AND ( MIT OR Apache-2.0 OR Zlib ) AND ( MIT OR Zlib OR Apache-2.0 ) AND ( Unlicense OR MIT ) AND ( Zlib OR Apache-2.0 OR MIT ) AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND WTFPL
Group: Productivity/Publishing/TeX/Utilities
URL: https://tectonic-typesetting.github.io
Source0: https://github.com/tectonic-typesetting/tectonic/archive/refs/tags/%{name}@…
-Source1: vendor.tar.zstd
-Source2: cargo_config
+Source1: vendor.tar.zst
BuildRequires: c++_compiler
BuildRequires: c_compiler
BuildRequires: cargo-packaging
@@ -45,8 +44,6 @@
%prep
%autosetup -a1 -n %{name}-%{name}-%{version}
-mkdir -p .cargo
-cp %{SOURCE2} .cargo/config
%build
%{cargo_build} --features external-harfbuzz
++++++ _service ++++++
--- /var/tmp/diff_new_pack.jfzUG2/_old 2024-03-25 21:18:20.159755151 +0100
+++ /var/tmp/diff_new_pack.jfzUG2/_new 2024-03-25 21:18:20.163755297 +0100
@@ -1,7 +1,7 @@
<services>
<service name="cargo_vendor" mode="disabled">
- <param name="srctar">tectonic-0.14.1.tar.gz</param>
- <param name="compression">zstd</param>
+ <param name="srctar">tectonic-0.15.0.tar.gz</param>
+ <param name="compression">zst</param>
<param name="update">true</param>
</service>
<service name="cargo_audit" mode="disabled" />
++++++ tectonic-0.14.1.tar.gz -> tectonic-0.15.0.tar.gz ++++++
++++ 25763 lines of diff (skipped)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-novaclient for openSUSE:Factory checked in at 2024-03-25 21:11:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-novaclient (Old)
and /work/SRC/openSUSE:Factory/.python-novaclient.new.1905 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-novaclient"
Mon Mar 25 21:11:27 2024 rev:42 rq:1161193 version:18.6.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-novaclient/python-novaclient.changes 2024-01-15 22:19:23.975220141 +0100
+++ /work/SRC/openSUSE:Factory/.python-novaclient.new.1905/python-novaclient.changes 2024-03-25 21:18:11.911451790 +0100
@@ -1,0 +2,15 @@
+Sun Mar 24 20:11:48 UTC 2024 - cloud-devel(a)suse.de
+
+- update to version 18.6.0
+ - Bump microversion to 2.96
+ - Update hacking version in pre commit config
+ - Fix typos
+ - Bump hacking
+ - coveragerc: Fix wrong omitted directory
+ - Disable NEUTRON_ENFORCE_SCOPE at function job
+ - add pyproject.toml to support pip 23.1
+ - Update python classifier in setup.cfg
+ - Update master for stable/2023.2
+ - reno: Update master for unmaintained/yoga
+
+-------------------------------------------------------------------
Old:
----
python-novaclient-18.4.0.tar.gz
New:
----
python-novaclient-18.6.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-novaclient.spec ++++++
--- /var/tmp/diff_new_pack.G4J3KL/_old 2024-03-25 21:18:13.555512255 +0100
+++ /var/tmp/diff_new_pack.G4J3KL/_new 2024-03-25 21:18:13.567512697 +0100
@@ -17,14 +17,14 @@
Name: python-novaclient
-Version: 18.4.0
+Version: 18.6.0
Release: 0
Epoch: 0
Summary: Python API and CLI for OpenStack Nova
License: Apache-2.0
Group: Development/Languages/Python
URL: https://docs.openstack.org/python-novaclient
-Source0: https://files.pythonhosted.org/packages/source/p/python-novaclient/python-n…
+Source0: https://files.pythonhosted.org/packages/source/p/python-novaclient/python-n…
BuildRequires: openssl
BuildRequires: openstack-macros
BuildRequires: python3-cinderclient
@@ -89,7 +89,7 @@
%build
%{py3_build}
-PBR_VERSION=18.4.0 %sphinx_build -b html -d doc/build/doctrees doc/source doc/build/html
+PBR_VERSION=18.6.0 %sphinx_build -b html -d doc/build/doctrees doc/source doc/build/html
# Fix hidden-file-or-dir warnings
rm -fr doc/build/html/.doctrees doc/build/html/.buildinfo
++++++ python-novaclient-18.4.0.tar.gz -> python-novaclient-18.6.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-novaclient-18.4.0/.coveragerc new/python-novaclient-18.6.0/.coveragerc
--- old/python-novaclient-18.4.0/.coveragerc 2023-08-31 14:22:01.000000000 +0200
+++ new/python-novaclient-18.6.0/.coveragerc 2024-03-12 18:27:02.000000000 +0100
@@ -1,7 +1,7 @@
[run]
branch = True
source = novaclient
-omit = novaclient/openstack/*
+omit = novaclient/tests/*
[report]
ignore_errors = True
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-novaclient-18.4.0/.pre-commit-config.yaml new/python-novaclient-18.6.0/.pre-commit-config.yaml
--- old/python-novaclient-18.4.0/.pre-commit-config.yaml 2023-08-31 14:22:01.000000000 +0200
+++ new/python-novaclient-18.6.0/.pre-commit-config.yaml 2024-03-12 18:27:02.000000000 +0100
@@ -25,7 +25,7 @@
- id: flake8
name: flake8
additional_dependencies:
- - hacking~=4.1.0
+ - hacking>=6.1.0,<6.2.0
language: python
entry: flake8
files: '^.*\.py$'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-novaclient-18.4.0/.zuul.yaml new/python-novaclient-18.6.0/.zuul.yaml
--- old/python-novaclient-18.4.0/.zuul.yaml 2023-08-31 14:22:01.000000000 +0200
+++ new/python-novaclient-18.6.0/.zuul.yaml 2024-03-12 18:27:02.000000000 +0100
@@ -9,6 +9,7 @@
openrc_enable_export: true
devstack_localrc:
KEYSTONE_ADMIN_ENDPOINT: true
+ NEUTRON_ENFORCE_SCOPE: false
irrelevant-files:
- ^.*\.rst$
- ^doc/.*$
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-novaclient-18.4.0/AUTHORS new/python-novaclient-18.6.0/AUTHORS
--- old/python-novaclient-18.4.0/AUTHORS 2023-08-31 14:22:29.000000000 +0200
+++ new/python-novaclient-18.6.0/AUTHORS 2024-03-12 18:27:28.000000000 +0100
@@ -294,6 +294,7 @@
Rafael Rivero <rafael(a)cloudscaling.com>
Rafi Khardalian <rafi(a)metacloud.com>
Rahul <rahulbardia1121991(a)gmail.com>
+Rajesh Tailor <ratailor(a)redhat.com>
Rajiv Kumar <rajiv.kumar(a)nectechnologies.in>
Rakesh H S <rh-s(a)hp.com>
Ralf Haferkamp <rhafer(a)suse.de>
@@ -336,6 +337,7 @@
Sean Dague <sean(a)dague.net>
Sean McCully <sean.mccully(a)rackspace.com>
Sean McGinnis <sean.mcginnis(a)gmail.com>
+Sean Mooney <work(a)seanmooney.info>
Sen Yang <sen.yang(a)windriver.com>
Sergey Lukjanov <slukjanov(a)mirantis.com>
Sergey Nikitin <snikitin(a)mirantis.com>
@@ -361,6 +363,7 @@
Svetlana Shturm <sshturm(a)mirantis.com>
Swapnil Kulkarni (coolsvap) <me(a)coolsvap.net>
Sylvain Bauza <sbauza(a)redhat.com>
+Takashi Kajinami <kajinamit(a)oss.nttdata.com>
Takashi Kajinami <tkajinam(a)redhat.com>
Takashi NATSUME <natsume.takashi(a)lab.ntt.co.jp>
Takashi Natsume <takanattie(a)gmail.com>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-novaclient-18.4.0/ChangeLog new/python-novaclient-18.6.0/ChangeLog
--- old/python-novaclient-18.4.0/ChangeLog 2023-08-31 14:22:28.000000000 +0200
+++ new/python-novaclient-18.6.0/ChangeLog 2024-03-12 18:27:27.000000000 +0100
@@ -1,6 +1,24 @@
CHANGES
=======
+18.6.0
+------
+
+* Bump microversion to 2.96
+
+18.5.0
+------
+
+* reno: Update master for unmaintained/yoga
+* Update hacking version in pre commit config
+* Bump hacking
+* Update python classifier in setup.cfg
+* coveragerc: Fix wrong omitted directory
+* Disable NEUTRON\_ENFORCE\_SCOPE at function job
+* Fix typos
+* add pyproject.toml to support pip 23.1
+* Update master for stable/2023.2
+
18.4.0
------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-novaclient-18.4.0/PKG-INFO new/python-novaclient-18.6.0/PKG-INFO
--- old/python-novaclient-18.4.0/PKG-INFO 2023-08-31 14:22:29.352897000 +0200
+++ new/python-novaclient-18.6.0/PKG-INFO 2024-03-12 18:27:28.271321500 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.2
Name: python-novaclient
-Version: 18.4.0
+Version: 18.6.0
Summary: Client library for OpenStack Compute API
Home-page: https://docs.openstack.org/python-novaclient/latest
Author: OpenStack
@@ -62,6 +62,7 @@
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
+Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: Implementation :: CPython
Requires-Python: >=3.8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-novaclient-18.4.0/novaclient/__init__.py new/python-novaclient-18.6.0/novaclient/__init__.py
--- old/python-novaclient-18.4.0/novaclient/__init__.py 2023-08-31 14:22:01.000000000 +0200
+++ new/python-novaclient-18.6.0/novaclient/__init__.py 2024-03-12 18:27:02.000000000 +0100
@@ -25,4 +25,4 @@
# when client supported the max version, and bumped sequentially, otherwise
# the client may break due to server side new version may include some
# backward incompatible change.
-API_MAX_VERSION = api_versions.APIVersion("2.95")
+API_MAX_VERSION = api_versions.APIVersion("2.96")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-novaclient-18.4.0/novaclient/tests/functional/v2/legacy/test_readonly_nova.py new/python-novaclient-18.6.0/novaclient/tests/functional/v2/legacy/test_readonly_nova.py
--- old/python-novaclient-18.4.0/novaclient/tests/functional/v2/legacy/test_readonly_nova.py 2023-08-31 14:22:01.000000000 +0200
+++ new/python-novaclient-18.6.0/novaclient/tests/functional/v2/legacy/test_readonly_nova.py 2024-03-12 18:27:02.000000000 +0100
@@ -38,7 +38,7 @@
def test_admin_availability_zone_list(self):
self.assertIn("internal", self.nova('availability-zone-list'))
- def test_admin_flavor_acces_list(self):
+ def test_admin_flavor_access_list(self):
self.assertRaises(exceptions.CommandFailed,
self.nova,
'flavor-access-list')
@@ -73,7 +73,7 @@
def test_admin_server_group_list(self):
self.nova('server-group-list')
- def test_admin_servce_list(self):
+ def test_admin_service_list(self):
self.nova('service-list')
def test_admin_usage(self):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-novaclient-18.4.0/novaclient/tests/functional/v2/test_instance_usage_audit_log.py new/python-novaclient-18.6.0/novaclient/tests/functional/v2/test_instance_usage_audit_log.py
--- old/python-novaclient-18.4.0/novaclient/tests/functional/v2/test_instance_usage_audit_log.py 2023-08-31 14:22:01.000000000 +0200
+++ new/python-novaclient-18.6.0/novaclient/tests/functional/v2/test_instance_usage_audit_log.py 2024-03-12 18:27:02.000000000 +0100
@@ -21,7 +21,7 @@
COMPUTE_API_VERSION = '2.1'
# NOTE(takashin): By default, 'instance_usage_audit' is False in nova.
- # So the instance usage audit log is not recoreded.
+ # So the instance usage audit log is not recorded.
# Therefore an empty result can be got.
# But it is tested here to call APIs and get responses normally.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-novaclient-18.4.0/novaclient/tests/functional/v2/test_quota_classes.py new/python-novaclient-18.6.0/novaclient/tests/functional/v2/test_quota_classes.py
--- old/python-novaclient-18.4.0/novaclient/tests/functional/v2/test_quota_classes.py 2023-08-31 14:22:01.000000000 +0200
+++ new/python-novaclient-18.6.0/novaclient/tests/functional/v2/test_quota_classes.py 2024-03-12 18:27:02.000000000 +0100
@@ -44,7 +44,7 @@
"""Returns a fake quota class name specific to this test class."""
return 'fake-class-%s' % self.COMPUTE_API_VERSION.replace('.', '-')
- def _verify_qouta_class_show_output(self, output, expected_values):
+ def _verify_quota_class_show_output(self, output, expected_values):
# Assert that the expected key/value pairs are in the output table
for quota_name in self._included_resources:
# First make sure the resource is actually in expected quota.
@@ -74,7 +74,7 @@
}
output = self.nova('quota-class-show %s' %
self._get_quota_class_name())
- self._verify_qouta_class_show_output(output, default_values)
+ self._verify_quota_class_show_output(output, default_values)
def test_quota_class_update(self):
"""Tests updating a fake quota class. The way this works in the API
@@ -96,7 +96,7 @@
self.nova("quota-class-update", params=" ".join(params))
# Assert the results using the quota-class-show output.
output = self.nova('quota-class-show %s' % class_name)
- self._verify_qouta_class_show_output(output, expected_values)
+ self._verify_quota_class_show_output(output, expected_values)
# Assert that attempting to update resources that are blocked will
# result in a failure.
@@ -115,7 +115,7 @@
# The 2.50 microversion added the server_groups and server_group_members
# to the response, and filtered out floating_ips, fixed_ips,
# security_groups and security_group_members, similar to the 2.36
- # microversion in the os-qouta-sets API.
+ # microversion in the os-quota-sets API.
_included_resources = ['instances', 'cores', 'ram', 'metadata_items',
'injected_files', 'injected_file_content_bytes',
'injected_file_path_bytes', 'key_pairs',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-novaclient-18.4.0/novaclient/tests/unit/v2/fakes.py new/python-novaclient-18.6.0/novaclient/tests/unit/v2/fakes.py
--- old/python-novaclient-18.4.0/novaclient/tests/unit/v2/fakes.py 2023-08-31 14:22:01.000000000 +0200
+++ new/python-novaclient-18.6.0/novaclient/tests/unit/v2/fakes.py 2024-03-12 18:27:02.000000000 +0100
@@ -1218,7 +1218,7 @@
"deleted": False,
"created_at": "2014-04-19T02:16:44.000000",
"updated_at": "2014-04-19T10:12:3.000000",
- "figerprint": "FAKE_KEYPAIR",
+ "fingerprint": "FAKE_KEYPAIR",
"deleted_at": None,
"id": 4}}
]})
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-novaclient-18.4.0/novaclient/tests/unit/v2/test_shell.py new/python-novaclient-18.6.0/novaclient/tests/unit/v2/test_shell.py
--- old/python-novaclient-18.4.0/novaclient/tests/unit/v2/test_shell.py 2023-08-31 14:22:01.000000000 +0200
+++ new/python-novaclient-18.6.0/novaclient/tests/unit/v2/test_shell.py 2024-03-12 18:27:02.000000000 +0100
@@ -4702,6 +4702,7 @@
93, # There are no version-wrapped shell method changes for this.
94, # There are no version-wrapped shell method changes for this.
95, # There are no version-wrapped shell method changes for this.
+ 96, # There are no version-wrapped shell method changes for this.
])
versions_supported = set(range(0,
novaclient.API_MAX_VERSION.ver_minor + 1))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-novaclient-18.4.0/novaclient/v2/agents.py new/python-novaclient-18.6.0/novaclient/v2/agents.py
--- old/python-novaclient-18.4.0/novaclient/v2/agents.py 2023-08-31 14:22:01.000000000 +0200
+++ new/python-novaclient-18.6.0/novaclient/v2/agents.py 2024-03-12 18:27:02.000000000 +0100
@@ -21,7 +21,7 @@
# NOTE(takashin): The os-agents APIs have been removed
# in https://review.opendev.org/c/openstack/nova/+/749309 .
-# But the following API bindings remains as ther are
+# But the following API bindings remains as there are
# because the python-openstackclient depends on them.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-novaclient-18.4.0/novaclient/v2/servers.py new/python-novaclient-18.6.0/novaclient/v2/servers.py
--- old/python-novaclient-18.4.0/novaclient/v2/servers.py 2023-08-31 14:22:01.000000000 +0200
+++ new/python-novaclient-18.6.0/novaclient/v2/servers.py 2024-03-12 18:27:02.000000000 +0100
@@ -1429,7 +1429,7 @@
Often a cheaper call then getting all the details for a server.
:param server: The :class:`Server` (or its ID) for which
- the IP adresses are to be returned
+ the IP addresses are to be returned
:returns: An instance of novaclient.base.DictWithMeta
"""
resp, body = self.api.client.get("/servers/%s/ips" %
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-novaclient-18.4.0/pyproject.toml new/python-novaclient-18.6.0/pyproject.toml
--- old/python-novaclient-18.4.0/pyproject.toml 1970-01-01 01:00:00.000000000 +0100
+++ new/python-novaclient-18.6.0/pyproject.toml 2024-03-12 18:27:02.000000000 +0100
@@ -0,0 +1,3 @@
+[build-system]
+requires = ["pbr>=5.7.0", "setuptools>=64.0.0", "wheel"]
+build-backend = "pbr.build"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-novaclient-18.4.0/python_novaclient.egg-info/PKG-INFO new/python-novaclient-18.6.0/python_novaclient.egg-info/PKG-INFO
--- old/python-novaclient-18.4.0/python_novaclient.egg-info/PKG-INFO 2023-08-31 14:22:29.000000000 +0200
+++ new/python-novaclient-18.6.0/python_novaclient.egg-info/PKG-INFO 2024-03-12 18:27:28.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.2
Name: python-novaclient
-Version: 18.4.0
+Version: 18.6.0
Summary: Client library for OpenStack Compute API
Home-page: https://docs.openstack.org/python-novaclient/latest
Author: OpenStack
@@ -62,6 +62,7 @@
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
+Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: Implementation :: CPython
Requires-Python: >=3.8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-novaclient-18.4.0/python_novaclient.egg-info/SOURCES.txt new/python-novaclient-18.6.0/python_novaclient.egg-info/SOURCES.txt
--- old/python-novaclient-18.4.0/python_novaclient.egg-info/SOURCES.txt 2023-08-31 14:22:29.000000000 +0200
+++ new/python-novaclient-18.6.0/python_novaclient.egg-info/SOURCES.txt 2024-03-12 18:27:28.000000000 +0100
@@ -10,6 +10,7 @@
LICENSE
README.rst
bindep.txt
+pyproject.toml
requirements.txt
setup.cfg
setup.py
@@ -273,6 +274,7 @@
releasenotes/notes/microversion-v2_90-259779668e67dfb5.yaml
releasenotes/notes/microversion-v2_94-5368d5dd7c5f6484.yaml
releasenotes/notes/microversion-v2_95-3c6ad46be2656684.yaml
+releasenotes/notes/microversion-v2_96-a50af976133de0ab.yaml
releasenotes/notes/microversion_v2_70-09cbe0933b3a9335.yaml
releasenotes/notes/microversion_v2_89-af6223273b2bdfb0.yaml
releasenotes/notes/no-glance-proxy-5c13001a4b13e8ce.yaml
@@ -309,6 +311,7 @@
releasenotes/notes/switch-to-sessionclient-aa49d16599fea570.yaml
releasenotes/notes/volume-cli-removal-ffcb94421a356042.yaml
releasenotes/source/2023.1.rst
+releasenotes/source/2023.2.rst
releasenotes/source/conf.py
releasenotes/source/index.rst
releasenotes/source/liberty.rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-novaclient-18.4.0/python_novaclient.egg-info/pbr.json new/python-novaclient-18.6.0/python_novaclient.egg-info/pbr.json
--- old/python-novaclient-18.4.0/python_novaclient.egg-info/pbr.json 2023-08-31 14:22:29.000000000 +0200
+++ new/python-novaclient-18.6.0/python_novaclient.egg-info/pbr.json 2024-03-12 18:27:28.000000000 +0100
@@ -1 +1 @@
-{"git_version": "e464940f", "is_release": true}
\ No newline at end of file
+{"git_version": "533d5df5", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-novaclient-18.4.0/releasenotes/notes/microversion-v2_96-a50af976133de0ab.yaml new/python-novaclient-18.6.0/releasenotes/notes/microversion-v2_96-a50af976133de0ab.yaml
--- old/python-novaclient-18.4.0/releasenotes/notes/microversion-v2_96-a50af976133de0ab.yaml 1970-01-01 01:00:00.000000000 +0100
+++ new/python-novaclient-18.6.0/releasenotes/notes/microversion-v2_96-a50af976133de0ab.yaml 2024-03-12 18:27:02.000000000 +0100
@@ -0,0 +1,8 @@
+---
+features:
+ - |
+ The `microversion 2.96`_ has been added. This microversion adds
+ pinned_availability_zone in ``server show`` and
+ ``server list --long`` responses.
+
+ .. _microversion 2.96: https://docs.openstack.org/nova/latest/reference/api-microversion-history.h…
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-novaclient-18.4.0/releasenotes/source/2023.2.rst new/python-novaclient-18.6.0/releasenotes/source/2023.2.rst
--- old/python-novaclient-18.4.0/releasenotes/source/2023.2.rst 1970-01-01 01:00:00.000000000 +0100
+++ new/python-novaclient-18.6.0/releasenotes/source/2023.2.rst 2024-03-12 18:27:02.000000000 +0100
@@ -0,0 +1,6 @@
+===========================
+2023.2 Series Release Notes
+===========================
+
+.. release-notes::
+ :branch: stable/2023.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-novaclient-18.4.0/releasenotes/source/index.rst new/python-novaclient-18.6.0/releasenotes/source/index.rst
--- old/python-novaclient-18.4.0/releasenotes/source/index.rst 2023-08-31 14:22:01.000000000 +0200
+++ new/python-novaclient-18.6.0/releasenotes/source/index.rst 2024-03-12 18:27:02.000000000 +0100
@@ -8,6 +8,7 @@
:maxdepth: 2
unreleased
+ 2023.2
2023.1
zed
yoga
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-novaclient-18.4.0/releasenotes/source/yoga.rst new/python-novaclient-18.6.0/releasenotes/source/yoga.rst
--- old/python-novaclient-18.4.0/releasenotes/source/yoga.rst 2023-08-31 14:22:01.000000000 +0200
+++ new/python-novaclient-18.6.0/releasenotes/source/yoga.rst 2024-03-12 18:27:02.000000000 +0100
@@ -3,4 +3,4 @@
=========================
.. release-notes::
- :branch: stable/yoga
+ :branch: unmaintained/yoga
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-novaclient-18.4.0/setup.cfg new/python-novaclient-18.6.0/setup.cfg
--- old/python-novaclient-18.4.0/setup.cfg 2023-08-31 14:22:29.352897000 +0200
+++ new/python-novaclient-18.6.0/setup.cfg 2024-03-12 18:27:28.271321500 +0100
@@ -21,6 +21,7 @@
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
+ Programming Language :: Python :: 3.11
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: Implementation :: CPython
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-novaclient-18.4.0/test-requirements.txt new/python-novaclient-18.6.0/test-requirements.txt
--- old/python-novaclient-18.4.0/test-requirements.txt 2023-08-31 14:22:01.000000000 +0200
+++ new/python-novaclient-18.6.0/test-requirements.txt 2024-03-12 18:27:02.000000000 +0100
@@ -1,4 +1,4 @@
-hacking~=4.1.0 # Apache-2.0
+hacking>=6.1.0,<6.2.0 # Apache-2.0
bandit>=1.1.0 # Apache-2.0
coverage!=4.4,>=4.0 # Apache-2.0
ddt>=1.0.1 # MIT
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-masakariclient for openSUSE:Factory checked in at 2024-03-25 21:11:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-masakariclient (Old)
and /work/SRC/openSUSE:Factory/.python-masakariclient.new.1905 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-masakariclient"
Mon Mar 25 21:11:23 2024 rev:13 rq:1161190 version:8.4.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-masakariclient/python-masakariclient.changes 2024-01-15 22:19:21.115115029 +0100
+++ /work/SRC/openSUSE:Factory/.python-masakariclient.new.1905/python-masakariclient.changes 2024-03-25 21:18:06.587255973 +0100
@@ -1,0 +2,6 @@
+Sun Mar 24 20:09:24 UTC 2024 - cloud-devel(a)suse.de
+
+- update to version 8.4.0
+ - Update python unit testing template
+
+-------------------------------------------------------------------
Old:
----
python-masakariclient-8.3.0.tar.gz
New:
----
python-masakariclient-8.4.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-masakariclient.spec ++++++
--- /var/tmp/diff_new_pack.pBKoat/_old 2024-03-25 21:18:07.371284808 +0100
+++ /var/tmp/diff_new_pack.pBKoat/_new 2024-03-25 21:18:07.375284956 +0100
@@ -18,14 +18,14 @@
%global oldpython python
Name: python-masakariclient
-Version: 8.3.0
+Version: 8.4.0
Release: 0
Epoch: 0
Summary: Python API and CLI for OpenStack Masakari
License: Apache-2.0
Group: Development/Languages/Python
URL: https://docs.openstack.org/python-masakariclient
-Source0: https://files.pythonhosted.org/packages/source/p/python-masakariclient/pyth…
+Source0: https://files.pythonhosted.org/packages/source/p/python-masakariclient/pyth…
BuildRequires: openstack-macros
BuildRequires: python3-PrettyTable
BuildRequires: python3-ddt
@@ -82,8 +82,8 @@
%{py3_build}
# Build HTML docs and man page
-PBR_VERSION=8.3.0 %sphinx_build -b html doc/source doc/build/html
-PBR_VERSION=8.3.0 %sphinx_build -b man doc/source doc/build/man
+PBR_VERSION=8.4.0 %sphinx_build -b html doc/source doc/build/html
+PBR_VERSION=8.4.0 %sphinx_build -b man doc/source doc/build/man
rm -r doc/build/html/.{doctrees,buildinfo}
%install
++++++ python-masakariclient-8.3.0.tar.gz -> python-masakariclient-8.4.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-masakariclient-8.3.0/.zuul.yaml new/python-masakariclient-8.4.0/.zuul.yaml
--- old/python-masakariclient-8.3.0/.zuul.yaml 2023-11-15 11:59:50.000000000 +0100
+++ new/python-masakariclient-8.4.0/.zuul.yaml 2024-02-29 14:25:32.000000000 +0100
@@ -1,7 +1,7 @@
- project:
templates:
- check-requirements
- - openstack-python3-antelope-jobs
+ - openstack-python3-jobs
- openstackclient-plugin-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-masakariclient-8.3.0/ChangeLog new/python-masakariclient-8.4.0/ChangeLog
--- old/python-masakariclient-8.3.0/ChangeLog 2023-11-15 12:00:41.000000000 +0100
+++ new/python-masakariclient-8.4.0/ChangeLog 2024-02-29 14:26:01.000000000 +0100
@@ -1,6 +1,11 @@
CHANGES
=======
+8.4.0
+-----
+
+* Update python unit testing template
+
8.3.0
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-masakariclient-8.3.0/PKG-INFO new/python-masakariclient-8.4.0/PKG-INFO
--- old/python-masakariclient-8.3.0/PKG-INFO 2023-11-15 12:00:41.185836300 +0100
+++ new/python-masakariclient-8.4.0/PKG-INFO 2024-02-29 14:26:01.804646700 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.2
Name: python-masakariclient
-Version: 8.3.0
+Version: 8.4.0
Summary: masakariclient module and a CLI tool for masakari
Home-page: https://docs.openstack.org/python-masakariclient/latest/
Author: OpenStack
@@ -40,4 +40,6 @@
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
+Classifier: Programming Language :: Python :: 3.10
+Classifier: Programming Language :: Python :: 3.11
Requires-Python: >=3.8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-masakariclient-8.3.0/python_masakariclient.egg-info/PKG-INFO new/python-masakariclient-8.4.0/python_masakariclient.egg-info/PKG-INFO
--- old/python-masakariclient-8.3.0/python_masakariclient.egg-info/PKG-INFO 2023-11-15 12:00:41.000000000 +0100
+++ new/python-masakariclient-8.4.0/python_masakariclient.egg-info/PKG-INFO 2024-02-29 14:26:01.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.2
Name: python-masakariclient
-Version: 8.3.0
+Version: 8.4.0
Summary: masakariclient module and a CLI tool for masakari
Home-page: https://docs.openstack.org/python-masakariclient/latest/
Author: OpenStack
@@ -40,4 +40,6 @@
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
+Classifier: Programming Language :: Python :: 3.10
+Classifier: Programming Language :: Python :: 3.11
Requires-Python: >=3.8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-masakariclient-8.3.0/python_masakariclient.egg-info/pbr.json new/python-masakariclient-8.4.0/python_masakariclient.egg-info/pbr.json
--- old/python-masakariclient-8.3.0/python_masakariclient.egg-info/pbr.json 2023-11-15 12:00:41.000000000 +0100
+++ new/python-masakariclient-8.4.0/python_masakariclient.egg-info/pbr.json 2024-02-29 14:26:01.000000000 +0100
@@ -1 +1 @@
-{"git_version": "b43a4ce", "is_release": true}
\ No newline at end of file
+{"git_version": "7587dda", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-masakariclient-8.3.0/setup.cfg new/python-masakariclient-8.4.0/setup.cfg
--- old/python-masakariclient-8.3.0/setup.cfg 2023-11-15 12:00:41.189836300 +0100
+++ new/python-masakariclient-8.4.0/setup.cfg 2024-02-29 14:26:01.804646700 +0100
@@ -19,6 +19,8 @@
Programming Language :: Python :: 3
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
+ Programming Language :: Python :: 3.10
+ Programming Language :: Python :: 3.11
[files]
packages =
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-manilaclient for openSUSE:Factory checked in at 2024-03-25 21:11:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-manilaclient (Old)
and /work/SRC/openSUSE:Factory/.python-manilaclient.new.1905 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-manilaclient"
Mon Mar 25 21:11:22 2024 rev:24 rq:1161189 version:4.8.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-manilaclient/python-manilaclient.changes 2024-01-15 22:19:20.143079305 +0100
+++ /work/SRC/openSUSE:Factory/.python-manilaclient.new.1905/python-manilaclient.changes 2024-03-25 21:18:05.455214338 +0100
@@ -1,0 +2,13 @@
+Sun Mar 24 20:08:53 UTC 2024 - cloud-devel(a)suse.de
+
+- update to version 4.8.0
+ - Bump hacking
+ - Fix share force delete case
+ - Update python classifier in setup.cfg
+ - reno: Update master for unmaintained/yoga
+ - CLI for disable service reason
+ - Fix "per_share_gigabytes" in "openstack quota set"
+ - [OSC] Add OSC Functional Tests Snapshot Instances
+ - Fix list call when search_opts isn't provided
+
+-------------------------------------------------------------------
Old:
----
python-manilaclient-4.7.0.tar.gz
New:
----
python-manilaclient-4.8.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-manilaclient.spec ++++++
--- /var/tmp/diff_new_pack.1Ne8bJ/_old 2024-03-25 21:18:06.267244203 +0100
+++ /var/tmp/diff_new_pack.1Ne8bJ/_new 2024-03-25 21:18:06.271244351 +0100
@@ -17,13 +17,13 @@
Name: python-manilaclient
-Version: 4.7.0
+Version: 4.8.0
Release: 0
Summary: Client Library for OpenStack Share API
License: Apache-2.0
Group: Development/Languages/Python
URL: https://docs.openstack.org/python-manilaclient
-Source0: https://files.pythonhosted.org/packages/source/p/python-manilaclient/python…
+Source0: https://files.pythonhosted.org/packages/source/p/python-manilaclient/python…
BuildRequires: openstack-macros
BuildRequires: python3-ddt
BuildRequires: python3-fixtures
@@ -76,13 +76,13 @@
This package contains auto-generated documentation.
%prep
-%autosetup -p1 -n python-manilaclient-4.7.0
+%autosetup -p1 -n python-manilaclient-4.8.0
%py_req_cleanup
%build
%{py3_build}
-PBR_VERSION=4.7.0 %sphinx_build -b html doc/source doc/build/html
+PBR_VERSION=4.8.0 %sphinx_build -b html doc/source doc/build/html
# remove the sphinx-build leftovers
rm -rf doc/build/html/.{doctrees,buildinfo}
++++++ python-manilaclient-4.7.0.tar.gz -> python-manilaclient-4.8.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-manilaclient-4.7.0/AUTHORS new/python-manilaclient-4.8.0/AUTHORS
--- old/python-manilaclient-4.7.0/AUTHORS 2023-11-20 08:06:08.000000000 +0100
+++ new/python-manilaclient-4.8.0/AUTHORS 2024-03-01 10:55:55.000000000 +0100
@@ -98,6 +98,7 @@
Stephen Finucane <stephenfin(a)redhat.com>
Sun Jun <jun.sun(a)intel.com>
Swapnil Kulkarni (coolsvap) <me(a)coolsvap.net>
+Takashi Kajinami <kajinamit(a)oss.nttdata.com>
Takashi Kajinami <tkajinam(a)redhat.com>
Thomas Bechtold <tbechtold(a)suse.com>
Tom Barron <tpb(a)dyncloud.net>
@@ -165,6 +166,7 @@
pengyuesheng <pengyuesheng(a)gohighsec.com>
qingszhao <zhao.daqing(a)99cloud.net>
ricolin <rico.l(a)inwinstack.com>
+sdailey <samuel.dailey(a)ndus.edu>
shu-mutou <shu-mutou(a)rf.jp.nec.com>
silvacarloss <ces.eduardo98(a)gmail.com>
sneha.gaddam <sneha.gaddam(a)capitalone.com>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-manilaclient-4.7.0/ChangeLog new/python-manilaclient-4.8.0/ChangeLog
--- old/python-manilaclient-4.7.0/ChangeLog 2023-11-20 08:06:08.000000000 +0100
+++ new/python-manilaclient-4.8.0/ChangeLog 2024-03-01 10:55:55.000000000 +0100
@@ -1,12 +1,24 @@
CHANGES
=======
+4.8.0
+-----
+
+* CLI for disable service reason
+* reno: Update master for unmaintained/yoga
+* Fix share force delete case
+* Bump hacking
+* Fix "per\_share\_gigabytes" in "openstack quota set"
+* Fix list call when search\_opts isn't provided
+* Update python classifier in setup.cfg
+
4.7.0
-----
* Fix default share type resolution in OSC
* Fix "test\_share\_access\_show" osc functional test
* Fix decoder path and add transfer commands
+* [OSC] Add OSC Functional Tests Snapshot Instances
* Update master for stable/2023.2
4.6.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-manilaclient-4.7.0/PKG-INFO new/python-manilaclient-4.8.0/PKG-INFO
--- old/python-manilaclient-4.7.0/PKG-INFO 2023-11-20 08:06:08.849259900 +0100
+++ new/python-manilaclient-4.8.0/PKG-INFO 2024-03-01 10:55:55.633288000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.2
Name: python-manilaclient
-Version: 4.7.0
+Version: 4.8.0
Summary: Client library for OpenStack Manila API.
Home-page: https://docs.openstack.org/python-manilaclient/latest/
Author: OpenStack
@@ -128,4 +128,6 @@
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
+Classifier: Programming Language :: Python :: 3.10
+Classifier: Programming Language :: Python :: 3.11
Requires-Python: >=3.8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-manilaclient-4.7.0/manilaclient/api_versions.py new/python-manilaclient-4.8.0/manilaclient/api_versions.py
--- old/python-manilaclient-4.7.0/manilaclient/api_versions.py 2023-11-20 08:05:46.000000000 +0100
+++ new/python-manilaclient-4.8.0/manilaclient/api_versions.py 2024-03-01 10:55:26.000000000 +0100
@@ -27,7 +27,7 @@
LOG = logging.getLogger(__name__)
-MAX_VERSION = '2.82'
+MAX_VERSION = '2.83'
MIN_VERSION = '2.0'
DEPRECATED_VERSION = '1.0'
_VERSIONED_METHOD_MAP = {}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-manilaclient-4.7.0/manilaclient/common/cliutils.py new/python-manilaclient-4.8.0/manilaclient/common/cliutils.py
--- old/python-manilaclient-4.7.0/manilaclient/common/cliutils.py 2023-11-20 08:05:46.000000000 +0100
+++ new/python-manilaclient-4.8.0/manilaclient/common/cliutils.py 2024-03-01 10:55:26.000000000 +0100
@@ -251,8 +251,8 @@
return getattr(f, 'service_type', None)
-def pretty_choice_list(l):
- return ', '.join("'%s'" % i for i in l)
+def pretty_choice_list(choices):
+ return ', '.join("'%s'" % choice for choice in choices)
def exit(msg=''):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-manilaclient-4.7.0/manilaclient/osc/v2/quotas.py new/python-manilaclient-4.8.0/manilaclient/osc/v2/quotas.py
--- old/python-manilaclient-4.7.0/manilaclient/osc/v2/quotas.py 2023-11-20 08:05:46.000000000 +0100
+++ new/python-manilaclient-4.8.0/manilaclient/osc/v2/quotas.py 2024-03-01 10:55:26.000000000 +0100
@@ -160,7 +160,6 @@
"gigabytes": parsed_args.gigabytes,
"snapshot_gigabytes": parsed_args.snapshot_gigabytes,
"share_networks": parsed_args.share_networks,
- "per_share_gigabytes": parsed_args.per_share_gigabytes,
}
if parsed_args.share_type is not None:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-manilaclient-4.7.0/manilaclient/osc/v2/services.py new/python-manilaclient-4.8.0/manilaclient/osc/v2/services.py
--- old/python-manilaclient-4.7.0/manilaclient/osc/v2/services.py 2023-11-20 08:05:46.000000000 +0100
+++ new/python-manilaclient-4.8.0/manilaclient/osc/v2/services.py 2024-03-01 10:55:26.000000000 +0100
@@ -13,6 +13,7 @@
from osc_lib import exceptions
from osc_lib import utils as osc_utils
+from manilaclient import api_versions
from manilaclient.common._i18n import _
@@ -44,9 +45,20 @@
action='store_true',
help=_('Disable share service'),
)
+ parser.add_argument(
+ "--disable-reason",
+ metavar="<reason>",
+ help=_("Reason for disabling the service "
+ "(should be used with --disable option)")
+ )
return parser
def take_action(self, parsed_args):
+ if parsed_args.disable_reason and not parsed_args.disable:
+ msg = _("Cannot specify option --disable-reason without "
+ "--disable specified.")
+ raise exceptions.CommandError(msg)
+
share_client = self.app.client_manager.share
if parsed_args.enable:
@@ -58,9 +70,19 @@
"Failed to enable service: %s" % e))
if parsed_args.disable:
+ if parsed_args.disable_reason:
+ if share_client.api_version < api_versions.APIVersion("2.83"):
+ raise exceptions.CommandError(
+ "Service disable reason can be specified only with "
+ "manila API version >= 2.83")
try:
- share_client.services.disable(
- parsed_args.host, parsed_args.binary)
+ if parsed_args.disable_reason:
+ share_client.services.disable(
+ parsed_args.host, parsed_args.binary,
+ disable_reason=parsed_args.disable_reason)
+ else:
+ share_client.services.disable(
+ parsed_args.host, parsed_args.binary)
except Exception as e:
raise exceptions.CommandError(_(
"Failed to disable service: %s" % e))
@@ -127,6 +149,8 @@
'State',
'Updated At'
]
+ if share_client.api_version >= api_versions.APIVersion("2.83"):
+ columns.append('Disabled Reason')
data = (osc_utils.get_dict_properties(
service._info, columns) for service in services)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-manilaclient-4.7.0/manilaclient/osc/v2/share.py new/python-manilaclient-4.8.0/manilaclient/osc/v2/share.py
--- old/python-manilaclient-4.7.0/manilaclient/osc/v2/share.py 2023-11-20 08:05:46.000000000 +0100
+++ new/python-manilaclient-4.8.0/manilaclient/osc/v2/share.py 2024-03-01 10:55:26.000000000 +0100
@@ -350,7 +350,7 @@
if parsed_args.force:
share_client.shares.force_delete(share_obj)
- if parsed_args.soft:
+ elif parsed_args.soft:
if share_client.api_version >= api_versions.APIVersion(
'2.69'):
share_client.shares.soft_delete(share_obj)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-manilaclient-4.7.0/manilaclient/tests/functional/base.py new/python-manilaclient-4.8.0/manilaclient/tests/functional/base.py
--- old/python-manilaclient-4.7.0/manilaclient/tests/functional/base.py 2023-11-20 08:05:46.000000000 +0100
+++ new/python-manilaclient-4.8.0/manilaclient/tests/functional/base.py 2024-03-01 10:55:26.000000000 +0100
@@ -98,7 +98,7 @@
res["deleted"] = False
if "client" not in res:
res["client"] = cls.get_cleanup_client()
- if not(res["deleted"]):
+ if not res["deleted"]:
res_id = res["id"]
client = res["client"]
deletion_params = res.get("deletion_params")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-manilaclient-4.7.0/manilaclient/tests/functional/osc/base.py new/python-manilaclient-4.8.0/manilaclient/tests/functional/osc/base.py
--- old/python-manilaclient-4.7.0/manilaclient/tests/functional/osc/base.py 2023-11-20 08:05:46.000000000 +0100
+++ new/python-manilaclient-4.8.0/manilaclient/tests/functional/osc/base.py 2024-03-01 10:55:26.000000000 +0100
@@ -145,7 +145,7 @@
snapshot_id=None, properties=None, share_network=None,
description=None, public=False, share_type=None,
availability_zone=None, share_group=None,
- add_cleanup=True, client=None,
+ add_cleanup=True, client=None, wait=None,
wait_for_status='available'):
name = name or data_utils.rand_name('autotest_share_name')
@@ -174,6 +174,8 @@
cmd = cmd + ' --availability-zone %s' % availability_zone
if share_group:
cmd = cmd + ' --share-group %s' % share_group
+ if wait:
+ cmd = cmd + ' --wait'
share_object = self.dict_result('share', cmd, client=client)
self._wait_for_object_status(
@@ -422,7 +424,7 @@
if availability_zone:
cmd += f' --availability-zone {availability_zone}'
if restart_check:
- cmd += f' --restart-check'
+ cmd += ' --restart-check'
check_result = self.dict_result('share', cmd)
return check_result
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-manilaclient-4.7.0/manilaclient/tests/functional/osc/test_resource_locks.py new/python-manilaclient-4.8.0/manilaclient/tests/functional/osc/test_resource_locks.py
--- old/python-manilaclient-4.7.0/manilaclient/tests/functional/osc/test_resource_locks.py 2023-11-20 08:05:46.000000000 +0100
+++ new/python-manilaclient-4.8.0/manilaclient/tests/functional/osc/test_resource_locks.py 2024-03-01 10:55:26.000000000 +0100
@@ -109,7 +109,7 @@
'lock list --lock-context user '
f' --resource {self.share["id"]}')
self.assertEqual(2, len(locks))
- self.assertNotIn(lock_3['id'], [l['ID'] for l in locks])
+ self.assertNotIn(lock_3['id'], [lock['ID'] for lock in locks])
locks = self.listing_result('share',
'lock list --lock-context user'
@@ -118,9 +118,9 @@
' --sort-dir desc '
' --limit 1')
self.assertEqual(1, len(locks))
- self.assertIn(lock_2['id'], [l['ID'] for l in locks])
- self.assertNotIn(lock_1['id'], [l['ID'] for l in locks])
- self.assertNotIn(lock_3['id'], [l['ID'] for l in locks])
+ self.assertIn(lock_2['id'], [lock['ID'] for lock in locks])
+ self.assertNotIn(lock_1['id'], [lock['ID'] for lock in locks])
+ self.assertNotIn(lock_3['id'], [lock['ID'] for lock in locks])
def test_lock_set_unset_lock_reason(self):
lock = self.create_resource_lock(self.share['id'],
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-manilaclient-4.7.0/manilaclient/tests/functional/osc/test_share_access_rules.py new/python-manilaclient-4.8.0/manilaclient/tests/functional/osc/test_share_access_rules.py
--- old/python-manilaclient-4.7.0/manilaclient/tests/functional/osc/test_share_access_rules.py 2023-11-20 08:05:46.000000000 +0100
+++ new/python-manilaclient-4.8.0/manilaclient/tests/functional/osc/test_share_access_rules.py 2024-03-01 10:55:26.000000000 +0100
@@ -186,7 +186,7 @@
output = self.openstack(
'share',
params=f'access list {share["id"]} --access-to {access_to_filter}',
- flags=f'--os-share-api-version 2.82')
+ flags='--os-share-api-version 2.82')
access_rule_list = self.parser.listing(output)
self.assertTrue(len(access_rule_list) == 1)
@@ -214,7 +214,7 @@
self.assertEqual(access_rule_show['created_at'],
access_rule['created_at'])
self.assertEqual(access_rule_show['properties'], '')
- self.assertTrue('updated_at' in access_rule_show)
+ self.assertIn('updated_at', access_rule_show)
class SetShareAccessTestCase(base.OSCClientTestBase):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-manilaclient-4.7.0/manilaclient/tests/functional/osc/test_share_services.py new/python-manilaclient-4.8.0/manilaclient/tests/functional/osc/test_share_services.py
--- old/python-manilaclient-4.7.0/manilaclient/tests/functional/osc/test_share_services.py 2023-11-20 08:05:46.000000000 +0100
+++ new/python-manilaclient-4.8.0/manilaclient/tests/functional/osc/test_share_services.py 2024-03-01 10:55:26.000000000 +0100
@@ -45,11 +45,12 @@
first_service = service[0]
self.openstack(f'share service set {first_service["Host"]} '
f'{first_service["Binary"]} '
- '--disable')
+ '--disable --disable-reason test')
result = self.listing_result('share service',
'list --status disabled')
self.assertEqual(first_service['ID'], result[0]['ID'])
self.assertEqual('disabled', result[0]['Status'])
+ self.assertEqual('test', result[0]['Disabled Reason'])
# enable the share service again
self.openstack(f'share service set {first_service["Host"]} '
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-manilaclient-4.7.0/manilaclient/tests/functional/osc/test_share_snapshot_instances.py new/python-manilaclient-4.8.0/manilaclient/tests/functional/osc/test_share_snapshot_instances.py
--- old/python-manilaclient-4.7.0/manilaclient/tests/functional/osc/test_share_snapshot_instances.py 1970-01-01 01:00:00.000000000 +0100
+++ new/python-manilaclient-4.8.0/manilaclient/tests/functional/osc/test_share_snapshot_instances.py 2024-03-01 10:55:26.000000000 +0100
@@ -0,0 +1,75 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
+from manilaclient.tests.functional.osc import base
+
+
+class ShareSnapshotInstancesCLITest(base.OSCClientTestBase):
+
+ def test_openstack_share_snapshot_instance_list(self):
+ share = self.create_share()
+ snapshot = self.create_snapshot(share['id'])
+ share_snapshot_instances_list = self.listing_result(
+ 'share snapshot instance', 'list --detailed')
+ self.assertTableStruct(share_snapshot_instances_list, [
+ 'ID',
+ 'Snapshot ID',
+ 'Status',
+ 'Created At',
+ 'Updated At',
+ 'Share ID',
+ 'Share Instance ID',
+ 'Progress',
+ 'Provider Location'
+ ])
+ self.assertIn(snapshot['id'],
+ [item['Snapshot ID'] for item in (
+ share_snapshot_instances_list)])
+
+ def test_openstack_share_snapshot_instance_show(self):
+ share = self.create_share()
+ snapshot = self.create_snapshot(share['id'], wait=True)
+
+ share_snapshot_instance = self.listing_result(
+ "share snapshot instance", f'list --snapshot {snapshot["id"]}')
+ result = self.dict_result('share snapshot instance',
+ f'show {share_snapshot_instance[0]["ID"]}')
+
+ self.assertEqual(share_snapshot_instance[0]['ID'], result['id'])
+ self.assertEqual(share_snapshot_instance[0]['Snapshot ID'],
+ result['snapshot_id'])
+
+ listing_result = self.listing_result(
+ 'share snapshot instance', f'show '
+ f'{share_snapshot_instance[0]["ID"]}')
+ self.assertTableStruct(listing_result, [
+ 'Field',
+ 'Value'
+ ])
+
+ def test_openstack_share_snapshot_instance_set(self):
+ share = self.create_share()
+ snapshot = self.create_snapshot(share['id'], wait=True)
+ share_snapshot_instance = self.listing_result(
+ "share snapshot instance", f'list --snapshot {snapshot["id"]}')
+ result1 = self.dict_result('share snapshot instance',
+ f'show {share_snapshot_instance[0]["ID"]}')
+ self.assertEqual(share_snapshot_instance[0]['ID'], result1['id'])
+ self.assertEqual(snapshot['id'], result1['snapshot_id'])
+ self.assertEqual('available', result1['status'])
+
+ self.openstack('share snapshot instance set '
+ f'{share_snapshot_instance[0]["ID"]} --status error')
+ result2 = self.dict_result('share snapshot instance',
+ f'show {share_snapshot_instance[0]["ID"]}')
+ self.assertEqual(share_snapshot_instance[0]["ID"], result2['id'])
+ self.assertEqual('error', result2['status'])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-manilaclient-4.7.0/manilaclient/tests/unit/fakes.py new/python-manilaclient-4.8.0/manilaclient/tests/unit/fakes.py
--- old/python-manilaclient-4.7.0/manilaclient/tests/unit/fakes.py 2023-11-20 08:05:46.000000000 +0100
+++ new/python-manilaclient-4.8.0/manilaclient/tests/unit/fakes.py 2024-03-01 10:55:26.000000000 +0100
@@ -65,7 +65,7 @@
break
assert found, 'Expected %s %s; got %s' % (
- expected, self.client.callstack)
+ expected[0], expected[1], self.client.callstack)
if body is not None:
try:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-manilaclient-4.7.0/manilaclient/tests/unit/osc/v2/test_quotas.py new/python-manilaclient-4.8.0/manilaclient/tests/unit/osc/v2/test_quotas.py
--- old/python-manilaclient-4.7.0/manilaclient/tests/unit/osc/v2/test_quotas.py 2023-11-20 08:05:46.000000000 +0100
+++ new/python-manilaclient-4.8.0/manilaclient/tests/unit/osc/v2/test_quotas.py 2024-03-01 10:55:26.000000000 +0100
@@ -78,8 +78,7 @@
share_networks=None,
shares=40,
snapshot_gigabytes=None,
- snapshots=None,
- per_share_gigabytes=None)
+ snapshots=None)
self.assertIsNone(result)
mock_find_resource.assert_not_called()
self.quotas_mock.assert_not_called()
@@ -107,7 +106,6 @@
shares=40,
snapshot_gigabytes=None,
snapshots=None,
- per_share_gigabytes=None,
tenant_id=self.project.id,
user_id=None)
self.assertIsNone(result)
@@ -135,7 +133,6 @@
shares=None,
snapshot_gigabytes=None,
snapshots=None,
- per_share_gigabytes=None,
tenant_id=self.project.id,
user_id=None)
self.assertIsNone(result)
@@ -164,7 +161,6 @@
shares=None,
snapshot_gigabytes=None,
snapshots=None,
- per_share_gigabytes=None,
tenant_id=self.project.id,
user_id=None)
self.assertIsNone(result)
@@ -195,7 +191,6 @@
snapshot_gigabytes=None,
snapshots=None,
tenant_id=self.project.id,
- per_share_gigabytes=None,
user_id=None)
self.assertIsNone(result)
@@ -290,7 +285,6 @@
shares=None,
snapshot_gigabytes=None,
snapshots=None,
- per_share_gigabytes=None,
tenant_id=self.project.id,
user_id=None)
self.assertIsNone(result)
@@ -308,6 +302,22 @@
]
parsed_args = self.check_parser(self.cmd, arglist, verifylist)
+ self.assertRaises(
+ exceptions.CommandError, self.cmd.take_action, parsed_args)
+
+ def test_quota_set_per_share_gigabytes_exception(self):
+ self.app.client_manager.share.api_version = api_versions.APIVersion(
+ '2.61')
+ arglist = [
+ self.project.id,
+ '--per-share-gigabytes', '10',
+ ]
+ verifylist = [
+ ('project', self.project.id),
+ ('per_share_gigabytes', 10)
+ ]
+
+ parsed_args = self.check_parser(self.cmd, arglist, verifylist)
self.assertRaises(
exceptions.CommandError, self.cmd.take_action, parsed_args)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-manilaclient-4.7.0/manilaclient/tests/unit/osc/v2/test_services.py new/python-manilaclient-4.8.0/manilaclient/tests/unit/osc/v2/test_services.py
--- old/python-manilaclient-4.7.0/manilaclient/tests/unit/osc/v2/test_services.py 2023-11-20 08:05:46.000000000 +0100
+++ new/python-manilaclient-4.8.0/manilaclient/tests/unit/osc/v2/test_services.py 2024-03-01 10:55:26.000000000 +0100
@@ -10,9 +10,11 @@
# License for the specific language governing permissions and limitations
# under the License.
#
+import ddt
from osc_lib import exceptions
from osc_lib import utils as oscutils
+from manilaclient import api_versions
from manilaclient.osc import utils
from manilaclient.osc.v2 import services as osc_services
from manilaclient.tests.unit.osc.v2 import fakes as manila_fakes
@@ -96,6 +98,33 @@
self.share_service.binary)
self.assertIsNone(result)
+ def test_service_set_disable_with_reason(self):
+ self.app.client_manager.share.api_version = api_versions.APIVersion(
+ "2.83")
+ reason = 'earthquake'
+ arglist = [
+ '--disable',
+ '--disable-reason', reason,
+ self.share_service.host,
+ self.share_service.binary,
+ ]
+ verifylist = [
+ ('host', self.share_service.host),
+ ('binary', self.share_service.binary),
+ ('disable', True),
+ ('disable_reason', reason),
+ ]
+ parsed_args = self.check_parser(self.cmd, arglist, verifylist)
+
+ result = self.cmd.take_action(parsed_args)
+
+ self.services_mock.disable.assert_called_with(
+ self.share_service.host,
+ self.share_service.binary,
+ disable_reason=reason
+ )
+ self.assertIsNone(result)
+
def test_share_service_set_disable_exception(self):
arglist = [
self.share_service.host,
@@ -116,6 +145,7 @@
parsed_args)
+(a)ddt.ddt
class TestShareServiceList(TestShareService):
columns = [
@@ -127,22 +157,31 @@
'state',
'updated_at'
]
+ columns_with_reason = columns + ['disabled_reason']
column_headers = utils.format_column_headers(columns)
+ column_headers_with_reason = utils.format_column_headers(
+ columns_with_reason)
def setUp(self):
super(TestShareServiceList, self).setUp()
self.services_list = (
- manila_fakes.FakeShareService.create_fake_services()
+ manila_fakes.FakeShareService.create_fake_services(
+ {'disabled_reason': ''})
)
self.services_mock.list.return_value = self.services_list
self.values = (oscutils.get_dict_properties(
i._info, self.columns) for i in self.services_list)
+ self.values_with_reason = (oscutils.get_dict_properties(
+ i._info, self.columns_with_reason) for i in self.services_list)
self.cmd = osc_services.ListShareService(self.app, None)
- def test_share_service_list(self):
+ @ddt.data('2.82', '2.83')
+ def test_share_service_list(self, version):
+ self.app.client_manager.share.api_version = api_versions.APIVersion(
+ version)
arglist = []
verifylist = []
parsed_args = self.check_parser(self.cmd, arglist, verifylist)
@@ -157,10 +196,17 @@
'state': None,
'zone': None
})
- self.assertEqual(self.column_headers, columns)
- self.assertEqual(list(self.values), list(data))
-
- def test_share_service_list_host_status(self):
+ if api_versions.APIVersion(version) >= api_versions.APIVersion("2.83"):
+ self.assertEqual(self.column_headers_with_reason, columns)
+ self.assertEqual(list(self.values_with_reason), list(data))
+ else:
+ self.assertEqual(self.column_headers, columns)
+ self.assertEqual(list(self.values), list(data))
+
+ @ddt.data('2.82', '2.83')
+ def test_share_service_list_host_status(self, version):
+ self.app.client_manager.share.api_version = api_versions.APIVersion(
+ version)
arglist = [
'--host', self.services_list[0].host,
'--status', self.services_list[1].status
@@ -181,10 +227,17 @@
'state': None,
'zone': None
})
- self.assertEqual(self.column_headers, columns)
- self.assertEqual(list(self.values), list(data))
-
- def test_share_service_list_binary_state_zone(self):
+ if api_versions.APIVersion(version) >= api_versions.APIVersion("2.83"):
+ self.assertEqual(self.column_headers_with_reason, columns)
+ self.assertEqual(list(self.values_with_reason), list(data))
+ else:
+ self.assertEqual(self.column_headers, columns)
+ self.assertEqual(list(self.values), list(data))
+
+ @ddt.data('2.82', '2.83')
+ def test_share_service_list_binary_state_zone(self, version):
+ self.app.client_manager.share.api_version = api_versions.APIVersion(
+ version)
arglist = [
'--binary', self.services_list[0].binary,
'--state', self.services_list[1].state,
@@ -207,5 +260,9 @@
'state': self.services_list[1].state,
'zone': self.services_list[1].zone
})
- self.assertEqual(self.column_headers, columns)
- self.assertEqual(list(self.values), list(data))
+ if api_versions.APIVersion(version) >= api_versions.APIVersion("2.83"):
+ self.assertEqual(self.column_headers_with_reason, columns)
+ self.assertEqual(list(self.values_with_reason), list(data))
+ else:
+ self.assertEqual(self.column_headers, columns)
+ self.assertEqual(list(self.values), list(data))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-manilaclient-4.7.0/manilaclient/tests/unit/osc/v2/test_share.py new/python-manilaclient-4.8.0/manilaclient/tests/unit/osc/v2/test_share.py
--- old/python-manilaclient-4.7.0/manilaclient/tests/unit/osc/v2/test_share.py 2023-11-20 08:05:46.000000000 +0100
+++ new/python-manilaclient-4.8.0/manilaclient/tests/unit/osc/v2/test_share.py 2024-03-01 10:55:26.000000000 +0100
@@ -425,6 +425,8 @@
result = self.cmd.take_action(parsed_args)
self.shares_mock.delete.assert_called_with(shares[0], None)
+ self.shares_mock.soft_delete.assert_not_called()
+ self.shares_mock.force_delete.assert_not_called()
self.assertIsNone(result)
def test_share_delete_many(self):
@@ -481,6 +483,8 @@
result = self.cmd.take_action(parsed_args)
self.shares_mock.force_delete.assert_called_once_with(shares[0])
+ self.shares_mock.delete.assert_not_called()
+ self.shares_mock.soft_delete.assert_not_called()
self.assertIsNone(result)
def test_share_delete_with_soft(self):
@@ -500,6 +504,8 @@
result = self.cmd.take_action(parsed_args)
self.shares_mock.soft_delete.assert_called_once_with(shares[0])
+ self.shares_mock.delete.assert_not_called()
+ self.shares_mock.force_delete.assert_not_called()
self.assertIsNone(result)
def test_share_delete_wrong_name(self):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-manilaclient-4.7.0/manilaclient/tests/unit/v2/fakes.py new/python-manilaclient-4.8.0/manilaclient/tests/unit/v2/fakes.py
--- old/python-manilaclient-4.7.0/manilaclient/tests/unit/v2/fakes.py 2023-11-20 08:05:46.000000000 +0100
+++ new/python-manilaclient-4.8.0/manilaclient/tests/unit/v2/fakes.py 2024-03-01 10:55:26.000000000 +0100
@@ -1087,7 +1087,7 @@
return (200, {}, {'extra_specs': {'k': 'v'}})
def delete_types_1_extra_specs_k(self, **kw):
- return(204, {}, None)
+ return (204, {}, None)
def delete_types_1(self, **kw):
return (202, {}, None)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-manilaclient-4.7.0/manilaclient/tests/unit/v2/test_limits.py new/python-manilaclient-4.8.0/manilaclient/tests/unit/v2/test_limits.py
--- old/python-manilaclient-4.7.0/manilaclient/tests/unit/v2/test_limits.py 2023-11-20 08:05:46.000000000 +0100
+++ new/python-manilaclient-4.8.0/manilaclient/tests/unit/v2/test_limits.py 2024-03-01 10:55:26.000000000 +0100
@@ -160,5 +160,5 @@
api.client.get.assert_called_once_with('/limits')
self.assertIsInstance(lim, limits.Limits)
- for l in lim.absolute:
- self.assertEqual(l1, l)
+ for li in lim.absolute:
+ self.assertEqual(l1, li)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-manilaclient-4.7.0/manilaclient/tests/unit/v2/test_share_networks.py new/python-manilaclient-4.8.0/manilaclient/tests/unit/v2/test_share_networks.py
--- old/python-manilaclient-4.7.0/manilaclient/tests/unit/v2/test_share_networks.py 2023-11-20 08:05:46.000000000 +0100
+++ new/python-manilaclient-4.8.0/manilaclient/tests/unit/v2/test_share_networks.py 2024-03-01 10:55:26.000000000 +0100
@@ -50,7 +50,7 @@
api_version = api_versions.APIVersion(microversion)
values = self.values.copy()
if (api_version >= api_versions.APIVersion("2.26")):
- del(values['nova_net_id'])
+ del values['nova_net_id']
body_expected = {share_networks.RESOURCE_NAME: values}
manager = share_networks.ShareNetworkManager(
@@ -123,7 +123,7 @@
api_version = api_versions.APIVersion(microversion)
values = self.values.copy()
if (api_version >= api_versions.APIVersion("2.26")):
- del(values['nova_net_id'])
+ del values['nova_net_id']
body_expected = {share_networks.RESOURCE_NAME: values}
manager = share_networks.ShareNetworkManager(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-manilaclient-4.7.0/manilaclient/v2/services.py new/python-manilaclient-4.8.0/manilaclient/v2/services.py
--- old/python-manilaclient-4.7.0/manilaclient/v2/services.py 2023-11-20 08:05:46.000000000 +0100
+++ new/python-manilaclient-4.8.0/manilaclient/v2/services.py 2024-03-01 10:55:26.000000000 +0100
@@ -66,19 +66,27 @@
def enable(self, host, binary): # noqa
return self._do_enable(host, binary, RESOURCE_PATH)
- def _do_disable(self, host, binary, resource_path=RESOURCE_PATH):
+ def _do_disable(self, host, binary, resource_path=RESOURCE_PATH,
+ disable_reason=None):
"""Disable the service specified by hostname and binary."""
body = {"host": host, "binary": binary}
+ if disable_reason:
+ body["disabled_reason"] = disable_reason
return self._update("%s/disable" % resource_path, body)
@api_versions.wraps("1.0", "2.6")
def disable(self, host, binary):
return self._do_disable(host, binary, RESOURCE_PATH_LEGACY)
- @api_versions.wraps("2.7") # noqa
+ @api_versions.wraps("2.7", "2.82") # noqa
def disable(self, host, binary): # noqa
return self._do_disable(host, binary, RESOURCE_PATH)
+ @api_versions.wraps("2.83") # noqa
+ def disable(self, host, binary, disable_reason=None): # noqa
+ return self._do_disable(host, binary, RESOURCE_PATH,
+ disable_reason=disable_reason)
+
def server_api_version(self, url_append=""):
"""Returns the API Version supported by the server.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-manilaclient-4.7.0/manilaclient/v2/shares.py new/python-manilaclient-4.8.0/manilaclient/v2/shares.py
--- old/python-manilaclient-4.7.0/manilaclient/v2/shares.py 2023-11-20 08:05:46.000000000 +0100
+++ new/python-manilaclient-4.8.0/manilaclient/v2/shares.py 2024-03-01 10:55:26.000000000 +0100
@@ -357,6 +357,8 @@
def list(self, detailed=True, search_opts=None, # noqa
sort_key=None, sort_dir=None, return_raw=False):
"""Get a list of all shares."""
+ if search_opts is None:
+ search_opts = {}
search_opts.pop("is_soft_deleted", None)
return self.do_list(detailed=detailed, search_opts=search_opts,
sort_key=sort_key, sort_dir=sort_dir,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-manilaclient-4.7.0/manilaclient/v2/shell.py new/python-manilaclient-4.8.0/manilaclient/v2/shell.py
--- old/python-manilaclient-4.7.0/manilaclient/v2/shell.py 2023-11-20 08:05:46.000000000 +0100
+++ new/python-manilaclient-4.8.0/manilaclient/v2/shell.py 2024-03-01 10:55:26.000000000 +0100
@@ -4884,6 +4884,7 @@
share = _find_share(cs, args.share)
_print_share(cs, share)
+
@cliutils.arg('share', metavar='<share>',
help='Name or ID of share to shrink.')
@cliutils.arg('new_size',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-manilaclient-4.7.0/python_manilaclient.egg-info/PKG-INFO new/python-manilaclient-4.8.0/python_manilaclient.egg-info/PKG-INFO
--- old/python-manilaclient-4.7.0/python_manilaclient.egg-info/PKG-INFO 2023-11-20 08:06:08.000000000 +0100
+++ new/python-manilaclient-4.8.0/python_manilaclient.egg-info/PKG-INFO 2024-03-01 10:55:55.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.2
Name: python-manilaclient
-Version: 4.7.0
+Version: 4.8.0
Summary: Client library for OpenStack Manila API.
Home-page: https://docs.openstack.org/python-manilaclient/latest/
Author: OpenStack
@@ -128,4 +128,6 @@
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
+Classifier: Programming Language :: Python :: 3.10
+Classifier: Programming Language :: Python :: 3.11
Requires-Python: >=3.8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-manilaclient-4.7.0/python_manilaclient.egg-info/SOURCES.txt new/python-manilaclient-4.8.0/python_manilaclient.egg-info/SOURCES.txt
--- old/python-manilaclient-4.7.0/python_manilaclient.egg-info/SOURCES.txt 2023-11-20 08:06:08.000000000 +0100
+++ new/python-manilaclient-4.8.0/python_manilaclient.egg-info/SOURCES.txt 2024-03-01 10:55:55.000000000 +0100
@@ -123,6 +123,7 @@
manilaclient/tests/functional/osc/test_share_replica_export_locations.py
manilaclient/tests/functional/osc/test_share_replicas.py
manilaclient/tests/functional/osc/test_share_services.py
+manilaclient/tests/functional/osc/test_share_snapshot_instances.py
manilaclient/tests/functional/osc/test_share_snapshots.py
manilaclient/tests/functional/osc/test_share_transfers.py
manilaclient/tests/functional/osc/test_share_types.py
@@ -363,6 +364,8 @@
releasenotes/notes/bug-1980985-dont-use-share-type-with-snapshot-ref-de0331c640afbbd3.yaml
releasenotes/notes/bug-1999775-add-os-key-0cfc95c7b480df05.yaml
releasenotes/notes/bug-2030686-fix-default-share-lookup-cc7e592a0dc855e1.yaml
+releasenotes/notes/bug-2047249-fix-osc-quota-set-per-share-gigabytes-fcff7f8ce2cc3c75.yaml
+releasenotes/notes/bug-2051737-fix-share-force-delete-request-6d2578fb7da61e3f.yaml
releasenotes/notes/bug-share-access-list-3cf3114doe40k599.yaml
releasenotes/notes/bug_1570085_fix-905786b797379309.yaml
releasenotes/notes/bug_1603387_fix_env_variable_8ed5450aab41aa5f.yaml
@@ -395,6 +398,7 @@
releasenotes/notes/support-create-share-from-snapshot-extra-spec-cdba92f179c1c5c6.yaml
releasenotes/notes/support-share-server-migration-9804752270c6b153.yaml
releasenotes/notes/support-show-type-6380b7c539c95ba8.yaml
+releasenotes/notes/support_add_disabled_reason_to_services-08cb52e4711745c7.yaml
releasenotes/notes/type-create-extra-specs-691572762357ef3b.yaml
releasenotes/notes/update-api-version-create-share-from-snapshot-another-pool-or-backend-694cfda84a41c4ff.yaml
releasenotes/notes/v2-0-0-deprecated-opts-removal-863565618535733d.yaml
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-manilaclient-4.7.0/python_manilaclient.egg-info/pbr.json new/python-manilaclient-4.8.0/python_manilaclient.egg-info/pbr.json
--- old/python-manilaclient-4.7.0/python_manilaclient.egg-info/pbr.json 2023-11-20 08:06:08.000000000 +0100
+++ new/python-manilaclient-4.8.0/python_manilaclient.egg-info/pbr.json 2024-03-01 10:55:55.000000000 +0100
@@ -1 +1 @@
-{"git_version": "64f5814", "is_release": true}
\ No newline at end of file
+{"git_version": "06e96b7", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-manilaclient-4.7.0/releasenotes/notes/bug-2047249-fix-osc-quota-set-per-share-gigabytes-fcff7f8ce2cc3c75.yaml new/python-manilaclient-4.8.0/releasenotes/notes/bug-2047249-fix-osc-quota-set-per-share-gigabytes-fcff7f8ce2cc3c75.yaml
--- old/python-manilaclient-4.7.0/releasenotes/notes/bug-2047249-fix-osc-quota-set-per-share-gigabytes-fcff7f8ce2cc3c75.yaml 1970-01-01 01:00:00.000000000 +0100
+++ new/python-manilaclient-4.8.0/releasenotes/notes/bug-2047249-fix-osc-quota-set-per-share-gigabytes-fcff7f8ce2cc3c75.yaml 2024-03-01 10:55:26.000000000 +0100
@@ -0,0 +1,6 @@
+---
+fixes:
+ - |
+ The `openstack share quota set` command has been fixed to not set
+ `per_share_gigabytes` unless the user has specified the parameter, and
+ unless the user requests, and the server supports API version 2.62.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-manilaclient-4.7.0/releasenotes/notes/bug-2051737-fix-share-force-delete-request-6d2578fb7da61e3f.yaml new/python-manilaclient-4.8.0/releasenotes/notes/bug-2051737-fix-share-force-delete-request-6d2578fb7da61e3f.yaml
--- old/python-manilaclient-4.7.0/releasenotes/notes/bug-2051737-fix-share-force-delete-request-6d2578fb7da61e3f.yaml 1970-01-01 01:00:00.000000000 +0100
+++ new/python-manilaclient-4.8.0/releasenotes/notes/bug-2051737-fix-share-force-delete-request-6d2578fb7da61e3f.yaml 2024-03-01 10:55:26.000000000 +0100
@@ -0,0 +1,5 @@
+---
+fixes:
+ - Share force delete command was sending two REST requests, first force delete and
+ then delete. Fixed it by removing delete request. For more details, please refer to
+ `launchpad bug 2051737 <https://bugs.launchpad.net/python-manilaclient/+bug/2051737>`_
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-manilaclient-4.7.0/releasenotes/notes/support_add_disabled_reason_to_services-08cb52e4711745c7.yaml new/python-manilaclient-4.8.0/releasenotes/notes/support_add_disabled_reason_to_services-08cb52e4711745c7.yaml
--- old/python-manilaclient-4.7.0/releasenotes/notes/support_add_disabled_reason_to_services-08cb52e4711745c7.yaml 1970-01-01 01:00:00.000000000 +0100
+++ new/python-manilaclient-4.8.0/releasenotes/notes/support_add_disabled_reason_to_services-08cb52e4711745c7.yaml 2024-03-01 10:55:26.000000000 +0100
@@ -0,0 +1,5 @@
+---
+features:
+ - Support add disabled reason to services command.
+ See `bug 2037700 <https://bugs.launchpad.net/manila/+bug/2037700>`_
+ for more details.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-manilaclient-4.7.0/releasenotes/source/yoga.rst new/python-manilaclient-4.8.0/releasenotes/source/yoga.rst
--- old/python-manilaclient-4.7.0/releasenotes/source/yoga.rst 2023-11-20 08:05:46.000000000 +0100
+++ new/python-manilaclient-4.8.0/releasenotes/source/yoga.rst 2024-03-01 10:55:26.000000000 +0100
@@ -3,4 +3,4 @@
=========================
.. release-notes::
- :branch: stable/yoga
+ :branch: unmaintained/yoga
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-manilaclient-4.7.0/setup.cfg new/python-manilaclient-4.8.0/setup.cfg
--- old/python-manilaclient-4.7.0/setup.cfg 2023-11-20 08:06:08.853259800 +0100
+++ new/python-manilaclient-4.8.0/setup.cfg 2024-03-01 10:55:55.637289000 +0100
@@ -20,6 +20,8 @@
Programming Language :: Python :: 3
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
+ Programming Language :: Python :: 3.10
+ Programming Language :: Python :: 3.11
[files]
packages =
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-manilaclient-4.7.0/test-requirements.txt new/python-manilaclient-4.8.0/test-requirements.txt
--- old/python-manilaclient-4.7.0/test-requirements.txt 2023-11-20 08:05:46.000000000 +0100
+++ new/python-manilaclient-4.8.0/test-requirements.txt 2024-03-01 10:55:26.000000000 +0100
@@ -1,4 +1,4 @@
-hacking>=3.0.1,<3.1.0 # Apache-2.0
+hacking>=6.1.0,<6.2.0 # Apache-2.0
coverage!=4.4,>=4.0 # Apache-2.0
ddt>=1.0.1 # MIT
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-keystoneclient for openSUSE:Factory checked in at 2024-03-25 21:11:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-keystoneclient (Old)
and /work/SRC/openSUSE:Factory/.python-keystoneclient.new.1905 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-keystoneclient"
Mon Mar 25 21:11:22 2024 rev:39 rq:1161188 version:5.4.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-keystoneclient/python-keystoneclient.changes 2024-01-15 22:19:19.211045053 +0100
+++ /work/SRC/openSUSE:Factory/.python-keystoneclient.new.1905/python-keystoneclient.changes 2024-03-25 21:18:04.107164758 +0100
@@ -1,0 +2,15 @@
+Sun Mar 24 20:07:51 UTC 2024 - cloud-devel(a)suse.de
+
+- update to version 5.4.0
+ - Remove six dependency
+ - Remove deprecated pbr options
+ - Declare Python 3.10 support
+ - Bump hacking
+ - Update master for stable/2023.2
+ - Stop installing python-all-dev in Ubuntu/Debian
+ - Replace abc.abstractproperty with property and abc.abstractmethod
+ - Update python classifier in setup.cfg
+ - Update master for stable/2023.1
+ - reno: Update master for unmaintained/yoga
+
+-------------------------------------------------------------------
Old:
----
python-keystoneclient-5.2.0.tar.gz
New:
----
python-keystoneclient-5.4.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-keystoneclient.spec ++++++
--- /var/tmp/diff_new_pack.llNZio/_old 2024-03-25 21:18:05.143202862 +0100
+++ /var/tmp/diff_new_pack.llNZio/_new 2024-03-25 21:18:05.143202862 +0100
@@ -17,14 +17,14 @@
Name: python-keystoneclient
-Version: 5.2.0
+Version: 5.4.0
Release: 0
Epoch: 0
Summary: Client library for OpenStack Identity API
License: Apache-2.0
Group: Development/Languages/Python
URL: https://docs.openstack.org/python-keystoneclient
-Source0: https://files.pythonhosted.org/packages/source/p/python-keystoneclient/pyth…
+Source0: https://files.pythonhosted.org/packages/source/p/python-keystoneclient/pyth…
BuildRequires: openssl
BuildRequires: openstack-macros
BuildRequires: python3-debtcollector >= 1.2.0
@@ -72,7 +72,7 @@
Identity API.
%prep
-%autosetup -p1 -n python-keystoneclient-5.2.0
+%autosetup -p1 -n python-keystoneclient-5.4.0
%py_req_cleanup
# disable intersphinx - no network access during build
echo "intersphinx_mapping = {}" >> doc/source/conf.py
++++++ python-keystoneclient-5.2.0.tar.gz -> python-keystoneclient-5.4.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/AUTHORS new/python-keystoneclient-5.4.0/AUTHORS
--- old/python-keystoneclient-5.2.0/AUTHORS 2023-09-14 17:26:52.000000000 +0200
+++ new/python-keystoneclient-5.4.0/AUTHORS 2024-03-01 14:53:38.000000000 +0100
@@ -1,3 +1,4 @@
+Aarni Koskela <akx(a)iki.fi>
Aaron Rosen <aaronorosen(a)gmail.com>
Adam Gandelman <adamg(a)canonical.com>
Adam Young <ayoung(a)redhat.com>
@@ -209,6 +210,7 @@
Stuart McLaren <stuart.mclaren(a)hp.com>
Sushil Kumar <sushil.kumar2(a)globallogic.com>
THOMAS J. COCOZZELLO <tjcocozz(a)us.ibm.com>
+Takashi Kajinami <kajinamit(a)oss.nttdata.com>
Takashi Kajinami <tkajinam(a)redhat.com>
Tang Chen <chen.tang(a)easystack.cn>
Thiago Paiva Brito <thiagop(a)lsd.ufcg.edu.br>
@@ -278,6 +280,7 @@
lin-hua-cheng <os.lcheng(a)gmail.com>
liu-sheng <liusheng(a)huawei.com>
liuqing <jing.liuqing(a)99cloud.net>
+ljhuang <huang.liujie(a)99cloud.net>
llg8212 <lilinguo(a)huawei.com>
lrqrun <lrqrun(a)gmail.com>
lvxianguo <lvxianguo(a)inspur.com>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/ChangeLog new/python-keystoneclient-5.4.0/ChangeLog
--- old/python-keystoneclient-5.2.0/ChangeLog 2023-09-14 17:26:52.000000000 +0200
+++ new/python-keystoneclient-5.4.0/ChangeLog 2024-03-01 14:53:38.000000000 +0100
@@ -1,16 +1,34 @@
CHANGES
=======
+5.4.0
+-----
+
+* reno: Update master for unmaintained/yoga
+* Bump hacking
+* Update python classifier in setup.cfg
+
+5.3.0
+-----
+
+* Remove six dependency
+* Remove deprecated pbr options
+* Stop installing python-all-dev in Ubuntu/Debian
+* Declare Python 3.10 support
+* Update master for stable/2023.2
+
5.2.0
-----
* Fix the gate
+* Update master for stable/2023.1
5.1.0
-----
* Switch to 2023.1 Python3 unit tests and generic template name
* Update master for stable/zed
+* Replace abc.abstractproperty with property and abc.abstractmethod
5.0.1
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/PKG-INFO new/python-keystoneclient-5.4.0/PKG-INFO
--- old/python-keystoneclient-5.2.0/PKG-INFO 2023-09-14 17:26:53.087831700 +0200
+++ new/python-keystoneclient-5.4.0/PKG-INFO 2024-03-01 14:53:39.030612500 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.2
Name: python-keystoneclient
-Version: 5.2.0
+Version: 5.4.0
Summary: Client Library for OpenStack Identity
Home-page: https://docs.openstack.org/python-keystoneclient/latest/
Author: OpenStack
@@ -80,4 +80,6 @@
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
+Classifier: Programming Language :: Python :: 3.10
+Classifier: Programming Language :: Python :: 3.11
Requires-Python: >=3.8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/bindep.txt new/python-keystoneclient-5.4.0/bindep.txt
--- old/python-keystoneclient-5.2.0/bindep.txt 2023-09-14 17:26:11.000000000 +0200
+++ new/python-keystoneclient-5.4.0/bindep.txt 2024-03-01 14:53:11.000000000 +0100
@@ -14,7 +14,6 @@
libsasl2-dev [platform:dpkg]
libxml2-dev [platform:dpkg]
libxslt1-dev [platform:dpkg]
-python-all-dev [platform:dpkg]
python3-all-dev [platform:dpkg]
cyrus-sasl-devel [platform:rpm]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/keystoneclient/auth/base.py new/python-keystoneclient-5.4.0/keystoneclient/auth/base.py
--- old/python-keystoneclient-5.2.0/keystoneclient/auth/base.py 2023-09-14 17:26:11.000000000 +0200
+++ new/python-keystoneclient-5.4.0/keystoneclient/auth/base.py 2024-03-01 14:53:11.000000000 +0100
@@ -14,7 +14,6 @@
from debtcollector import removals
from keystoneauth1 import plugin
-import six
import stevedore
from keystoneclient import exceptions
@@ -292,7 +291,7 @@
# select the first ENV that is not false-y or return None
env_vars = (os.environ.get(e) for e in envs)
- default = six.next(six.moves.filter(None, env_vars), None)
+ default = next(filter(None, env_vars), None)
parser.add_argument(*args,
default=default or opt.default,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/keystoneclient/auth/identity/base.py new/python-keystoneclient-5.4.0/keystoneclient/auth/identity/base.py
--- old/python-keystoneclient-5.2.0/keystoneclient/auth/identity/base.py 2023-09-14 17:26:11.000000000 +0200
+++ new/python-keystoneclient-5.4.0/keystoneclient/auth/identity/base.py 2024-03-01 14:53:11.000000000 +0100
@@ -16,7 +16,6 @@
import warnings
from oslo_config import cfg
-import six
from keystoneclient import _discover
from keystoneclient.auth import base
@@ -31,8 +30,7 @@
]
-(a)six.add_metaclass(abc.ABCMeta)
-class BaseIdentityPlugin(base.BaseAuthPlugin):
+class BaseIdentityPlugin(base.BaseAuthPlugin, metaclass=abc.ABCMeta):
# we count a token as valid (not needing refreshing) if it is valid for at
# least this many seconds before the token expiry time
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/keystoneclient/auth/identity/generic/base.py new/python-keystoneclient-5.4.0/keystoneclient/auth/identity/generic/base.py
--- old/python-keystoneclient-5.2.0/keystoneclient/auth/identity/generic/base.py 2023-09-14 17:26:11.000000000 +0200
+++ new/python-keystoneclient-5.4.0/keystoneclient/auth/identity/generic/base.py 2024-03-01 14:53:11.000000000 +0100
@@ -12,10 +12,9 @@
import abc
import logging
+import urllib.parse as urlparse
from oslo_config import cfg
-import six
-import six.moves.urllib.parse as urlparse
from keystoneclient import _discover
from keystoneclient.auth.identity import base
@@ -42,8 +41,7 @@
]
-(a)six.add_metaclass(abc.ABCMeta)
-class BaseGenericPlugin(base.BaseIdentityPlugin):
+class BaseGenericPlugin(base.BaseIdentityPlugin, metaclass=abc.ABCMeta):
"""An identity plugin that is not version dependent.
Internally we will construct a version dependent plugin with the resolved
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/keystoneclient/auth/identity/v2.py new/python-keystoneclient-5.4.0/keystoneclient/auth/identity/v2.py
--- old/python-keystoneclient-5.2.0/keystoneclient/auth/identity/v2.py 2023-09-14 17:26:11.000000000 +0200
+++ new/python-keystoneclient-5.4.0/keystoneclient/auth/identity/v2.py 2024-03-01 14:53:11.000000000 +0100
@@ -14,7 +14,6 @@
import logging
from oslo_config import cfg
-import six
from keystoneclient import access
from keystoneclient.auth.identity import base
@@ -24,8 +23,7 @@
_logger = logging.getLogger(__name__)
-(a)six.add_metaclass(abc.ABCMeta)
-class Auth(base.BaseIdentityPlugin):
+class Auth(base.BaseIdentityPlugin, metaclass=abc.ABCMeta):
"""Identity V2 Authentication Plugin.
:param string auth_url: Identity service endpoint for authorization.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/keystoneclient/auth/identity/v3/base.py new/python-keystoneclient-5.4.0/keystoneclient/auth/identity/v3/base.py
--- old/python-keystoneclient-5.2.0/keystoneclient/auth/identity/v3/base.py 2023-09-14 17:26:11.000000000 +0200
+++ new/python-keystoneclient-5.4.0/keystoneclient/auth/identity/v3/base.py 2024-03-01 14:53:11.000000000 +0100
@@ -15,7 +15,6 @@
from oslo_config import cfg
from oslo_serialization import jsonutils
-import six
from keystoneclient import access
from keystoneclient.auth.identity import base
@@ -27,8 +26,7 @@
__all__ = ('Auth', 'AuthMethod', 'AuthConstructor', 'BaseAuth')
-(a)six.add_metaclass(abc.ABCMeta)
-class BaseAuth(base.BaseIdentityPlugin):
+class BaseAuth(base.BaseIdentityPlugin, metaclass=abc.ABCMeta):
"""Identity V3 Authentication Plugin.
:param string auth_url: Identity service endpoint for authentication.
@@ -198,8 +196,7 @@
**resp_data)
-(a)six.add_metaclass(abc.ABCMeta)
-class AuthMethod(object):
+class AuthMethod(object, metaclass=abc.ABCMeta):
"""One part of a V3 Authentication strategy.
V3 Tokens allow multiple methods to be presented when authentication
@@ -243,8 +240,7 @@
pass # pragma: no cover
-(a)six.add_metaclass(abc.ABCMeta)
-class AuthConstructor(Auth):
+class AuthConstructor(Auth, metaclass=abc.ABCMeta):
"""Abstract base class for creating an Auth Plugin.
The Auth Plugin created contains only one authentication method. This
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/keystoneclient/auth/identity/v3/federated.py new/python-keystoneclient-5.4.0/keystoneclient/auth/identity/v3/federated.py
--- old/python-keystoneclient-5.2.0/keystoneclient/auth/identity/v3/federated.py 2023-09-14 17:26:11.000000000 +0200
+++ new/python-keystoneclient-5.4.0/keystoneclient/auth/identity/v3/federated.py 2024-03-01 14:53:11.000000000 +0100
@@ -13,7 +13,6 @@
import abc
from oslo_config import cfg
-import six
from keystoneclient.auth.identity.v3 import base
from keystoneclient.auth.identity.v3 import token
@@ -21,8 +20,7 @@
__all__ = ('FederatedBaseAuth',)
-(a)six.add_metaclass(abc.ABCMeta)
-class FederatedBaseAuth(base.BaseAuth):
+class FederatedBaseAuth(base.BaseAuth, metaclass=abc.ABCMeta):
rescoping_plugin = token.Token
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/keystoneclient/base.py new/python-keystoneclient-5.4.0/keystoneclient/base.py
--- old/python-keystoneclient-5.2.0/keystoneclient/base.py 2023-09-14 17:26:11.000000000 +0200
+++ new/python-keystoneclient-5.4.0/keystoneclient/base.py 2024-03-01 14:53:11.000000000 +0100
@@ -20,13 +20,12 @@
import abc
import copy
import functools
+import urllib
import warnings
from keystoneauth1 import exceptions as ksa_exceptions
from keystoneauth1 import plugin
from oslo_utils import strutils
-import six
-from six.moves import urllib
from keystoneclient import exceptions as ksc_exceptions
from keystoneclient.i18n import _
@@ -265,8 +264,7 @@
return self._prepare_return_value(resp, body)
-(a)six.add_metaclass(abc.ABCMeta)
-class ManagerWithFind(Manager):
+class ManagerWithFind(Manager, metaclass=abc.ABCMeta):
"""Manager with additional `find()`/`findall()` methods."""
@abc.abstractmethod
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/keystoneclient/common/cms.py new/python-keystoneclient-5.4.0/keystoneclient/common/cms.py
--- old/python-keystoneclient-5.2.0/keystoneclient/common/cms.py 2023-09-14 17:26:11.000000000 +0200
+++ new/python-keystoneclient-5.4.0/keystoneclient/common/cms.py 2024-03-01 14:53:11.000000000 +0100
@@ -26,7 +26,6 @@
import zlib
from debtcollector import removals
-import six
from keystoneclient import exceptions
from keystoneclient.i18n import _
@@ -116,7 +115,7 @@
retcode, err = _check_files_accessible(files)
if process.stderr:
msg = process.stderr.read()
- if isinstance(msg, six.binary_type):
+ if isinstance(msg, bytes):
msg = msg.decode('utf-8')
if err:
err = (_('Hit OSError in '
@@ -133,7 +132,7 @@
else:
retcode = process.poll()
if err is not None:
- if isinstance(err, six.binary_type):
+ if isinstance(err, bytes):
err = err.decode('utf-8')
return output, err, retcode
@@ -162,8 +161,8 @@
properly.
"""
_ensure_subprocess()
- if isinstance(formatted, six.string_types):
- data = bytearray(formatted, _encoding_for_form(inform))
+ if isinstance(formatted, str):
+ data = bytes(formatted, _encoding_for_form(inform))
else:
data = formatted
process = subprocess.Popen(['openssl', 'cms', '-verify',
@@ -356,8 +355,8 @@
"""
_ensure_subprocess()
- if isinstance(data_to_sign, six.string_types):
- data = bytearray(data_to_sign, encoding='utf-8')
+ if isinstance(data_to_sign, str):
+ data = bytes(data_to_sign, encoding='utf-8')
else:
data = data_to_sign
process = subprocess.Popen(['openssl', 'cms', '-sign',
@@ -437,7 +436,7 @@
return None
if is_asn1_token(token_id) or is_pkiz(token_id):
hasher = hashlib.new(mode)
- if isinstance(token_id, six.text_type):
+ if isinstance(token_id, str):
token_id = token_id.encode('utf-8')
hasher.update(token_id)
return hasher.hexdigest()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/keystoneclient/contrib/auth/v3/saml2.py new/python-keystoneclient-5.4.0/keystoneclient/contrib/auth/v3/saml2.py
--- old/python-keystoneclient-5.2.0/keystoneclient/contrib/auth/v3/saml2.py 2023-09-14 17:26:11.000000000 +0200
+++ new/python-keystoneclient-5.4.0/keystoneclient/contrib/auth/v3/saml2.py 2024-03-01 14:53:11.000000000 +0100
@@ -11,11 +11,11 @@
# under the License.
import datetime
+import urllib.parse
import uuid
from lxml import etree # nosec(cjschaef): used to create xml, not parse it
from oslo_config import cfg
-from six.moves import urllib
from keystoneclient import access
from keystoneclient.auth.identity import v3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/keystoneclient/contrib/ec2/utils.py new/python-keystoneclient-5.4.0/keystoneclient/contrib/ec2/utils.py
--- old/python-keystoneclient-5.2.0/keystoneclient/contrib/ec2/utils.py 2023-09-14 17:26:11.000000000 +0200
+++ new/python-keystoneclient-5.4.0/keystoneclient/contrib/ec2/utils.py 2024-03-01 14:53:11.000000000 +0100
@@ -20,9 +20,7 @@
import hashlib
import hmac
import re
-
-import six
-from six.moves import urllib
+import urllib.parse
from keystoneclient.i18n import _
@@ -106,9 +104,9 @@
@staticmethod
def _get_utf8_value(value):
"""Get the UTF8-encoded version of a value."""
- if not isinstance(value, (six.binary_type, six.text_type)):
+ if not isinstance(value, (str, bytes)):
value = str(value)
- if isinstance(value, six.text_type):
+ if isinstance(value, str):
return value.encode('utf-8')
else:
return value
@@ -121,9 +119,7 @@
def _calc_signature_1(self, params):
"""Generate AWS signature version 1 string."""
- keys = list(params)
- keys.sort(key=six.text_type.lower)
- for key in keys:
+ for key in sorted(params, key=str.lower):
self.hmac.update(key.encode('utf-8'))
val = self._get_utf8_value(params[key])
self.hmac.update(val)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/keystoneclient/generic/client.py new/python-keystoneclient-5.4.0/keystoneclient/generic/client.py
--- old/python-keystoneclient-5.2.0/keystoneclient/generic/client.py 2023-09-14 17:26:11.000000000 +0200
+++ new/python-keystoneclient-5.4.0/keystoneclient/generic/client.py 2024-03-01 14:53:11.000000000 +0100
@@ -14,9 +14,9 @@
# under the License.
import logging
+import urllib.parse as urlparse
from debtcollector import removals
-from six.moves.urllib import parse as urlparse
from keystoneclient import exceptions
from keystoneclient import httpclient
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/keystoneclient/httpclient.py new/python-keystoneclient-5.4.0/keystoneclient/httpclient.py
--- old/python-keystoneclient-5.2.0/keystoneclient/httpclient.py 2023-09-14 17:26:11.000000000 +0200
+++ new/python-keystoneclient-5.4.0/keystoneclient/httpclient.py 2024-03-01 14:53:11.000000000 +0100
@@ -17,16 +17,10 @@
# under the License.
"""OpenStack Client interface. Handles the REST calls and responses."""
+import importlib.metadata
import logging
import warnings
-try:
- # For Python 3.8 and later
- import importlib.metadata as importlib_metadata
-except ImportError:
- # For everyone else
- import importlib_metadata
-
from debtcollector import removals
from debtcollector import renames
from keystoneauth1 import adapter
@@ -41,7 +35,7 @@
# trigger if it's a version of keyring that's supported in global
# requirements. Update _min and _bad when that changes.
keyring_v = packaging.version.Version(
- importlib_metadata.version('keyring')
+ importlib.metadata.version('keyring')
)
keyring_min = packaging.version.Version('5.5.1')
# This is a list of versions, e.g., pkg_resources.parse_version('3.3')
@@ -51,7 +45,7 @@
import keyring
else:
keyring = None
-except (ImportError, importlib_metadata.PackageNotFoundError):
+except (ImportError, importlib.metadata.PackageNotFoundError):
keyring = None
pickle = None
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/keystoneclient/service_catalog.py new/python-keystoneclient-5.4.0/keystoneclient/service_catalog.py
--- old/python-keystoneclient-5.2.0/keystoneclient/service_catalog.py 2023-09-14 17:26:11.000000000 +0200
+++ new/python-keystoneclient-5.4.0/keystoneclient/service_catalog.py 2024-03-01 14:53:11.000000000 +0100
@@ -19,14 +19,11 @@
import abc
import warnings
-import six
-
from keystoneclient import exceptions
from keystoneclient.i18n import _
-(a)six.add_metaclass(abc.ABCMeta)
-class ServiceCatalog(object):
+class ServiceCatalog(object, metaclass=abc.ABCMeta):
"""Helper methods for dealing with a Keystone Service Catalog.
.. warning::
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/keystoneclient/session.py new/python-keystoneclient-5.4.0/keystoneclient/session.py
--- old/python-keystoneclient-5.2.0/keystoneclient/session.py 2023-09-14 17:26:11.000000000 +0200
+++ new/python-keystoneclient-5.4.0/keystoneclient/session.py 2024-03-01 14:53:11.000000000 +0100
@@ -17,6 +17,7 @@
import os
import socket
import time
+import urllib.parse
import warnings
from debtcollector import removals
@@ -26,8 +27,6 @@
from oslo_utils import importutils
from oslo_utils import strutils
import requests
-import six
-from six.moves import urllib
from keystoneclient import exceptions
from keystoneclient.i18n import _
@@ -191,7 +190,7 @@
# so we need to actually check that this is False.
if self.verify is False:
string_parts.append('--insecure')
- elif isinstance(self.verify, six.string_types):
+ elif isinstance(self.verify, str):
string_parts.append('--cacert "%s"' % self.verify)
if method:
@@ -205,7 +204,7 @@
% self._process_header(header))
if data:
- if isinstance(data, six.binary_type):
+ if isinstance(data, bytes):
try:
data = data.decode("ascii")
except UnicodeDecodeError:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/keystoneclient/tests/unit/auth/test_identity_common.py new/python-keystoneclient-5.4.0/keystoneclient/tests/unit/auth/test_identity_common.py
--- old/python-keystoneclient-5.2.0/keystoneclient/tests/unit/auth/test_identity_common.py 2023-09-14 17:26:11.000000000 +0200
+++ new/python-keystoneclient-5.4.0/keystoneclient/tests/unit/auth/test_identity_common.py 2024-03-01 14:53:11.000000000 +0100
@@ -18,7 +18,6 @@
from keystoneauth1 import fixture
from keystoneauth1 import plugin
from oslo_utils import timeutils
-import six
from keystoneclient import access
from keystoneclient.auth import base
@@ -28,8 +27,7 @@
from keystoneclient.tests.unit import utils
-(a)six.add_metaclass(abc.ABCMeta)
-class CommonIdentityTests(object):
+class CommonIdentityTests(object, metaclass=abc.ABCMeta):
TEST_ROOT_URL = 'http://127.0.0.1:5000/'
TEST_ROOT_ADMIN_URL = 'http://127.0.0.1:35357/'
@@ -79,7 +77,8 @@
self.stub_auth(json=token)
- @abc.abstractproperty
+ @property
+ @abc.abstractmethod
def version(self):
"""The API version being tested."""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/keystoneclient/tests/unit/client_fixtures.py new/python-keystoneclient-5.4.0/keystoneclient/tests/unit/client_fixtures.py
--- old/python-keystoneclient-5.2.0/keystoneclient/tests/unit/client_fixtures.py 2023-09-14 17:26:11.000000000 +0200
+++ new/python-keystoneclient-5.4.0/keystoneclient/tests/unit/client_fixtures.py 2024-03-01 14:53:11.000000000 +0100
@@ -23,7 +23,6 @@
from keystoneauth1 import session as ksa_session
from oslo_serialization import jsonutils
from oslo_utils import timeutils
-import six
import testresources
from keystoneclient.auth import identity as ksc_identity
@@ -204,7 +203,7 @@
def _hash_signed_token_safe(signed_text, **kwargs):
- if isinstance(signed_text, six.text_type):
+ if isinstance(signed_text, str):
signed_text = signed_text.encode('utf-8')
return utils.hash_signed_token(signed_text, **kwargs)
@@ -299,7 +298,7 @@
self.v3_UUID_TOKEN_UNKNOWN_BIND = '7ed9781b62cd4880b8d8c6788ab1d1e2'
revoked_token = self.REVOKED_TOKEN
- if isinstance(revoked_token, six.text_type):
+ if isinstance(revoked_token, str):
revoked_token = revoked_token.encode('utf-8')
self.REVOKED_TOKEN_HASH = utils.hash_signed_token(revoked_token)
self.REVOKED_TOKEN_HASH_SHA256 = utils.hash_signed_token(revoked_token,
@@ -310,7 +309,7 @@
self.REVOKED_TOKEN_LIST_JSON = jsonutils.dumps(self.REVOKED_TOKEN_LIST)
revoked_v3_token = self.REVOKED_v3_TOKEN
- if isinstance(revoked_v3_token, six.text_type):
+ if isinstance(revoked_v3_token, str):
revoked_v3_token = revoked_v3_token.encode('utf-8')
self.REVOKED_v3_TOKEN_HASH = utils.hash_signed_token(revoked_v3_token)
hash = utils.hash_signed_token(revoked_v3_token, mode='sha256')
@@ -322,12 +321,12 @@
self.REVOKED_v3_TOKEN_LIST)
revoked_token_pkiz = self.REVOKED_TOKEN_PKIZ
- if isinstance(revoked_token_pkiz, six.text_type):
+ if isinstance(revoked_token_pkiz, str):
revoked_token_pkiz = revoked_token_pkiz.encode('utf-8')
self.REVOKED_TOKEN_PKIZ_HASH = utils.hash_signed_token(
revoked_token_pkiz)
revoked_v3_token_pkiz = self.REVOKED_v3_TOKEN_PKIZ
- if isinstance(revoked_v3_token_pkiz, six.text_type):
+ if isinstance(revoked_v3_token_pkiz, str):
revoked_v3_token_pkiz = revoked_v3_token_pkiz.encode('utf-8')
self.REVOKED_v3_PKIZ_TOKEN_HASH = utils.hash_signed_token(
revoked_v3_token_pkiz)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/keystoneclient/tests/unit/test_base.py new/python-keystoneclient-5.4.0/keystoneclient/tests/unit/test_base.py
--- old/python-keystoneclient-5.2.0/keystoneclient/tests/unit/test_base.py 2023-09-14 17:26:11.000000000 +0200
+++ new/python-keystoneclient-5.4.0/keystoneclient/tests/unit/test_base.py 2024-03-01 14:53:11.000000000 +0100
@@ -319,7 +319,7 @@
delete_mock.assert_called_once_with('/test-url', name='hello')
self.assertEqual(base_resp.request_ids[0], TEST_REQUEST_ID)
self.assertEqual(base_resp.data, None)
- self.assertTrue(isinstance(resp, requests.Response))
+ self.assertIsInstance(resp, requests.Response)
def test_patch(self):
body = {"hello": {"hi": 1}}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/keystoneclient/tests/unit/test_discovery.py new/python-keystoneclient-5.4.0/keystoneclient/tests/unit/test_discovery.py
--- old/python-keystoneclient-5.2.0/keystoneclient/tests/unit/test_discovery.py 2023-09-14 17:26:11.000000000 +0200
+++ new/python-keystoneclient-5.4.0/keystoneclient/tests/unit/test_discovery.py 2024-03-01 14:53:11.000000000 +0100
@@ -15,7 +15,6 @@
from keystoneauth1 import fixture
from oslo_serialization import jsonutils
-import six
from testtools import matchers
from keystoneclient import _discover
@@ -105,7 +104,7 @@
V3_MEDIA_TYPES = V3_VERSION.media_types
V3_VERSION.updated_str = UPDATED
-V3_TOKEN = six.u('3e2813b7ba0b4006840c3825860b86ed'),
+V3_TOKEN = ('3e2813b7ba0b4006840c3825860b86ed',)
V3_AUTH_RESPONSE = jsonutils.dumps({
"token": {
"methods": [
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/keystoneclient/tests/unit/test_http.py new/python-keystoneclient-5.4.0/keystoneclient/tests/unit/test_http.py
--- old/python-keystoneclient-5.2.0/keystoneclient/tests/unit/test_http.py 2023-09-14 17:26:11.000000000 +0200
+++ new/python-keystoneclient-5.4.0/keystoneclient/tests/unit/test_http.py 2024-03-01 14:53:11.000000000 +0100
@@ -12,9 +12,9 @@
# License for the specific language governing permissions and limitations
# under the License.
+import io
import logging
-import six
from testtools import matchers
from keystoneclient import exceptions
@@ -153,7 +153,7 @@
def setUp(self):
super(BasicRequestTests, self).setUp()
- self.logger_message = six.moves.cStringIO()
+ self.logger_message = io.StringIO()
handler = logging.StreamHandler(self.logger_message)
handler.setLevel(logging.DEBUG)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/keystoneclient/tests/unit/test_session.py new/python-keystoneclient-5.4.0/keystoneclient/tests/unit/test_session.py
--- old/python-keystoneclient-5.2.0/keystoneclient/tests/unit/test_session.py 2023-09-14 17:26:11.000000000 +0200
+++ new/python-keystoneclient-5.4.0/keystoneclient/tests/unit/test_session.py 2024-03-01 14:53:11.000000000 +0100
@@ -13,6 +13,7 @@
# under the License.
import argparse
+from io import StringIO
import itertools
import logging
from unittest import mock
@@ -22,7 +23,6 @@
from oslo_config import fixture as config
from oslo_serialization import jsonutils
import requests
-import six
from testtools import matchers
from keystoneclient import adapter
@@ -249,27 +249,6 @@
self.assertIn("'%s'" % data, self.logger.output)
- def test_binary_data_not_in_debug_output(self):
- """Verify that non-ascii-encodable data causes replacement."""
- if six.PY2:
- data = "my data" + chr(255)
- else:
- # Python 3 logging handles binary data well.
- return
-
- session = client_session.Session(verify=False)
-
- body = 'RESP'
- self.stub_url('POST', text=body)
-
- # Forced mixed unicode and byte strings in request
- # elements to make sure that all joins are appropriately
- # handled (any join of unicode and byte strings should
- # raise a UnicodeDecodeError)
- session.post(six.text_type(self.TEST_URL), data=data)
-
- self.assertNotIn('my data', self.logger.output)
-
def test_logging_cacerts(self):
path_to_certs = '/path/to/certs'
session = client_session.Session(verify=path_to_certs)
@@ -328,11 +307,12 @@
# The exception should contain the URL and details about the SSL error
msg = _('SSL exception connecting to %(url)s: %(error)s') % {
'url': self.TEST_URL, 'error': error}
- six.assertRaisesRegex(self,
- exceptions.SSLError,
- msg,
- session.get,
- self.TEST_URL)
+ self.assertRaisesRegex(
+ exceptions.SSLError,
+ msg,
+ session.get,
+ self.TEST_URL,
+ )
def test_mask_password_in_http_log_response(self):
session = client_session.Session()
@@ -807,7 +787,7 @@
logger.setLevel(logging.DEBUG)
logger.propagate = False
- io = six.StringIO()
+ io = StringIO()
handler = logging.StreamHandler(io)
logger.addHandler(handler)
@@ -1003,7 +983,7 @@
logger.setLevel(logging.DEBUG)
logger.propagate = False
- io = six.StringIO()
+ io = StringIO()
handler = logging.StreamHandler(io)
logger.addHandler(handler)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/keystoneclient/tests/unit/test_utils.py new/python-keystoneclient-5.4.0/keystoneclient/tests/unit/test_utils.py
--- old/python-keystoneclient-5.2.0/keystoneclient/tests/unit/test_utils.py 2023-09-14 17:26:11.000000000 +0200
+++ new/python-keystoneclient-5.4.0/keystoneclient/tests/unit/test_utils.py 2024-03-01 14:53:11.000000000 +0100
@@ -11,7 +11,6 @@
# under the License.
from keystoneauth1 import exceptions as ksa_exceptions
-import six
import testresources
from testtools import matchers
@@ -112,8 +111,7 @@
def test_default_md5(self):
"""The default hash method is md5."""
token = self.examples.SIGNED_TOKEN_SCOPED
- if six.PY3:
- token = token.encode('utf-8')
+ token = token.encode('utf-8')
token_id_default = utils.hash_signed_token(token)
token_id_md5 = utils.hash_signed_token(token, mode='md5')
self.assertThat(token_id_default, matchers.Equals(token_id_md5))
@@ -123,8 +121,7 @@
def test_sha256(self):
"""Can also hash with sha256."""
token = self.examples.SIGNED_TOKEN_SCOPED
- if six.PY3:
- token = token.encode('utf-8')
+ token = token.encode('utf-8')
token_id = utils.hash_signed_token(token, mode='sha256')
# sha256 hash is 64 chars.
self.assertThat(token_id, matchers.HasLength(64))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/keystoneclient/tests/unit/utils.py new/python-keystoneclient-5.4.0/keystoneclient/tests/unit/utils.py
--- old/python-keystoneclient-5.2.0/keystoneclient/tests/unit/utils.py 2023-09-14 17:26:11.000000000 +0200
+++ new/python-keystoneclient-5.4.0/keystoneclient/tests/unit/utils.py 2024-03-01 14:53:11.000000000 +0100
@@ -12,6 +12,7 @@
import logging
import sys
+import urllib.parse as urlparse
import uuid
import fixtures
@@ -19,7 +20,6 @@
import requests
import requests_mock
from requests_mock.contrib import fixture
-from six.moves.urllib import parse as urlparse
import testscenarios
import testtools
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/keystoneclient/tests/unit/v3/saml2_fixtures.py new/python-keystoneclient-5.4.0/keystoneclient/tests/unit/v3/saml2_fixtures.py
--- old/python-keystoneclient-5.2.0/keystoneclient/tests/unit/v3/saml2_fixtures.py 2023-09-14 17:26:11.000000000 +0200
+++ new/python-keystoneclient-5.4.0/keystoneclient/tests/unit/v3/saml2_fixtures.py 2024-03-01 14:53:11.000000000 +0100
@@ -10,9 +10,7 @@
# License for the specific language governing permissions and limitations
# under the License.
-import six
-
-SP_SOAP_RESPONSE = six.b("""<S:Envelope
+SP_SOAP_RESPONSE = b"""<S:Envelope
xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Header>
<paos:Request xmlns:paos="urn:liberty:paos:2003-08"
@@ -44,10 +42,10 @@
<samlp:IDPList>
<samlp:IDPEntry ProviderID="https://idp.testshib.org/idp/shibboleth"/>
</samlp:IDPList></samlp:Scoping></samlp:AuthnRequest></S:Body></S:Envelope>
-""")
+"""
-SAML2_ASSERTION = six.b("""<?xml version="1.0" encoding="UTF-8"?>
+SAML2_ASSERTION = b"""<?xml version="1.0" encoding="UTF-8"?>
<soap11:Envelope xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/">
<soap11:Header>
<ecp:Response xmlns:ecp="urn:oasis:names:tc:SAML:2.0:profiles:SSO:ecp"
@@ -95,7 +93,7 @@
<xenc:CipherValue>VALUE=</xenc:CipherValue></xenc:CipherData>
</xenc:EncryptedData></saml2:EncryptedAssertion></saml2p:Response>
</soap11:Body></soap11:Envelope>
-""")
+"""
UNSCOPED_TOKEN_HEADER = 'UNSCOPED_TOKEN'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/keystoneclient/tests/unit/v3/test_auth_oidc.py new/python-keystoneclient-5.4.0/keystoneclient/tests/unit/v3/test_auth_oidc.py
--- old/python-keystoneclient-5.2.0/keystoneclient/tests/unit/v3/test_auth_oidc.py 2023-09-14 17:26:11.000000000 +0200
+++ new/python-keystoneclient-5.4.0/keystoneclient/tests/unit/v3/test_auth_oidc.py 2024-03-01 14:53:11.000000000 +0100
@@ -10,10 +10,11 @@
# License for the specific language governing permissions and limitations
# under the License.
+import urllib.parse
import uuid
from oslo_config import fixture as config
-from six.moves import urllib
+
import testtools
from keystoneclient.auth import conf
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/keystoneclient/tests/unit/v3/test_auth_saml2.py new/python-keystoneclient-5.4.0/keystoneclient/tests/unit/v3/test_auth_saml2.py
--- old/python-keystoneclient-5.2.0/keystoneclient/tests/unit/v3/test_auth_saml2.py 2023-09-14 17:26:11.000000000 +0200
+++ new/python-keystoneclient-5.4.0/keystoneclient/tests/unit/v3/test_auth_saml2.py 2024-03-01 14:53:11.000000000 +0100
@@ -11,12 +11,12 @@
# under the License.
import os
+import urllib.parse
import uuid
from lxml import etree
from oslo_config import fixture as config
import requests
-from six.moves import urllib
from keystoneclient.auth import conf
from keystoneclient.contrib.auth.v3 import saml2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/keystoneclient/tests/unit/v3/test_federation.py new/python-keystoneclient-5.4.0/keystoneclient/tests/unit/v3/test_federation.py
--- old/python-keystoneclient-5.2.0/keystoneclient/tests/unit/v3/test_federation.py 2023-09-14 17:26:11.000000000 +0200
+++ new/python-keystoneclient-5.4.0/keystoneclient/tests/unit/v3/test_federation.py 2024-03-01 14:53:11.000000000 +0100
@@ -19,7 +19,6 @@
from keystoneauth1.identity import v3
from keystoneauth1 import session
from keystoneauth1.tests.unit import k2k_fixtures
-import six
from testtools import matchers
from keystoneclient import access
@@ -423,7 +422,7 @@
self.requests_mock.register_uri(
'POST',
self.REQUEST_ECP_URL,
- content=six.b(k2k_fixtures.ECP_ENVELOPE),
+ content=k2k_fixtures.ECP_ENVELOPE.encode(),
headers={'Content-Type': 'application/vnd.paos+xml'},
status_code=200)
@@ -433,7 +432,7 @@
self.requests_mock.register_uri(
'POST',
self.SP_URL,
- content=six.b(k2k_fixtures.TOKEN_BASED_ECP),
+ content=k2k_fixtures.TOKEN_BASED_ECP.encode(),
headers={'Content-Type': 'application/vnd.paos+xml'},
status_code=302)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/keystoneclient/tests/unit/v3/test_oauth1.py new/python-keystoneclient-5.4.0/keystoneclient/tests/unit/v3/test_oauth1.py
--- old/python-keystoneclient-5.2.0/keystoneclient/tests/unit/v3/test_oauth1.py 2023-09-14 17:26:11.000000000 +0200
+++ new/python-keystoneclient-5.4.0/keystoneclient/tests/unit/v3/test_oauth1.py 2024-03-01 14:53:11.000000000 +0100
@@ -14,10 +14,9 @@
from unittest import mock
import fixtures
+from urllib import parse as urlparse
import uuid
-import six
-from six.moves.urllib import parse as urlparse
from testtools import matchers
from keystoneclient import session
@@ -106,7 +105,7 @@
self.assertEqual('HMAC-SHA1', parameters['oauth_signature_method'])
self.assertEqual('1.0', parameters['oauth_version'])
- self.assertIsInstance(parameters['oauth_nonce'], six.string_types)
+ self.assertIsInstance(parameters['oauth_nonce'], str)
self.assertEqual(oauth_client.client_key,
parameters['oauth_consumer_key'])
if oauth_client.resource_owner_key:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/keystoneclient/tests/unit/v3/utils.py new/python-keystoneclient-5.4.0/keystoneclient/tests/unit/v3/utils.py
--- old/python-keystoneclient-5.2.0/keystoneclient/tests/unit/v3/utils.py 2023-09-14 17:26:11.000000000 +0200
+++ new/python-keystoneclient-5.4.0/keystoneclient/tests/unit/v3/utils.py 2024-03-01 14:53:11.000000000 +0100
@@ -13,7 +13,7 @@
import requests
import uuid
-from six.moves.urllib import parse as urlparse
+from urllib import parse as urlparse
from keystoneauth1.identity import v3
from keystoneauth1 import session
@@ -280,7 +280,7 @@
return expected_path
def test_list_by_id(self, ref=None, **filter_kwargs):
- """Test ``entities.list(id=x)`` being rewritten as ``GET /v3/entities/x``.
+ """Test ``entities.list(id=x)`` being rewritten as ``GET /v3/entities/x``. # noqa
This tests an edge case of each manager's list() implementation, to
ensure that it "does the right thing" when users call ``.list()``
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/keystoneclient/utils.py new/python-keystoneclient-5.4.0/keystoneclient/utils.py
--- old/python-keystoneclient-5.2.0/keystoneclient/utils.py 2023-09-14 17:26:11.000000000 +0200
+++ new/python-keystoneclient-5.4.0/keystoneclient/utils.py 2024-03-01 14:53:11.000000000 +0100
@@ -16,7 +16,6 @@
from keystoneauth1 import exceptions as ksa_exceptions
from oslo_utils import timeutils
-import six
from keystoneclient import exceptions as ksc_exceptions
@@ -27,12 +26,12 @@
try:
return manager.get(name_or_id)
except (ksa_exceptions.NotFound): # nosec(cjschaef): try to find
- # 'name_or_id' as a six.binary_type instead
+ # 'name_or_id' as a bytes instead
pass
# finally try to find entity by name
try:
- if isinstance(name_or_id, six.binary_type):
+ if isinstance(name_or_id, bytes):
name_or_id = name_or_id.decode('utf-8', 'strict')
return manager.find(name=name_or_id)
except ksa_exceptions.NotFound:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/keystoneclient/v2_0/tenants.py new/python-keystoneclient-5.4.0/keystoneclient/v2_0/tenants.py
--- old/python-keystoneclient-5.2.0/keystoneclient/v2_0/tenants.py 2023-09-14 17:26:11.000000000 +0200
+++ new/python-keystoneclient-5.4.0/keystoneclient/v2_0/tenants.py 2024-03-01 14:53:11.000000000 +0100
@@ -15,7 +15,7 @@
# under the License.
from keystoneauth1 import plugin
-from six.moves import urllib
+import urllib.parse
from keystoneclient import base
from keystoneclient import exceptions
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/keystoneclient/v2_0/users.py new/python-keystoneclient-5.4.0/keystoneclient/v2_0/users.py
--- old/python-keystoneclient-5.2.0/keystoneclient/v2_0/users.py 2023-09-14 17:26:11.000000000 +0200
+++ new/python-keystoneclient-5.4.0/keystoneclient/v2_0/users.py 2024-03-01 14:53:11.000000000 +0100
@@ -14,9 +14,8 @@
# License for the specific language governing permissions and limitations
# under the License.
-from six.moves import urllib
-
from keystoneclient import base
+import urllib.parse
class User(base.Resource):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/keystoneclient/v3/application_credentials.py new/python-keystoneclient-5.4.0/keystoneclient/v3/application_credentials.py
--- old/python-keystoneclient-5.2.0/keystoneclient/v3/application_credentials.py 2023-09-14 17:26:11.000000000 +0200
+++ new/python-keystoneclient-5.4.0/keystoneclient/v3/application_credentials.py 2024-03-01 14:53:11.000000000 +0100
@@ -12,8 +12,6 @@
# License for the specific language governing permissions and limitations
# under the License.
-import six
-
from keystoneclient import base
from keystoneclient import exceptions
from keystoneclient.i18n import _
@@ -78,7 +76,7 @@
if not isinstance(roles, list):
roles = [roles]
for role in roles:
- if isinstance(role, six.string_types):
+ if isinstance(role, str):
role_list.extend([{'id': role}])
elif isinstance(role, dict):
role_list.extend([role])
@@ -139,7 +137,7 @@
return super(ApplicationCredentialManager, self).list(**kwargs)
def find(self, user=None, **kwargs):
- """Find an application credential with attributes matching ``**kwargs``.
+ """Find an application credential with attributes matching ``**kwargs``. # noqa
:param string user: User ID
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/keystoneclient/v3/contrib/federation/base.py new/python-keystoneclient-5.4.0/keystoneclient/v3/contrib/federation/base.py
--- old/python-keystoneclient-5.2.0/keystoneclient/v3/contrib/federation/base.py 2023-09-14 17:26:11.000000000 +0200
+++ new/python-keystoneclient-5.4.0/keystoneclient/v3/contrib/federation/base.py 2024-03-01 14:53:11.000000000 +0100
@@ -14,18 +14,17 @@
from keystoneauth1 import exceptions
from keystoneauth1 import plugin
-import six
from keystoneclient import base
-(a)six.add_metaclass(abc.ABCMeta)
-class EntityManager(base.Manager):
+class EntityManager(base.Manager, metaclass=abc.ABCMeta):
"""Manager class for listing federated accessible objects."""
resource_class = None
- @abc.abstractproperty
+ @property
+ @abc.abstractmethod
def object_type(self):
raise exceptions.MethodNotImplemented
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/keystoneclient/v3/contrib/oauth1/request_tokens.py new/python-keystoneclient-5.4.0/keystoneclient/v3/contrib/oauth1/request_tokens.py
--- old/python-keystoneclient-5.2.0/keystoneclient/v3/contrib/oauth1/request_tokens.py 2023-09-14 17:26:11.000000000 +0200
+++ new/python-keystoneclient-5.4.0/keystoneclient/v3/contrib/oauth1/request_tokens.py 2024-03-01 14:53:11.000000000 +0100
@@ -11,8 +11,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+import urllib.parse as urlparse
+
from keystoneauth1 import plugin
-from six.moves.urllib import parse as urlparse
from keystoneclient import base
from keystoneclient.v3.contrib.oauth1 import utils
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/keystoneclient/v3/contrib/oauth1/utils.py new/python-keystoneclient-5.4.0/keystoneclient/v3/contrib/oauth1/utils.py
--- old/python-keystoneclient-5.2.0/keystoneclient/v3/contrib/oauth1/utils.py 2023-09-14 17:26:11.000000000 +0200
+++ new/python-keystoneclient-5.4.0/keystoneclient/v3/contrib/oauth1/utils.py 2024-03-01 14:53:11.000000000 +0100
@@ -11,8 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-import six
-from six.moves.urllib import parse as urlparse
+import urllib.parse as urlparse
OAUTH_PATH = '/OS-OAUTH1'
@@ -25,8 +24,7 @@
'oauth_token=12345&oauth_token_secret=67890' with
'oauth_expires_at=2013-03-30T05:27:19.463201' possibly there, too.
"""
- if six.PY3:
- body = body.decode('utf-8')
+ body = body.decode('utf-8')
credentials = urlparse.parse_qs(body)
key = credentials['oauth_token'][0]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/keystoneclient/v3/projects.py new/python-keystoneclient-5.4.0/keystoneclient/v3/projects.py
--- old/python-keystoneclient-5.2.0/keystoneclient/v3/projects.py 2023-09-14 17:26:11.000000000 +0200
+++ new/python-keystoneclient-5.4.0/keystoneclient/v3/projects.py 2024-03-01 14:53:11.000000000 +0100
@@ -14,7 +14,7 @@
# License for the specific language governing permissions and limitations
# under the License.
-import six.moves.urllib as urllib
+import urllib.parse
from keystoneclient import base
from keystoneclient import exceptions
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/python_keystoneclient.egg-info/PKG-INFO new/python-keystoneclient-5.4.0/python_keystoneclient.egg-info/PKG-INFO
--- old/python-keystoneclient-5.2.0/python_keystoneclient.egg-info/PKG-INFO 2023-09-14 17:26:52.000000000 +0200
+++ new/python-keystoneclient-5.4.0/python_keystoneclient.egg-info/PKG-INFO 2024-03-01 14:53:38.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.2
Name: python-keystoneclient
-Version: 5.2.0
+Version: 5.4.0
Summary: Client Library for OpenStack Identity
Home-page: https://docs.openstack.org/python-keystoneclient/latest/
Author: OpenStack
@@ -80,4 +80,6 @@
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
+Classifier: Programming Language :: Python :: 3.10
+Classifier: Programming Language :: Python :: 3.11
Requires-Python: >=3.8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/python_keystoneclient.egg-info/SOURCES.txt new/python-keystoneclient-5.4.0/python_keystoneclient.egg-info/SOURCES.txt
--- old/python-keystoneclient-5.2.0/python_keystoneclient.egg-info/SOURCES.txt 2023-09-14 17:26:53.000000000 +0200
+++ new/python-keystoneclient-5.4.0/python_keystoneclient.egg-info/SOURCES.txt 2024-03-01 14:53:38.000000000 +0100
@@ -307,6 +307,8 @@
releasenotes/notes/removed-generic-client-ff505b2b01bc9302.yaml
releasenotes/notes/return-request-id-to-caller-97fa269ad626f8c1.yaml
releasenotes/notes/switch-default-interface-v3-dcd7167196ace531.yaml
+releasenotes/source/2023.1.rst
+releasenotes/source/2023.2.rst
releasenotes/source/conf.py
releasenotes/source/index.rst
releasenotes/source/mitaka.rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/python_keystoneclient.egg-info/pbr.json new/python-keystoneclient-5.4.0/python_keystoneclient.egg-info/pbr.json
--- old/python-keystoneclient-5.2.0/python_keystoneclient.egg-info/pbr.json 2023-09-14 17:26:52.000000000 +0200
+++ new/python-keystoneclient-5.4.0/python_keystoneclient.egg-info/pbr.json 2024-03-01 14:53:38.000000000 +0100
@@ -1 +1 @@
-{"git_version": "141787a", "is_release": true}
\ No newline at end of file
+{"git_version": "c66d778", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/python_keystoneclient.egg-info/requires.txt new/python-keystoneclient-5.4.0/python_keystoneclient.egg-info/requires.txt
--- old/python-keystoneclient-5.2.0/python_keystoneclient.egg-info/requires.txt 2023-09-14 17:26:52.000000000 +0200
+++ new/python-keystoneclient-5.4.0/python_keystoneclient.egg-info/requires.txt 2024-03-01 14:53:38.000000000 +0100
@@ -7,8 +7,4 @@
packaging>=20.4
pbr!=2.1.0,>=2.0.0
requests>=2.14.2
-six>=1.10.0
stevedore>=1.20.0
-
-[:(python_version<'3.8')]
-importlib_metadata>=1.7.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/releasenotes/source/2023.1.rst new/python-keystoneclient-5.4.0/releasenotes/source/2023.1.rst
--- old/python-keystoneclient-5.2.0/releasenotes/source/2023.1.rst 1970-01-01 01:00:00.000000000 +0100
+++ new/python-keystoneclient-5.4.0/releasenotes/source/2023.1.rst 2024-03-01 14:53:11.000000000 +0100
@@ -0,0 +1,6 @@
+===========================
+2023.1 Series Release Notes
+===========================
+
+.. release-notes::
+ :branch: stable/2023.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/releasenotes/source/2023.2.rst new/python-keystoneclient-5.4.0/releasenotes/source/2023.2.rst
--- old/python-keystoneclient-5.2.0/releasenotes/source/2023.2.rst 1970-01-01 01:00:00.000000000 +0100
+++ new/python-keystoneclient-5.4.0/releasenotes/source/2023.2.rst 2024-03-01 14:53:11.000000000 +0100
@@ -0,0 +1,6 @@
+===========================
+2023.2 Series Release Notes
+===========================
+
+.. release-notes::
+ :branch: stable/2023.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/releasenotes/source/index.rst new/python-keystoneclient-5.4.0/releasenotes/source/index.rst
--- old/python-keystoneclient-5.2.0/releasenotes/source/index.rst 2023-09-14 17:26:11.000000000 +0200
+++ new/python-keystoneclient-5.4.0/releasenotes/source/index.rst 2024-03-01 14:53:11.000000000 +0100
@@ -6,6 +6,8 @@
:maxdepth: 1
unreleased
+ 2023.2
+ 2023.1
zed
yoga
xena
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/releasenotes/source/yoga.rst new/python-keystoneclient-5.4.0/releasenotes/source/yoga.rst
--- old/python-keystoneclient-5.2.0/releasenotes/source/yoga.rst 2023-09-14 17:26:11.000000000 +0200
+++ new/python-keystoneclient-5.4.0/releasenotes/source/yoga.rst 2024-03-01 14:53:11.000000000 +0100
@@ -3,4 +3,4 @@
=========================
.. release-notes::
- :branch: stable/yoga
+ :branch: unmaintained/yoga
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/requirements.txt new/python-keystoneclient-5.4.0/requirements.txt
--- old/python-keystoneclient-5.2.0/requirements.txt 2023-09-14 17:26:11.000000000 +0200
+++ new/python-keystoneclient-5.4.0/requirements.txt 2024-03-01 14:53:11.000000000 +0100
@@ -1,11 +1,6 @@
# Requirements lower bounds listed here are our best effort to keep them up to
# date but we do not test them so no guarantee of having them all correct. If
# you find any incorrect lower bounds, let us know or propose a fix.
-
-# The order of packages is significant, because pip processes them in the order
-# of appearance. Changing the order has an impact on the overall integration
-# process, which may cause wedges in the gate later.
-
pbr!=2.1.0,>=2.0.0 # Apache-2.0
debtcollector>=1.2.0 # Apache-2.0
@@ -15,7 +10,5 @@
oslo.serialization!=2.19.1,>=2.18.0 # Apache-2.0
oslo.utils>=3.33.0 # Apache-2.0
requests>=2.14.2 # Apache-2.0
-six>=1.10.0 # MIT
stevedore>=1.20.0 # Apache-2.0
-importlib_metadata>=1.7.0;python_version<'3.8' # Apache-2.0
packaging>=20.4 # BSD
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/setup.cfg new/python-keystoneclient-5.4.0/setup.cfg
--- old/python-keystoneclient-5.2.0/setup.cfg 2023-09-14 17:26:53.087831700 +0200
+++ new/python-keystoneclient-5.4.0/setup.cfg 2024-03-01 14:53:39.034612400 +0100
@@ -17,6 +17,8 @@
Programming Language :: Python :: 3
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
+ Programming Language :: Python :: 3.10
+ Programming Language :: Python :: 3.11
[files]
packages =
@@ -36,12 +38,6 @@
v3scopedsaml = keystoneclient.contrib.auth.v3.saml2:Saml2ScopedToken
v3unscopedadfs = keystoneclient.contrib.auth.v3.saml2:ADFSUnscopedToken
-[pbr]
-autodoc_tree_index_modules = True
-autodoc_tree_excludes =
- setup.py
- keystoneclient/tests/
-
[egg_info]
tag_build =
tag_date = 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-keystoneclient-5.2.0/test-requirements.txt new/python-keystoneclient-5.4.0/test-requirements.txt
--- old/python-keystoneclient-5.2.0/test-requirements.txt 2023-09-14 17:26:11.000000000 +0200
+++ new/python-keystoneclient-5.4.0/test-requirements.txt 2024-03-01 14:53:11.000000000 +0100
@@ -1,8 +1,4 @@
-# The order of packages is significant, because pip processes them in the order
-# of appearance. Changing the order has an impact on the overall integration
-# process, which may cause wedges in the gate later.
-
-hacking>=3.0.1,<3.1.0 # Apache-2.0
+hacking>=6.1.0,<6.2.0 # Apache-2.0
flake8-docstrings==1.7.0 # MIT
coverage!=4.4,>=4.0 # Apache-2.0
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-ironicclient for openSUSE:Factory checked in at 2024-03-25 21:11:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ironicclient (Old)
and /work/SRC/openSUSE:Factory/.python-ironicclient.new.1905 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ironicclient"
Mon Mar 25 21:11:20 2024 rev:26 rq:1161187 version:5.5.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ironicclient/python-ironicclient.changes 2024-01-15 22:19:18.151006095 +0100
+++ /work/SRC/openSUSE:Factory/.python-ironicclient.new.1905/python-ironicclient.changes 2024-03-25 21:18:02.731114149 +0100
@@ -1,0 +2,16 @@
+Sun Mar 24 20:07:28 UTC 2024 - cloud-devel(a)suse.de
+
+- update to version 5.5.0
+ - Force constraints when installing a package during tox test
+ - [codespell] Adding CI target for Tox Codespell
+ - add pyproject.toml to support pip 23.1
+ - Moving functional job to non-voting until we have a fix for it
+ - Add missing commands to the documentation
+ - [codespell] Fixing Spelling Mistakes
+ - Bump hacking to 6.1.0
+ - Update master for stable/2023.2
+ - [codespell] Adding Tox Target for Codespell
+ - Update python classifier in setup.cfg
+ - reno: Update master for unmaintained/yoga
+
+-------------------------------------------------------------------
Old:
----
python-ironicclient-5.4.0.tar.gz
New:
----
python-ironicclient-5.5.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-ironicclient.spec ++++++
--- /var/tmp/diff_new_pack.mfhRW1/_old 2024-03-25 21:18:03.747151517 +0100
+++ /var/tmp/diff_new_pack.mfhRW1/_new 2024-03-25 21:18:03.747151517 +0100
@@ -17,13 +17,13 @@
Name: python-ironicclient
-Version: 5.4.0
+Version: 5.5.0
Release: 0
Summary: Python API and CLI for OpenStack Ironic
License: Apache-2.0
Group: Development/Languages/Python
URL: https://docs.openstack.org/python-ironicclient
-Source0: https://files.pythonhosted.org/packages/source/p/python-ironicclient/python…
+Source0: https://files.pythonhosted.org/packages/source/p/python-ironicclient/python…
BuildRequires: openstack-macros
BuildRequires: python3-Babel
BuildRequires: python3-PyYAML >= 3.13
@@ -88,13 +88,13 @@
This package contains auto-generated documentation.
%prep
-%autosetup -p1 -n python-ironicclient-5.4.0
+%autosetup -p1 -n python-ironicclient-5.5.0
%py_req_cleanup
%build
%{py3_build}
-PBR_VERSION=5.4.0 %sphinx_build -b html doc/source doc/build/html
+PBR_VERSION=5.5.0 %sphinx_build -b html doc/source doc/build/html
# remove the sphinx-build leftovers
rm -rf doc/build/html/.{doctrees,buildinfo}
++++++ python-ironicclient-5.4.0.tar.gz -> python-ironicclient-5.5.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-ironicclient-5.4.0/AUTHORS new/python-ironicclient-5.5.0/AUTHORS
--- old/python-ironicclient-5.4.0/AUTHORS 2023-09-01 16:40:34.000000000 +0200
+++ new/python-ironicclient-5.5.0/AUTHORS 2024-02-29 16:06:42.000000000 +0100
@@ -123,12 +123,14 @@
Sergey Lupersolsky <slupers1(a)yahoo.com>
Sergey Turivnyi <sturivnyi(a)mirantis.com>
Sergii Turivnyi <sturivnyi(a)mirantis.com>
+Sharpz7 <adam.mcarthur62(a)gmail.com>
Shuquan Huang <huang.shuquan(a)99cloud.net>
Sinval Vieira <sinvalneto01(a)gmail.com>
SofiiaAndriichenko <sandriichenko(a)mirantis.com>
Steve Baker <sbaker(a)redhat.com>
Steve Martinelli <stevemar(a)ca.ibm.com>
Tadeas Kot <tkot(a)redhat.com>
+Takashi Kajinami <kajinamit(a)oss.nttdata.com>
Takashi Kajinami <tkajinam(a)redhat.com>
Takashi Natsume <takanattie(a)gmail.com>
Tang Chen <chen.tang(a)easystack.cn>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-ironicclient-5.4.0/ChangeLog new/python-ironicclient-5.5.0/ChangeLog
--- old/python-ironicclient-5.4.0/ChangeLog 2023-09-01 16:40:34.000000000 +0200
+++ new/python-ironicclient-5.5.0/ChangeLog 2024-02-29 16:06:42.000000000 +0100
@@ -1,6 +1,21 @@
CHANGES
=======
+5.5.0
+-----
+
+* Add missing commands to the documentation
+* Moving functional job to non-voting until we have a fix for it
+* Force constraints when installing a package during tox test
+* reno: Update master for unmaintained/yoga
+* [codespell] Adding CI target for Tox Codespell
+* [codespell] Adding Tox Target for Codespell
+* [codespell] Fixing Spelling Mistakes
+* Bump hacking to 6.1.0
+* add pyproject.toml to support pip 23.1
+* Update python classifier in setup.cfg
+* Update master for stable/2023.2
+
5.4.0
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-ironicclient-5.4.0/PKG-INFO new/python-ironicclient-5.5.0/PKG-INFO
--- old/python-ironicclient-5.4.0/PKG-INFO 2023-09-01 16:40:34.704268500 +0200
+++ new/python-ironicclient-5.5.0/PKG-INFO 2024-02-29 16:06:42.564656500 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: python-ironicclient
-Version: 5.4.0
+Version: 5.5.0
Summary: OpenStack Bare Metal Provisioning API Client Library
Home-page: https://docs.openstack.org/python-ironicclient/latest/
Author: OpenStack
@@ -106,6 +106,7 @@
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
+Classifier: Programming Language :: Python :: 3.11
Requires-Python: >=3.8
Provides-Extra: cli
Provides-Extra: test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-ironicclient-5.4.0/doc/source/cli/osc/v1/index.rst new/python-ironicclient-5.5.0/doc/source/cli/osc/v1/index.rst
--- old/python-ironicclient-5.4.0/doc/source/cli/osc/v1/index.rst 2023-09-01 16:40:03.000000000 +0200
+++ new/python-ironicclient-5.5.0/doc/source/cli/osc/v1/index.rst 2024-02-29 16:06:09.000000000 +0100
@@ -18,6 +18,13 @@
.. autoprogram-cliff:: openstack.baremetal.v1
:command: baremetal chassis *
+===================
+baremetal conductor
+===================
+
+.. autoprogram-cliff:: openstack.baremetal.v1
+ :command: baremetal conductor *
+
================
baremetal create
================
@@ -25,6 +32,13 @@
.. autoprogram-cliff:: openstack.baremetal.v1
:command: baremetal create
+=========================
+baremetal deploy template
+=========================
+
+.. autoprogram-cliff:: openstack.baremetal.v1
+ :command: baremetal deploy template *
+
================
baremetal driver
================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-ironicclient-5.4.0/ironicclient/common/http.py new/python-ironicclient-5.5.0/ironicclient/common/http.py
--- old/python-ironicclient-5.4.0/ironicclient/common/http.py 2023-09-01 16:40:03.000000000 +0200
+++ new/python-ironicclient-5.5.0/ironicclient/common/http.py 2024-02-29 16:06:09.000000000 +0100
@@ -206,7 +206,7 @@
raise ValueError(textwrap.fill(
_("The 'latest' API version can not be requested "
"in a list of versions. Please explicitly request "
- "'latest' or request only versios between "
+ "'latest' or request only versions between "
"%(min)s to %(max)s")
% {'min': min_ver, 'max': max_ver}))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-ironicclient-5.4.0/ironicclient/osc/plugin.py new/python-ironicclient-5.5.0/ironicclient/osc/plugin.py
--- old/python-ironicclient-5.4.0/ironicclient/osc/plugin.py 2023-09-01 16:40:03.000000000 +0200
+++ new/python-ironicclient-5.5.0/ironicclient/osc/plugin.py 2024-02-29 16:06:09.000000000 +0100
@@ -29,7 +29,7 @@
API_VERSION_OPTION = 'os_baremetal_api_version'
API_NAME = 'baremetal'
# NOTE(TheJulia) Latest known version tracking has been moved
-# to the ironicclient/common/http.py file as the OSC committment
+# to the ironicclient/common/http.py file as the OSC commitment
# is latest known, and we should only store it in one location.
LAST_KNOWN_API_VERSION = http.LAST_KNOWN_API_VERSION
LATEST_VERSION = http.LATEST_VERSION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-ironicclient-5.4.0/ironicclient/osc/v1/baremetal_node.py new/python-ironicclient-5.5.0/ironicclient/osc/v1/baremetal_node.py
--- old/python-ironicclient-5.4.0/ironicclient/osc/v1/baremetal_node.py 2023-09-01 16:40:03.000000000 +0200
+++ new/python-ironicclient-5.5.0/ironicclient/osc/v1/baremetal_node.py 2024-02-29 16:06:09.000000000 +0100
@@ -1675,14 +1675,15 @@
metavar="<key>",
action='append',
help=_('Driver information to unset on this baremetal node '
- '(repeat option to unset multiple driver informations)'),
+ '(repeat option to unset multiple items '
+ 'in driver information)'),
)
parser.add_argument(
"--instance-info",
metavar="<key>",
action='append',
help=_('Instance information to unset on this baremetal node '
- '(repeat option to unset multiple instance informations)'),
+ '(repeat option to unset multiple instance information)'),
)
parser.add_argument(
"--chassis-uuid",
@@ -2356,7 +2357,7 @@
class NodeChildrenList(command.ShowOne):
- """Get a list of nodes assocated as children."""
+ """Get a list of nodes associated as children."""
log = logging.getLogger(__name__ + ".NodeChildrenList")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-ironicclient-5.4.0/ironicclient/shell.py new/python-ironicclient-5.5.0/ironicclient/shell.py
--- old/python-ironicclient-5.4.0/ironicclient/shell.py 2023-09-01 16:40:03.000000000 +0200
+++ new/python-ironicclient-5.5.0/ironicclient/shell.py 2024-02-29 16:06:09.000000000 +0100
@@ -120,7 +120,7 @@
super(CommandManager, self).load_commands(namespace)
if ironic_inspector_client is not None:
super(CommandManager, self).load_commands(_INSPECTOR_NAMESPACE)
- # Stip the 'baremetal' prefix used in OSC
+ # Strip the 'baremetal' prefix used in OSC
prefix = 'baremetal '
prefix_len = len(prefix)
self.commands = dict(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-ironicclient-5.4.0/ironicclient/tests/unit/common/apiclient/test_base.py new/python-ironicclient-5.5.0/ironicclient/tests/unit/common/apiclient/test_base.py
--- old/python-ironicclient-5.4.0/ironicclient/tests/unit/common/apiclient/test_base.py 2023-09-01 16:40:03.000000000 +0200
+++ new/python-ironicclient-5.5.0/ironicclient/tests/unit/common/apiclient/test_base.py 2024-02-29 16:06:09.000000000 +0100
@@ -93,7 +93,7 @@
self.assertEqual(r1, r2)
def test_two_resources_with_diff_type_are_not_equal(self):
- # Two resoruces of different types: never equal
+ # Two resources of different types: never equal
r1 = base.Resource(None, {'id': 1})
r2 = HumanResource(None, {'id': 1})
self.assertNotEqual(r1, r2)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-ironicclient-5.4.0/ironicclient/tests/unit/test_client.py new/python-ironicclient-5.5.0/ironicclient/tests/unit/test_client.py
--- old/python-ironicclient-5.4.0/ironicclient/tests/unit/test_client.py 2023-09-01 16:40:03.000000000 +0200
+++ new/python-ironicclient-5.5.0/ironicclient/tests/unit/test_client.py 2024-02-29 16:06:09.000000000 +0100
@@ -53,7 +53,7 @@
self.assertEqual([get_endpoint_call],
session.get_endpoint.call_args_list)
else:
- # we use adaper.get_endpoint instead of session.get_endpoint
+ # we use adapter.get_endpoint instead of session.get_endpoint
self.assertFalse(session.get_endpoint.called)
if expected_version is not None:
# NOTE(TheJulia): This does not test the negotiation logic
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-ironicclient-5.4.0/ironicclient/v1/client.py new/python-ironicclient-5.5.0/ironicclient/v1/client.py
--- old/python-ironicclient-5.4.0/ironicclient/v1/client.py 2023-09-01 16:40:03.000000000 +0200
+++ new/python-ironicclient-5.5.0/ironicclient/v1/client.py 2024-02-29 16:06:09.000000000 +0100
@@ -117,7 +117,7 @@
@property
def is_api_version_negotiated(self):
- """Returns True if microversion negotiation has occured."""
+ """Returns True if microversion negotiation has occurred."""
return self.http_client.api_version_select_state == 'negotiated'
def negotiate_api_version(self):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-ironicclient-5.4.0/ironicclient/v1/node.py new/python-ironicclient-5.5.0/ironicclient/v1/node.py
--- old/python-ironicclient-5.4.0/ironicclient/v1/node.py 2023-09-01 16:40:03.000000000 +0200
+++ new/python-ironicclient-5.5.0/ironicclient/v1/node.py 2024-02-29 16:06:09.000000000 +0100
@@ -137,7 +137,7 @@
with a non-null node.shard value, when false get only
nodes with a null node.shard value. None is a noop.
with a non-null node.shard value.
- :param parent_node: Optional. String value used to retreive child
+ :param parent_node: Optional. String value used to retrieve child
nodes with the supplied parent node.
:param include_children: Optional. Boolean Value, only True is valid.
Tells the ironic API to enumerate all child
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-ironicclient-5.4.0/pyproject.toml new/python-ironicclient-5.5.0/pyproject.toml
--- old/python-ironicclient-5.4.0/pyproject.toml 1970-01-01 01:00:00.000000000 +0100
+++ new/python-ironicclient-5.5.0/pyproject.toml 2024-02-29 16:06:09.000000000 +0100
@@ -0,0 +1,3 @@
+[build-system]
+requires = ["pbr>=5.7.0", "setuptools>=64.0.0", "wheel"]
+build-backend = "pbr.build"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-ironicclient-5.4.0/python_ironicclient.egg-info/PKG-INFO new/python-ironicclient-5.5.0/python_ironicclient.egg-info/PKG-INFO
--- old/python-ironicclient-5.4.0/python_ironicclient.egg-info/PKG-INFO 2023-09-01 16:40:34.000000000 +0200
+++ new/python-ironicclient-5.5.0/python_ironicclient.egg-info/PKG-INFO 2024-02-29 16:06:42.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: python-ironicclient
-Version: 5.4.0
+Version: 5.5.0
Summary: OpenStack Bare Metal Provisioning API Client Library
Home-page: https://docs.openstack.org/python-ironicclient/latest/
Author: OpenStack
@@ -106,6 +106,7 @@
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
+Classifier: Programming Language :: Python :: 3.11
Requires-Python: >=3.8
Provides-Extra: cli
Provides-Extra: test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-ironicclient-5.4.0/python_ironicclient.egg-info/SOURCES.txt new/python-ironicclient-5.5.0/python_ironicclient.egg-info/SOURCES.txt
--- old/python-ironicclient-5.4.0/python_ironicclient.egg-info/SOURCES.txt 2023-09-01 16:40:34.000000000 +0200
+++ new/python-ironicclient-5.5.0/python_ironicclient.egg-info/SOURCES.txt 2024-02-29 16:06:42.000000000 +0100
@@ -6,6 +6,7 @@
LICENSE
README.rst
bindep.txt
+pyproject.toml
requirements.txt
setup.cfg
setup.py
@@ -303,6 +304,7 @@
releasenotes/notes/wait-for-prov-last-error-5f49b1c488879775.yaml
releasenotes/notes/yaml-files-79cd8367d7a4c2f2.yaml
releasenotes/source/2023.1.rst
+releasenotes/source/2023.2.rst
releasenotes/source/conf.py
releasenotes/source/index.rst
releasenotes/source/mitaka.rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-ironicclient-5.4.0/python_ironicclient.egg-info/pbr.json new/python-ironicclient-5.5.0/python_ironicclient.egg-info/pbr.json
--- old/python-ironicclient-5.4.0/python_ironicclient.egg-info/pbr.json 2023-09-01 16:40:34.000000000 +0200
+++ new/python-ironicclient-5.5.0/python_ironicclient.egg-info/pbr.json 2024-02-29 16:06:42.000000000 +0100
@@ -1 +1 @@
-{"git_version": "cea2c5a", "is_release": true}
\ No newline at end of file
+{"git_version": "33699ff", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-ironicclient-5.4.0/releasenotes/notes/accept-valid_interfaces-3b8f5e3e362e04cd.yaml new/python-ironicclient-5.5.0/releasenotes/notes/accept-valid_interfaces-3b8f5e3e362e04cd.yaml
--- old/python-ironicclient-5.4.0/releasenotes/notes/accept-valid_interfaces-3b8f5e3e362e04cd.yaml 2023-09-01 16:40:03.000000000 +0200
+++ new/python-ironicclient-5.5.0/releasenotes/notes/accept-valid_interfaces-3b8f5e3e362e04cd.yaml 2024-02-29 16:06:09.000000000 +0100
@@ -3,7 +3,7 @@
- |
The consumer of ironicclient may be deriving their ``get_client`` kwargs
from config inherited from ksa, where the ``interface`` option has been
- deprecated in favor of ``valid_interfaces``. To accomodate this, we now
+ deprecated in favor of ``valid_interfaces``. To accommodate this, we now
accept ``valid_interfaces`` as a kwarg, giving it precedence over
``interface``. However, we still accept ``interface``, as the consumer may
be deriving kwargs from a non-conf source (such as an already-created ksa
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-ironicclient-5.4.0/releasenotes/notes/add-bios-registry-in-list-21974873f146aff7.yaml new/python-ironicclient-5.5.0/releasenotes/notes/add-bios-registry-in-list-21974873f146aff7.yaml
--- old/python-ironicclient-5.4.0/releasenotes/notes/add-bios-registry-in-list-21974873f146aff7.yaml 2023-09-01 16:40:03.000000000 +0200
+++ new/python-ironicclient-5.5.0/releasenotes/notes/add-bios-registry-in-list-21974873f146aff7.yaml 2024-02-29 16:06:09.000000000 +0100
@@ -3,6 +3,6 @@
- |
Adds new params to the ``baremetal node bios setting list`` command to
include support for the BIOS registry. The ``--long`` option will
- retrieve and display the additonal BIOS registry fields, the ``--fields``
+ retrieve and display the additional BIOS registry fields, the ``--fields``
option will retrieve and display selected fields. The ``baremetal node
bios setting show`` includes these fields by default with no changes.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-ironicclient-5.4.0/releasenotes/notes/address-cross-distro-iso-tools-006711c9f150037a.yaml new/python-ironicclient-5.5.0/releasenotes/notes/address-cross-distro-iso-tools-006711c9f150037a.yaml
--- old/python-ironicclient-5.4.0/releasenotes/notes/address-cross-distro-iso-tools-006711c9f150037a.yaml 2023-09-01 16:40:03.000000000 +0200
+++ new/python-ironicclient-5.5.0/releasenotes/notes/address-cross-distro-iso-tools-006711c9f150037a.yaml 2024-02-29 16:06:09.000000000 +0100
@@ -2,6 +2,6 @@
fixes:
- |
Embedded configuration drive generation support has been updated to
- support ``mkisofs`` and ``xorrisofs`` in adition to the previously
+ support ``mkisofs`` and ``xorrisofs`` in addition to the previously
supported ``genisoimage`` utility. This is as distributions such as
Debian and OpenSUSE do not ship ``genisoimage``.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-ironicclient-5.4.0/releasenotes/notes/allow-api-user-to-use-latest-6b80e9f584eaaa4e.yaml new/python-ironicclient-5.5.0/releasenotes/notes/allow-api-user-to-use-latest-6b80e9f584eaaa4e.yaml
--- old/python-ironicclient-5.4.0/releasenotes/notes/allow-api-user-to-use-latest-6b80e9f584eaaa4e.yaml 2023-09-01 16:40:03.000000000 +0200
+++ new/python-ironicclient-5.5.0/releasenotes/notes/allow-api-user-to-use-latest-6b80e9f584eaaa4e.yaml 2024-02-29 16:06:09.000000000 +0100
@@ -8,7 +8,7 @@
- |
Adds base client properties to provide insight to a python API user of
what the current REST API version that will be utilized, and if API
- version negotiation has occured.
+ version negotiation has occurred.
These new properties are ``client.current_api_version`` and
``client.is_api_version_negotiated`` respectively.
- |
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-ironicclient-5.4.0/releasenotes/notes/provision-state-adopt-d07b838813cecfb1.yaml new/python-ironicclient-5.5.0/releasenotes/notes/provision-state-adopt-d07b838813cecfb1.yaml
--- old/python-ironicclient-5.4.0/releasenotes/notes/provision-state-adopt-d07b838813cecfb1.yaml 2023-09-01 16:40:03.000000000 +0200
+++ new/python-ironicclient-5.5.0/releasenotes/notes/provision-state-adopt-d07b838813cecfb1.yaml 2024-02-29 16:06:09.000000000 +0100
@@ -2,5 +2,5 @@
features:
- Support has been added for the node-set-provision-state verb
``adopt`` which requires API version 1.17. This feature allows
- an operator move a node from ``MANAGABLE`` state to ``ACTIVE``
+ an operator move a node from ``MANAGEABLE`` state to ``ACTIVE``
state without performing cleaning or a deployment operation.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-ironicclient-5.4.0/releasenotes/source/2023.2.rst new/python-ironicclient-5.5.0/releasenotes/source/2023.2.rst
--- old/python-ironicclient-5.4.0/releasenotes/source/2023.2.rst 1970-01-01 01:00:00.000000000 +0100
+++ new/python-ironicclient-5.5.0/releasenotes/source/2023.2.rst 2024-02-29 16:06:09.000000000 +0100
@@ -0,0 +1,6 @@
+===========================
+2023.2 Series Release Notes
+===========================
+
+.. release-notes::
+ :branch: stable/2023.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-ironicclient-5.4.0/releasenotes/source/index.rst new/python-ironicclient-5.5.0/releasenotes/source/index.rst
--- old/python-ironicclient-5.4.0/releasenotes/source/index.rst 2023-09-01 16:40:03.000000000 +0200
+++ new/python-ironicclient-5.5.0/releasenotes/source/index.rst 2024-02-29 16:06:09.000000000 +0100
@@ -6,6 +6,7 @@
:maxdepth: 1
unreleased
+ 2023.2
2023.1
zed
yoga
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-ironicclient-5.4.0/releasenotes/source/yoga.rst new/python-ironicclient-5.5.0/releasenotes/source/yoga.rst
--- old/python-ironicclient-5.4.0/releasenotes/source/yoga.rst 2023-09-01 16:40:03.000000000 +0200
+++ new/python-ironicclient-5.5.0/releasenotes/source/yoga.rst 2024-02-29 16:06:09.000000000 +0100
@@ -3,4 +3,4 @@
=========================
.. release-notes::
- :branch: stable/yoga
+ :branch: unmaintained/yoga
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-ironicclient-5.4.0/setup.cfg new/python-ironicclient-5.5.0/setup.cfg
--- old/python-ironicclient-5.4.0/setup.cfg 2023-09-01 16:40:34.708269100 +0200
+++ new/python-ironicclient-5.5.0/setup.cfg 2024-02-29 16:06:42.568656400 +0100
@@ -19,6 +19,7 @@
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
+ Programming Language :: Python :: 3.11
[files]
packages = ironicclient
@@ -133,6 +134,10 @@
cli =
python-openstackclient>=3.12.0 # Apache-2.0
+[codespell]
+quiet-level = 4
+ignore-words-list = cna
+
[egg_info]
tag_build =
tag_date = 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-ironicclient-5.4.0/tox.ini new/python-ironicclient-5.5.0/tox.ini
--- old/python-ironicclient-5.4.0/tox.ini 2023-09-01 16:40:03.000000000 +0200
+++ new/python-ironicclient-5.5.0/tox.ini 2024-02-29 16:06:09.000000000 +0100
@@ -1,8 +1,9 @@
[tox]
-minversion = 3.18.0
+minversion = 4.4.0
envlist = py3,pep8
[testenv]
+constrain_package_deps = true
setenv = VIRTUAL_ENV={envdir}
PYTHONDONTWRITEBYTECODE = 1
LANGUAGE=en_US
@@ -24,11 +25,12 @@
[testenv:pep8]
deps =
- hacking~=6.0.0 # Apache-2.0
+ hacking~=6.1.0 # Apache-2.0
doc8>=0.6.0 # Apache-2.0
flake8-import-order>=0.17.1 # LGPLv3
pycodestyle>=2.0.0,<3.0.0 # MIT
Pygments>=2.2.0 # BSD
+ -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
commands =
flake8 {posargs}
doc8 doc/source CONTRIBUTING.rst README.rst
@@ -87,3 +89,12 @@
[hacking]
import_exceptions = testtools.matchers, ironicclient.common.i18n
+
+[testenv:codespell]
+description =
+ Run codespell to check spelling
+deps = codespell
+# note(JayF): {posargs} lets us run `tox -ecodespell -- -w` to get codespell
+# to correct spelling issues in our code it's aware of.
+commands =
+ codespell {posargs}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-ironicclient-5.4.0/zuul.d/ironicclient-jobs.yaml new/python-ironicclient-5.5.0/zuul.d/ironicclient-jobs.yaml
--- old/python-ironicclient-5.4.0/zuul.d/ironicclient-jobs.yaml 2023-09-01 16:40:03.000000000 +0200
+++ new/python-ironicclient-5.5.0/zuul.d/ironicclient-jobs.yaml 2024-02-29 16:06:09.000000000 +0100
@@ -42,3 +42,10 @@
vars:
devstack_localrc:
EBTABLES_RACE_FIX: True
+
+- job:
+ name: ironicclient-tox-codespell
+ parent: openstack-tox
+ timeout: 7200
+ vars:
+ tox_envlist: codespell
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-ironicclient-5.4.0/zuul.d/project.yaml new/python-ironicclient-5.5.0/zuul.d/project.yaml
--- old/python-ironicclient-5.4.0/zuul.d/project.yaml 2023-09-01 16:40:03.000000000 +0200
+++ new/python-ironicclient-5.5.0/zuul.d/project.yaml 2024-02-29 16:06:09.000000000 +0100
@@ -8,9 +8,14 @@
- release-notes-jobs-python3
check:
jobs:
- - ironicclient-functional
+ # NOTE(rpittau): temp non-voting until we fix it
+ - ironicclient-functional:
+ voting: false
- ironicclient-tempest
+ - ironicclient-tox-codespell:
+ voting: false
gate:
jobs:
- - ironicclient-functional
+ # NOTE(rpittau): temp non-voting until we fix it
+ #- ironicclient-functional
- ironicclient-tempest
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package mosquitto for openSUSE:Factory checked in at 2024-03-25 21:11:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mosquitto (Old)
and /work/SRC/openSUSE:Factory/.mosquitto.new.1905 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mosquitto"
Mon Mar 25 21:11:16 2024 rev:30 rq:1161178 version:2.0.18
Changes:
--------
--- /work/SRC/openSUSE:Factory/mosquitto/mosquitto.changes 2024-02-07 18:53:51.326519174 +0100
+++ /work/SRC/openSUSE:Factory/.mosquitto.new.1905/mosquitto.changes 2024-03-25 21:17:59.146982330 +0100
@@ -1,0 +2,5 @@
+Thu Mar 21 12:20:58 UTC 2024 - Dirk Stoecker <opensuse(a)dstoecker.de>
+
+- Add Reload action to service
+
+-------------------------------------------------------------------
@@ -1671 +1675,0 @@
-
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ mosquitto.service ++++++
--- /var/tmp/diff_new_pack.BECes6/_old 2024-03-25 21:18:00.147019110 +0100
+++ /var/tmp/diff_new_pack.BECes6/_new 2024-03-25 21:18:00.147019110 +0100
@@ -20,6 +20,7 @@
User=mosquitto
Group=mosquitto
ExecStart=/usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf
+ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-heatclient for openSUSE:Factory checked in at 2024-03-25 21:11:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-heatclient (Old)
and /work/SRC/openSUSE:Factory/.python-heatclient.new.1905 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-heatclient"
Mon Mar 25 21:11:13 2024 rev:38 rq:1161185 version:3.5.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-heatclient/python-heatclient.changes 2023-03-21 17:42:57.598241189 +0100
+++ /work/SRC/openSUSE:Factory/.python-heatclient.new.1905/python-heatclient.changes 2024-03-25 21:17:56.674891410 +0100
@@ -1,0 +2,25 @@
+Sun Mar 24 20:06:06 UTC 2024 - cloud-devel(a)suse.de
+
+- update to version 3.5.0
+ - Bump hacking
+ - Remove leftover of Python <= 2.6 support
+ - Remove some notes no longer valid
+ - Make tests pass after 2038
+ - Remove translation sections from setup.cfg
+ - remove unicode prefix from code (2)
+ - remove unicode prefix from code (1)
+ - Fix osc sd create command
+ - Fix release note generation
+ - reno: Update master for unmaintained/yoga
+ - Update master for stable/2023.2
+ - Add Python 3.11 to supported runtimes
+
+-------------------------------------------------------------------
+Sun Jan 14 17:52:34 UTC 2024 - cloud-devel(a)suse.de
+
+- update to version 3.3.0
+ - Add Python 3.10 to supported runtime.
+ - Switch to 2023.1 Python3 unit tests and generic template name
+ - Update master for stable/2023.1
+
+-------------------------------------------------------------------
Old:
----
python-heatclient-3.2.0.tar.gz
New:
----
python-heatclient-3.5.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-heatclient.spec ++++++
--- /var/tmp/diff_new_pack.NVlD81/_old 2024-03-25 21:17:57.674928190 +0100
+++ /var/tmp/diff_new_pack.NVlD81/_new 2024-03-25 21:17:57.674928190 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-heatclient
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,13 +17,13 @@
Name: python-heatclient
-Version: 3.2.0
+Version: 3.5.0
Release: 0
Summary: Python API and CLI for OpenStack Heat
License: Apache-2.0
Group: Development/Languages/Python
URL: https://docs.openstack.org/python-heatclient
-Source0: https://files.pythonhosted.org/packages/source/p/python-heatclient/python-h…
+Source0: https://files.pythonhosted.org/packages/source/p/python-heatclient/python-h…
BuildRequires: openstack-macros
BuildRequires: python3-PyYAML >= 3.13
BuildRequires: python3-cliff >= 2.8.0
@@ -37,7 +37,7 @@
BuildRequires: python3-swiftclient >= 3.2.0
BuildRequires: python3-testscenarios
BuildRequires: python3-testtools
-Requires: python3-Babel >= 2.3.4
+Requires: python3-Babel
Requires: python3-PrettyTable >= 0.7.2
Requires: python3-PyYAML >= 3.13
Requires: python3-cliff >= 2.8.0
@@ -58,7 +58,7 @@
%package -n python3-heatclient
Summary: Python API and CLI for OpenStack Heat
-Requires: python3-Babel >= 2.3.4
+Requires: python3-Babel
Requires: python3-PrettyTable >= 0.7.2
Requires: python3-PyYAML >= 3.13
Requires: python3-cliff >= 2.8.0
@@ -92,14 +92,14 @@
This package contains auto-generated documentation.
%prep
-%autosetup -p1 -n python-heatclient-3.2.0
+%autosetup -p1 -n python-heatclient-3.5.0
%py_req_cleanup
%build
%{py3_build}
-PBR_VERSION=3.2.0 %sphinx_build -b html doc/source doc/build/html
-PBR_VERSION=3.2.0 %sphinx_build -b man doc/source doc/build/man
+PBR_VERSION=3.5.0 %sphinx_build -b html doc/source doc/build/html
+PBR_VERSION=3.5.0 %sphinx_build -b man doc/source doc/build/man
# remove the sphinx-build leftovers
rm -rf doc/build/html/.{doctrees,buildinfo}
++++++ _service ++++++
--- /var/tmp/diff_new_pack.NVlD81/_old 2024-03-25 21:17:57.702929220 +0100
+++ /var/tmp/diff_new_pack.NVlD81/_new 2024-03-25 21:17:57.706929367 +0100
@@ -1,13 +1,13 @@
<services>
- <service mode="disabled" name="renderspec">
+ <service mode="manual" name="renderspec">
<param name="input-template">https://opendev.org/openstack/rpm-packaging/raw/master/openstack/python-hea…</param>
<param name="output-name">python-heatclient.spec</param>
- <param name="requirements">https://opendev.org/openstack/python-heatclient/raw/branch/stable/xena/requ…</param>
+ <param name="requirements">https://opendev.org/openstack/python-heatclient/raw/master/requirements.txt</param>
<param name="changelog-email">cloud-devel(a)suse.de</param>
<param name="changelog-provider">gh,openstack,python-heatclient</param>
</service>
- <service mode="disabled" name="download_files">
+ <service mode="manual" name="download_files">
</service>
- <service name="format_spec_file" mode="disabled"/>
+ <service name="format_spec_file" mode="manual"/>
</services>
++++++ python-heatclient-3.2.0.tar.gz -> python-heatclient-3.5.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-heatclient-3.2.0/.zuul.yaml new/python-heatclient-3.5.0/.zuul.yaml
--- old/python-heatclient-3.2.0/.zuul.yaml 2023-02-24 10:40:34.000000000 +0100
+++ new/python-heatclient-3.5.0/.zuul.yaml 2024-03-01 10:17:24.000000000 +0100
@@ -20,7 +20,7 @@
- project:
templates:
- openstack-cover-jobs
- - openstack-python3-zed-jobs
+ - openstack-python3-jobs
- check-requirements
- openstackclient-plugin-jobs
- publish-openstack-docs-pti
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-heatclient-3.2.0/AUTHORS new/python-heatclient-3.5.0/AUTHORS
--- old/python-heatclient-3.2.0/AUTHORS 2023-02-24 10:40:58.000000000 +0100
+++ new/python-heatclient-3.5.0/AUTHORS 2024-03-01 10:17:54.000000000 +0100
@@ -11,6 +11,7 @@
Angus Salkeld <asalkeld(a)mirantis.com>
Angus Salkeld <asalkeld(a)redhat.com>
Bartlomiej Biernacki <pax0r(a)o2.pl>
+Bernhard M. Wiedemann <bwiedemann(a)suse.de>
Bin Zhou <zhou.bin9(a)zte.com.cn>
Bo Wang <bo.wang(a)easystack.cn>
Bryan D. Payne <bdpayne(a)acm.org>
@@ -120,6 +121,7 @@
Sushil Kumar <sushil.kumar2(a)globallogic.com>
Swann Croiset <swann.croiset(a)bull.net>
Swapnil Kulkarni (coolsvap) <me(a)coolsvap.net>
+Takashi Kajinami <kajinamit(a)oss.nttdata.com>
Takashi Kajinami <tkajinam(a)redhat.com>
Takashi NATSUME <natsume.takashi(a)lab.ntt.co.jp>
Tang Chen <chen.tang(a)easystack.cn>
@@ -169,6 +171,7 @@
llg8212 <lilinguo(a)huawei.com>
lvdongbing <dongbing.lv(a)kylin-cloud.com>
neetu <nutshi(a)gmail.com>
+niuke <niuke19970315(a)163.com>
rabi <ramishra(a)redhat.com>
rajat29 <rajat.sharma(a)nectechnologies.in>
rico.lin <rico.lin.guanyu(a)gmail.com>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-heatclient-3.2.0/ChangeLog new/python-heatclient-3.5.0/ChangeLog
--- old/python-heatclient-3.2.0/ChangeLog 2023-02-24 10:40:58.000000000 +0100
+++ new/python-heatclient-3.5.0/ChangeLog 2024-03-01 10:17:54.000000000 +0100
@@ -1,17 +1,44 @@
CHANGES
=======
+3.5.0
+-----
+
+* reno: Update master for unmaintained/yoga
+* Bump hacking
+
+3.4.0
+-----
+
+* Remove translation sections from setup.cfg
+* Add Python 3.11 to supported runtimes
+* Update master for stable/2023.2
+* Fix release note generation
+* Remove some notes no longer valid
+
+3.3.0
+-----
+
+* Add Python 3.10 to supported runtime
+* Update master for stable/2023.1
+
3.2.0
-----
* Adapt to tox 4
+* Switch to 2023.1 Python3 unit tests and generic template name
+* Make tests pass after 2038
+* Fix osc sd create command
* Imported Translations from Zanata
* Update master for stable/zed
+* remove unicode prefix from code (2)
+* remove unicode prefix from code (1)
3.1.0
-----
* Accept sha256 hash for swift tempurl
+* Remove leftover of Python <= 2.6 support
3.0.0
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-heatclient-3.2.0/PKG-INFO new/python-heatclient-3.5.0/PKG-INFO
--- old/python-heatclient-3.2.0/PKG-INFO 2023-02-24 10:40:58.871065100 +0100
+++ new/python-heatclient-3.5.0/PKG-INFO 2024-03-01 10:17:54.571469000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.2
Name: python-heatclient
-Version: 3.2.0
+Version: 3.5.0
Summary: OpenStack Orchestration API Client Library
Home-page: https://docs.openstack.org/python-heatclient/latest
Author: OpenStack
@@ -64,6 +64,8 @@
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
+Classifier: Programming Language :: Python :: 3.10
+Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: Implementation :: CPython
Requires-Python: >=3.8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-heatclient-3.2.0/babel.cfg new/python-heatclient-3.5.0/babel.cfg
--- old/python-heatclient-3.2.0/babel.cfg 2023-02-24 10:40:34.000000000 +0100
+++ new/python-heatclient-3.5.0/babel.cfg 1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-[python: **.py]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-heatclient-3.2.0/doc/source/conf.py new/python-heatclient-3.5.0/doc/source/conf.py
--- old/python-heatclient-3.2.0/doc/source/conf.py 2023-02-24 10:40:34.000000000 +0100
+++ new/python-heatclient-3.5.0/doc/source/conf.py 2024-03-01 10:17:24.000000000 +0100
@@ -187,7 +187,7 @@
# (source start file, target name, title, author, documentclass [howto/manual])
latex_documents = [
('index', 'python-heatclient.tex', 'python-heatclient Documentation',
- u'OpenStack Foundation', 'manual'),
+ 'OpenStack Foundation', 'manual'),
]
# The name of an image file (relative to this directory) to place at the top of
@@ -217,8 +217,8 @@
# (source start file, name, description, authors, manual section).
man_pages = [
('man/heat', 'heat',
- u'Command line access to the heat project.',
- [u'Heat Developers'], 1),
+ 'Command line access to the heat project.',
+ ['Heat Developers'], 1),
]
# If true, show URL addresses after external links.
@@ -231,8 +231,8 @@
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
- ('index', 'Heat', u'Heat Documentation',
- u'Heat Developers', 'Heat', 'One line description of project.',
+ ('index', 'Heat', 'Heat Documentation',
+ 'Heat Developers', 'Heat', 'One line description of project.',
'Miscellaneous'),
]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-heatclient-3.2.0/heatclient/common/deployment_utils.py new/python-heatclient-3.5.0/heatclient/common/deployment_utils.py
--- old/python-heatclient-3.2.0/heatclient/common/deployment_utils.py 2023-02-24 10:40:34.000000000 +0100
+++ new/python-heatclient-3.5.0/heatclient/common/deployment_utils.py 2024-03-01 10:17:24.000000000 +0100
@@ -119,7 +119,9 @@
if args.signal_transport != 'TEMP_URL_SIGNAL':
return
- if args.os_no_client_auth:
+ # NOTE(pas-ha) only heatclient has os-no-client-auth arg,
+ # osc plugin does not have it
+ if getattr(args, 'os_no_client_auth', False):
raise exc.CommandError(_(
'Cannot use --os-no-client-auth, auth required to create '
'a Swift TempURL.'))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-heatclient-3.2.0/heatclient/common/event_utils.py new/python-heatclient-3.5.0/heatclient/common/event_utils.py
--- old/python-heatclient-3.2.0/heatclient/common/event_utils.py 2023-02-24 10:40:34.000000000 +0100
+++ new/python-heatclient-3.5.0/heatclient/common/event_utils.py 2024-03-01 10:17:24.000000000 +0100
@@ -61,7 +61,7 @@
resource_event_map[(e.stack_name, e.resource_name)] = e
elif e.resource_status_reason == hook_clear_event_reason:
if resource_event_map.get(stack_resource):
- del(resource_event_map[(e.stack_name, e.resource_name)])
+ del resource_event_map[(e.stack_name, e.resource_name)]
return list(resource_event_map.values())
@@ -84,9 +84,9 @@
return events
first_links = getattr(events[0], 'links', [])
- root_stack_link = [l for l in first_links
- if l.get('rel') == 'root_stack']
- if root_stack_link:
+ root_stack_links = [link for link in first_links
+ if link.get('rel') == 'root_stack']
+ if root_stack_links:
# response has a root_stack link, indicating this is an API which
# supports nested_depth
return events
@@ -152,8 +152,8 @@
def _get_stack_name_from_links(event):
- links = dict((l.get('rel'),
- l.get('href')) for l in getattr(event, 'links', []))
+ links = {link.get('rel'): link.get('href')
+ for link in getattr(event, 'links', [])}
href = links.get('stack')
if not href:
return
@@ -197,8 +197,8 @@
return False
phys_id = getattr(event, 'physical_resource_id', '')
- links = dict((l.get('rel'),
- l.get('href')) for l in getattr(event, 'links', []))
+ links = {link.get('rel'): link.get('href')
+ for link in getattr(event, 'links', [])}
stack_id = links.get('stack', phys_id).rsplit('/', 1)[-1]
return stack_id == phys_id
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-heatclient-3.2.0/heatclient/common/resource_formatter.py new/python-heatclient-3.5.0/heatclient/common/resource_formatter.py
--- old/python-heatclient-3.2.0/heatclient/common/resource_formatter.py 2023-02-24 10:40:34.000000000 +0100
+++ new/python-heatclient-3.5.0/heatclient/common/resource_formatter.py 2024-03-01 10:17:24.000000000 +0100
@@ -21,7 +21,7 @@
def __init__(self, res):
self.resource = res
- links = {l['rel']: l['href'] for l in res.links}
+ links = {link['rel']: link['href'] for link in res.links}
self.nested_dot_id = self.dot_id(links.get('nested'), 'stack')
self.stack_dot_id = self.dot_id(links.get('stack'), 'stack')
self.res_dot_id = self.dot_id(links.get('self'))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-heatclient-3.2.0/heatclient/common/template_format.py new/python-heatclient-3.5.0/heatclient/common/template_format.py
--- old/python-heatclient-3.2.0/heatclient/common/template_format.py 2023-02-24 10:40:34.000000000 +0100
+++ new/python-heatclient-3.5.0/heatclient/common/template_format.py 2024-03-01 10:17:24.000000000 +0100
@@ -41,12 +41,12 @@
return self.construct_scalar(node)
-yaml_loader.add_constructor(u'tag:yaml.org,2002:str', _construct_yaml_str)
+yaml_loader.add_constructor('tag:yaml.org,2002:str', _construct_yaml_str)
# Unquoted dates like 2013-05-23 in yaml files get loaded as objects of type
# datetime.data which causes problems in API layer when being processed by
# openstack.common.jsonutils. Therefore, make unicode string out of timestamps
# until jsonutils can handle dates.
-yaml_loader.add_constructor(u'tag:yaml.org,2002:timestamp',
+yaml_loader.add_constructor('tag:yaml.org,2002:timestamp',
_construct_yaml_str)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-heatclient-3.2.0/heatclient/common/utils.py new/python-heatclient-3.5.0/heatclient/common/utils.py
--- old/python-heatclient-3.2.0/heatclient/common/utils.py 2023-02-24 10:40:34.000000000 +0100
+++ new/python-heatclient-3.5.0/heatclient/common/utils.py 2024-03-01 10:17:24.000000000 +0100
@@ -126,17 +126,17 @@
def link_formatter(links):
- def format_link(l):
- if 'rel' in l:
- return "%s (%s)" % (l.get('href', ''), l.get('rel', ''))
+ def format_link(link):
+ if 'rel' in link:
+ return "%s (%s)" % (link.get('href', ''), link.get('rel', ''))
else:
- return "%s" % (l.get('href', ''))
- return '\n'.join(format_link(l) for l in links or [])
+ return "%s" % (link.get('href', ''))
+ return '\n'.join(format_link(link) for link in links or [])
def resource_nested_identifier(rsrc):
- nested_link = [l for l in rsrc.links or []
- if l.get('rel') == 'nested']
+ nested_link = [link for link in rsrc.links or []
+ if link.get('rel') == 'nested']
if nested_link:
nested_href = nested_link[0].get('href')
nested_identifier = nested_href.split("/")[-2:]
@@ -204,11 +204,11 @@
def get_stack_id():
if getattr(event, 'stack_id', None) is not None:
return event.stack_id
- for l in getattr(event, 'links', []):
- if l.get('rel') == 'stack':
- if 'href' not in l:
+ for link in getattr(event, 'links', []):
+ if link.get('rel') == 'stack':
+ if 'href' not in link:
return None
- stack_link = l['href']
+ stack_link = link['href']
return stack_link.split('/')[-1]
stack_id = get_stack_id()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-heatclient-3.2.0/heatclient/osc/v1/stack_failures.py new/python-heatclient-3.5.0/heatclient/osc/v1/stack_failures.py
--- old/python-heatclient-3.2.0/heatclient/osc/v1/stack_failures.py 2023-02-24 10:40:34.000000000 +0100
+++ new/python-heatclient-3.5.0/heatclient/osc/v1/stack_failures.py 2024-03-01 10:17:24.000000000 +0100
@@ -64,26 +64,26 @@
def _append_failed_resources(self, failures, resources, resource_path):
"""Recursively build list of failed resources."""
appended = False
- for r in resources:
- if not r.resource_status.endswith('FAILED'):
+ for rsc in resources:
+ if not rsc.resource_status.endswith('FAILED'):
continue
# determine if this resources is a nested stack
- links_rel = list([l['rel'] for l in r.links])
+ links_rel = list([link['rel'] for link in rsc.links])
is_nested = 'nested' in links_rel
nested_appended = False
next_resource_path = list(resource_path)
- next_resource_path.append(r.resource_name)
+ next_resource_path.append(rsc.resource_name)
if is_nested:
try:
nested_resources = self.heat_client.resources.list(
- r.physical_resource_id)
+ rsc.physical_resource_id)
nested_appended = self._append_failed_resources(
failures, nested_resources, next_resource_path)
except exc.HTTPNotFound:
# there is a failed resource but no stack
pass
if not nested_appended:
- failures['.'.join(next_resource_path)] = r
+ failures['.'.join(next_resource_path)] = rsc
appended = True
return appended
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-heatclient-3.2.0/heatclient/tests/unit/osc/utils.py new/python-heatclient-3.5.0/heatclient/tests/unit/osc/utils.py
--- old/python-heatclient-3.2.0/heatclient/tests/unit/osc/utils.py 2023-02-24 10:40:34.000000000 +0100
+++ new/python-heatclient-3.5.0/heatclient/tests/unit/osc/utils.py 2024-03-01 10:17:24.000000000 +0100
@@ -46,16 +46,6 @@
msg = 'method %s should not have been called' % m
self.fail(msg)
- # 2.6 doesn't have the assert dict equals so make sure that it exists
- if tuple(sys.version_info)[0:2] < (2, 7):
-
- def assertIsInstance(self, obj, cls, msg=None):
- """self.assertTrue(isinstance(obj, cls)), with a nicer message"""
-
- if not isinstance(obj, cls):
- standardMsg = '%s is not an instance of %r' % (obj, cls)
- self.fail(self._formatMessage(msg, standardMsg))
-
class TestCommand(TestCase):
"""Test cliff command classes"""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-heatclient-3.2.0/heatclient/tests/unit/osc/v1/test_resource.py new/python-heatclient-3.5.0/heatclient/tests/unit/osc/v1/test_resource.py
--- old/python-heatclient-3.2.0/heatclient/tests/unit/osc/v1/test_resource.py 2023-02-24 10:40:34.000000000 +0100
+++ new/python-heatclient-3.5.0/heatclient/tests/unit/osc/v1/test_resource.py 2024-03-01 10:17:24.000000000 +0100
@@ -282,7 +282,7 @@
parsed_args = self.check_parser(self.cmd, arglist, [])
self.cmd.take_action(parsed_args)
self.resource_client.signal.assert_called_with(**{
- 'data': {u'message': u'Content'},
+ 'data': {'message': 'Content'},
'stack_id': 'my_stack',
'resource_name': 'my_resource'
})
@@ -315,7 +315,7 @@
parsed_args = self.check_parser(self.cmd, arglist, [])
self.cmd.take_action(parsed_args)
self.resource_client.signal.assert_called_with(**{
- 'data': {u'message': u'Content'},
+ 'data': {'message': 'Content'},
'stack_id': 'my_stack',
'resource_name': 'my_resource'
})
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-heatclient-3.2.0/heatclient/tests/unit/test_deployment_utils.py new/python-heatclient-3.5.0/heatclient/tests/unit/test_deployment_utils.py
--- old/python-heatclient-3.2.0/heatclient/tests/unit/test_deployment_utils.py 2023-02-24 10:40:34.000000000 +0100
+++ new/python-heatclient-3.5.0/heatclient/tests/unit/test_deployment_utils.py 2024-03-01 10:17:24.000000000 +0100
@@ -17,6 +17,7 @@
import testscenarios
import testtools
from testtools import matchers
+import time
from heatclient.common import deployment_utils
from heatclient import exc
@@ -297,7 +298,7 @@
self.assertThat(url, matchers.MatchesRegex(regexp))
timeout = int(url.split('=')[-1])
- self.assertTrue(timeout < 2147483647)
+ self.assertTrue(timeout < time.time() + 2*365*24*60*60)
def test_get_temp_url_no_account_key(self):
swift_client = mock.MagicMock()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-heatclient-3.2.0/heatclient/tests/unit/test_events.py new/python-heatclient-3.5.0/heatclient/tests/unit/test_events.py
--- old/python-heatclient-3.2.0/heatclient/tests/unit/test_events.py 2023-02-24 10:40:34.000000000 +0100
+++ new/python-heatclient-3.5.0/heatclient/tests/unit/test_events.py 2024-03-01 10:17:24.000000000 +0100
@@ -41,7 +41,7 @@
def test_list_event_with_unicode_resource_name(self):
stack_id = 'teststack',
- resource_name = u'\u5de5\u4f5c'
+ resource_name = '\u5de5\u4f5c'
manager = events.EventManager(None)
with mock.patch('heatclient.v1.events.EventManager._resolve_stack_id')\
as mock_re:
@@ -130,7 +130,7 @@
@mock.patch('heatclient.common.utils.get_response_body')
def test_get_event_with_unicode_resource_name(self, mock_utils, mock_re):
fields = {'stack_id': 'teststack',
- 'resource_name': u'\u5de5\u4f5c',
+ 'resource_name': '\u5de5\u4f5c',
'event_id': '1'}
class FakeAPI(object):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-heatclient-3.2.0/heatclient/tests/unit/test_format_utils.py new/python-heatclient-3.5.0/heatclient/tests/unit/test_format_utils.py
--- old/python-heatclient-3.2.0/heatclient/tests/unit/test_format_utils.py 2023-02-24 10:40:34.000000000 +0100
+++ new/python-heatclient-3.5.0/heatclient/tests/unit/test_format_utils.py 2024-03-01 10:17:24.000000000 +0100
@@ -141,7 +141,7 @@
format_utils.print_software_deployment_output(ov, out=out,
name='deploy_stderr')
self.assertEqual(
- u'''\
+ '''\
deploy_stderr: |
...
2
@@ -161,7 +161,7 @@
name='deploy_stderr',
long=True)
self.assertEqual(
- u'''\
+ '''\
deploy_stderr: |
1
2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-heatclient-3.2.0/heatclient/tests/unit/test_resources.py new/python-heatclient-3.5.0/heatclient/tests/unit/test_resources.py
--- old/python-heatclient-3.2.0/heatclient/tests/unit/test_resources.py 2023-02-24 10:40:34.000000000 +0100
+++ new/python-heatclient-3.5.0/heatclient/tests/unit/test_resources.py 2024-03-01 10:17:24.000000000 +0100
@@ -94,7 +94,7 @@
def test_get_with_unicode_resource_name(self):
fields = {'stack_id': 'teststack',
- 'resource_name': u'\u5de5\u4f5c'}
+ 'resource_name': '\u5de5\u4f5c'}
expect = ('GET',
'/stacks/teststack/abcd1234/resources'
'/%E5%B7%A5%E4%BD%9C')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-heatclient-3.2.0/heatclient/tests/unit/test_shell.py new/python-heatclient-3.5.0/heatclient/tests/unit/test_shell.py
--- old/python-heatclient-3.2.0/heatclient/tests/unit/test_shell.py 2023-02-24 10:40:34.000000000 +0100
+++ new/python-heatclient-3.5.0/heatclient/tests/unit/test_shell.py 2024-03-01 10:17:24.000000000 +0100
@@ -872,7 +872,7 @@
"stack_name": "teststack",
"stack_status": 'CREATE_COMPLETE',
"creation_time": "2012-10-25T01:58:47Z",
- "tags": [u'tag1', u'tag2']
+ "tags": ['tag1', 'tag2']
}}
self.mock_request_get('/stacks/teststack/1', resp_dict)
@@ -996,7 +996,7 @@
' "AWSTemplateFormatVersion": "2010-09-09"',
' "Outputs": {}',
' "Parameters": {}',
- u' "Description": "test\u2665"',
+ ' "Description": "test\u2665"',
' "Resources": {}',
'}'
]
@@ -1051,7 +1051,7 @@
"resources": {'1': {'name': 'r1'}},
"creation_time": "2012-10-25T01:58:47Z",
"timeout_mins": timeout,
- "disable_rollback": not(enable_rollback),
+ "disable_rollback": not enable_rollback,
"tags": tags
}}
self.mock_request_post('/stacks/preview', resp_dict,
@@ -2424,7 +2424,7 @@
'output_value',
'description',
'output2',
- "[u'output', u'value', u'2']",
+ "['output', 'value', '2']",
'test output 2',
]
for r in required:
@@ -2470,7 +2470,7 @@
self._output_fake_response('output_uni')
list_text = self.shell('output-show teststack/1 output_uni')
- self.assertEqual(u'test\u2665\n', list_text)
+ self.assertEqual('test\u2665\n', list_text)
def test_output_show_error(self):
self.register_keystone_auth_fixture()
@@ -2729,11 +2729,9 @@
def test_shell_nested_depth_invalid_value(self):
self.register_keystone_auth_fixture()
stack_id = 'teststack/1'
- resource_name = 'aResource'
error = self.assertRaises(
exc.CommandError, self.shell,
- 'event-list {0} --nested-depth Z'.format(
- stack_id, resource_name))
+ 'event-list {0} --nested-depth Z'.format(stack_id))
self.assertIn('--nested-depth invalid value Z', str(error))
def test_shell_nested_depth_zero(self):
@@ -3672,7 +3670,7 @@
'id': 'abcd'}}
deploy_data = {'action': 'UPDATE',
- 'config_id': u'abcd',
+ 'config_id': 'abcd',
'server_id': 'inst01',
'status': 'IN_PROGRESS',
'tenant_id': 'asdf'}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-heatclient-3.2.0/heatclient/tests/unit/test_template_utils.py new/python-heatclient-3.5.0/heatclient/tests/unit/test_template_utils.py
--- old/python-heatclient-3.2.0/heatclient/tests/unit/test_template_utils.py 2023-02-24 10:40:34.000000000 +0100
+++ new/python-heatclient-3.5.0/heatclient/tests/unit/test_template_utils.py 2024-03-01 10:17:24.000000000 +0100
@@ -61,9 +61,9 @@
_, env_dict = template_utils.process_environment_and_files(
env_file)
self.assertEqual(
- {u'resource_registry': {u'resources': {
- u'bar': {u'hooks': u'pre_create',
- u'restricted_actions': u'replace'}}}},
+ {'resource_registry': {'resources': {
+ 'bar': {'hooks': 'pre_create',
+ 'restricted_actions': 'replace'}}}},
env_dict)
mock_url.assert_called_with('file://%s' % env_file)
@@ -942,22 +942,22 @@
json.loads(files.get('file:///home/my/dir/spam/egg.yaml')))
self.assertEqual({
- u'heat_template_version': u'2013-05-23',
- u'parameters': {
- u'param1': {
- u'type': u'string'
+ 'heat_template_version': '2013-05-23',
+ 'parameters': {
+ 'param1': {
+ 'type': 'string'
}
},
- u'resources': {
- u'resource1': {
- u'type': u'file:///home/my/dir/foo.yaml',
- u'properties': {u'foo': u'bar'}
+ 'resources': {
+ 'resource1': {
+ 'type': 'file:///home/my/dir/foo.yaml',
+ 'properties': {'foo': 'bar'}
},
- u'resource2': {
- u'type': u'OS::Heat::ResourceGroup',
- u'properties': {
- u'resource_def': {
- u'type': u'file:///home/my/dir/spam/egg.yaml'
+ 'resource2': {
+ 'type': 'OS::Heat::ResourceGroup',
+ 'properties': {
+ 'resource_def': {
+ 'type': 'file:///home/my/dir/spam/egg.yaml'
}
}
}
@@ -1018,13 +1018,13 @@
json.loads(files.get('file:///home/my/dir/bar.yaml')))
self.assertEqual({
- u'heat_template_version': u'2013-05-23',
- u'resources': {
- u'foo': {
- u'type': u'OS::Type1',
- u'properties': {
- u'config': {
- u'get_file': u'file:///home/my/dir/bar.yaml'
+ 'heat_template_version': '2013-05-23',
+ 'resources': {
+ 'foo': {
+ 'type': 'OS::Type1',
+ 'properties': {
+ 'config': {
+ 'get_file': 'file:///home/my/dir/bar.yaml'
}
}
}
@@ -1032,13 +1032,13 @@
}, json.loads(files.get('file:///home/my/dir/foo.yaml')))
self.assertEqual({
- u'heat_template_version': u'2013-05-23',
- u'resources': {
- u'resource1': {
- u'type': u'OS::Heat::Stack',
- u'properties': {
- u'template': {
- u'get_file': u'file:///home/my/dir/foo.yaml'
+ 'heat_template_version': '2013-05-23',
+ 'resources': {
+ 'resource1': {
+ 'type': 'OS::Heat::Stack',
+ 'properties': {
+ 'template': {
+ 'get_file': 'file:///home/my/dir/foo.yaml'
}
}
}
@@ -1102,13 +1102,13 @@
resource_registry:
"OS::Thingy": template.yaml
'''
- template_url = u'file:///home/my/dir/template.yaml'
- foo_url = u'file:///home/my/dir/foo.yaml'
- egg_url = u'file:///home/my/dir/spam/egg.yaml'
- ham_url = u'file:///home/my/dir/spam/ham.yaml'
- one_url = u'file:///home/my/dir/spam/one.yaml'
- two_url = u'file:///home/my/dir/spam/two.yaml'
- three_url = u'file:///home/my/dir/spam/three.yaml'
+ template_url = 'file:///home/my/dir/template.yaml'
+ foo_url = 'file:///home/my/dir/foo.yaml'
+ egg_url = 'file:///home/my/dir/spam/egg.yaml'
+ ham_url = 'file:///home/my/dir/spam/ham.yaml'
+ one_url = 'file:///home/my/dir/spam/one.yaml'
+ two_url = 'file:///home/my/dir/spam/two.yaml'
+ three_url = 'file:///home/my/dir/spam/three.yaml'
def side_effect(args):
if env_url == args:
@@ -1138,19 +1138,19 @@
env_dict)
self.assertEqual({
- u'heat_template_version': u'2013-05-23',
- u'parameters': {u'param1': {u'type': u'string'}},
- u'resources': {
- u'resource1': {
- u'properties': {u'foo': u'bar'},
- u'type': foo_url
+ 'heat_template_version': '2013-05-23',
+ 'parameters': {'param1': {'type': 'string'}},
+ 'resources': {
+ 'resource1': {
+ 'properties': {'foo': 'bar'},
+ 'type': foo_url
},
- u'resource2': {
- u'type': u'OS::Heat::ResourceGroup',
- u'properties': {
- u'resource_def': {
- u'type': egg_url},
- u'with': {u'get_file': ham_url}
+ 'resource2': {
+ 'type': 'OS::Heat::ResourceGroup',
+ 'properties': {
+ 'resource_def': {
+ 'type': egg_url},
+ 'with': {'get_file': ham_url}
}
}
}
@@ -1159,17 +1159,17 @@
self.assertEqual(yaml.safe_load(self.foo_template.decode('utf-8')),
json.loads(files.get(foo_url)))
self.assertEqual({
- u'heat_template_version': u'2013-05-23',
- u'parameters': {u'param1': {u'type': u'string'}},
- u'resources': {
- u'resource1': {
- u'properties': {u'foo': u'bar'},
- u'type': one_url},
- u'resource2': {
- u'type': u'OS::Heat::ResourceGroup',
- u'properties': {
- u'resource_def': {u'type': two_url},
- u'with': {u'get_file': three_url}
+ 'heat_template_version': '2013-05-23',
+ 'parameters': {'param1': {'type': 'string'}},
+ 'resources': {
+ 'resource1': {
+ 'properties': {'foo': 'bar'},
+ 'type': one_url},
+ 'resource2': {
+ 'type': 'OS::Heat::ResourceGroup',
+ 'properties': {
+ 'resource_def': {'type': two_url},
+ 'with': {'get_file': three_url}
}
}
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-heatclient-3.2.0/heatclient/tests/unit/test_utils.py new/python-heatclient-3.5.0/heatclient/tests/unit/test_utils.py
--- old/python-heatclient-3.2.0/heatclient/tests/unit/test_utils.py 2023-02-24 10:40:34.000000000 +0100
+++ new/python-heatclient-3.5.0/heatclient/tests/unit/test_utils.py 2024-03-01 10:17:24.000000000 +0100
@@ -122,21 +122,21 @@
def test_resource_nested_identifier(self):
rsrc_info = {'resource_name': 'aresource',
- 'links': [{'href': u'http://foo/name/id/resources/0',
- 'rel': u'self'},
- {'href': u'http://foo/name/id',
- 'rel': u'stack'},
- {'href': u'http://foo/n_name/n_id',
- 'rel': u'nested'}]}
+ 'links': [{'href': 'http://foo/name/id/resources/0',
+ 'rel': 'self'},
+ {'href': 'http://foo/name/id',
+ 'rel': 'stack'},
+ {'href': 'http://foo/n_name/n_id',
+ 'rel': 'nested'}]}
rsrc = hc_res.Resource(manager=None, info=rsrc_info)
self.assertEqual('n_name/n_id', utils.resource_nested_identifier(rsrc))
def test_resource_nested_identifier_none(self):
rsrc_info = {'resource_name': 'aresource',
- 'links': [{'href': u'http://foo/name/id/resources/0',
- 'rel': u'self'},
- {'href': u'http://foo/name/id',
- 'rel': u'stack'}]}
+ 'links': [{'href': 'http://foo/name/id/resources/0',
+ 'rel': 'self'},
+ {'href': 'http://foo/name/id',
+ 'rel': 'stack'}]}
rsrc = hc_res.Resource(manager=None, info=rsrc_info)
self.assertIsNone(utils.resource_nested_identifier(rsrc))
@@ -145,7 +145,7 @@
self.assertEqual('{}', utils.json_formatter({}))
self.assertEqual('{\n "foo": "bar"\n}',
utils.json_formatter({"foo": "bar"}))
- self.assertEqual(u'{\n "Uni": "test\u2665"\n}',
+ self.assertEqual('{\n "Uni": "test\u2665"\n}',
utils.json_formatter({"Uni": u"test\u2665"}))
def test_yaml_formatter(self):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-heatclient-3.2.0/heatclient/v1/resources.py new/python-heatclient-3.5.0/heatclient/v1/resources.py
--- old/python-heatclient-3.2.0/heatclient/v1/resources.py 2023-02-24 10:40:34.000000000 +0100
+++ new/python-heatclient-3.5.0/heatclient/v1/resources.py 2024-03-01 10:17:24.000000000 +0100
@@ -40,9 +40,9 @@
def stack_name(self):
if not hasattr(self, 'links'):
return
- for l in self.links:
- if l['rel'] == 'stack':
- return l['href'].split('/')[-2]
+ for link in self.links:
+ if link['rel'] == 'stack':
+ return link['href'].split('/')[-2]
class ResourceManager(stacks.StackChildManager):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-heatclient-3.2.0/heatclient/v1/shell.py new/python-heatclient-3.5.0/heatclient/v1/shell.py
--- old/python-heatclient-3.2.0/heatclient/v1/shell.py 2023-02-24 10:40:34.000000000 +0100
+++ new/python-heatclient-3.5.0/heatclient/v1/shell.py 2024-03-01 10:17:24.000000000 +0100
@@ -113,7 +113,7 @@
fields = {
'stack_name': args.name,
- 'disable_rollback': not(args.enable_rollback),
+ 'disable_rollback': not args.enable_rollback,
'parameters': utils.format_all_parameters(args.parameters,
args.parameter_file,
args.template_file,
@@ -201,7 +201,7 @@
fields = {
'stack_name': args.name,
- 'disable_rollback': not(args.enable_rollback),
+ 'disable_rollback': not args.enable_rollback,
'adopt_stack_data': adopt_data,
'parameters': utils.format_parameters(args.parameters),
'files': files,
@@ -262,7 +262,7 @@
fields = {
'stack_name': args.name,
- 'disable_rollback': not(args.enable_rollback),
+ 'disable_rollback': not args.enable_rollback,
'timeout_mins': args.timeout,
'parameters': utils.format_all_parameters(args.parameters,
args.parameter_file,
@@ -543,7 +543,7 @@
except ValueError as ex:
raise exc.CommandError(str(ex))
else:
- fields['disable_rollback'] = not(rollback)
+ fields['disable_rollback'] = not rollback
# TODO(pshchelo): remove the following 'else' clause after deprecation
# period of --enable-rollback switch and assign -r shortcut to --rollback
else:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-heatclient-3.2.0/python_heatclient.egg-info/PKG-INFO new/python-heatclient-3.5.0/python_heatclient.egg-info/PKG-INFO
--- old/python-heatclient-3.2.0/python_heatclient.egg-info/PKG-INFO 2023-02-24 10:40:58.000000000 +0100
+++ new/python-heatclient-3.5.0/python_heatclient.egg-info/PKG-INFO 2024-03-01 10:17:54.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.2
Name: python-heatclient
-Version: 3.2.0
+Version: 3.5.0
Summary: OpenStack Orchestration API Client Library
Home-page: https://docs.openstack.org/python-heatclient/latest
Author: OpenStack
@@ -64,6 +64,8 @@
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
+Classifier: Programming Language :: Python :: 3.10
+Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: Implementation :: CPython
Requires-Python: >=3.8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-heatclient-3.2.0/python_heatclient.egg-info/SOURCES.txt new/python-heatclient-3.5.0/python_heatclient.egg-info/SOURCES.txt
--- old/python-heatclient-3.2.0/python_heatclient.egg-info/SOURCES.txt 2023-02-24 10:40:58.000000000 +0100
+++ new/python-heatclient-3.5.0/python_heatclient.egg-info/SOURCES.txt 2024-03-01 10:17:54.000000000 +0100
@@ -6,7 +6,6 @@
ChangeLog
LICENSE
README.rst
-babel.cfg
requirements.txt
setup.cfg
setup.py
@@ -143,6 +142,8 @@
releasenotes/notes/add-files-container-stack-create-update-324b931f8f474b3d.yaml
releasenotes/notes/bug-1643492-2d7537b55f347722.yaml
releasenotes/notes/drop-python-2-7-73d3113c69d724d6.yaml
+releasenotes/source/2023.1.rst
+releasenotes/source/2023.2.rst
releasenotes/source/conf.py
releasenotes/source/index.rst
releasenotes/source/queens.rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-heatclient-3.2.0/python_heatclient.egg-info/pbr.json new/python-heatclient-3.5.0/python_heatclient.egg-info/pbr.json
--- old/python-heatclient-3.2.0/python_heatclient.egg-info/pbr.json 2023-02-24 10:40:58.000000000 +0100
+++ new/python-heatclient-3.5.0/python_heatclient.egg-info/pbr.json 2024-03-01 10:17:54.000000000 +0100
@@ -1 +1 @@
-{"git_version": "712739e", "is_release": true}
\ No newline at end of file
+{"git_version": "02c82e6", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-heatclient-3.2.0/python_heatclient.egg-info/requires.txt new/python-heatclient-3.5.0/python_heatclient.egg-info/requires.txt
--- old/python-heatclient-3.2.0/python_heatclient.egg-info/requires.txt 2023-02-24 10:40:58.000000000 +0100
+++ new/python-heatclient-3.5.0/python_heatclient.egg-info/requires.txt 2024-03-01 10:17:54.000000000 +0100
@@ -1,4 +1,3 @@
-Babel!=2.4.0,>=2.3.4
PrettyTable>=0.7.2
PyYAML>=3.13
cliff!=2.9.0,>=2.8.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-heatclient-3.2.0/releasenotes/source/2023.1.rst new/python-heatclient-3.5.0/releasenotes/source/2023.1.rst
--- old/python-heatclient-3.2.0/releasenotes/source/2023.1.rst 1970-01-01 01:00:00.000000000 +0100
+++ new/python-heatclient-3.5.0/releasenotes/source/2023.1.rst 2024-03-01 10:17:24.000000000 +0100
@@ -0,0 +1,6 @@
+===========================
+2023.1 Series Release Notes
+===========================
+
+.. release-notes::
+ :branch: stable/2023.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-heatclient-3.2.0/releasenotes/source/2023.2.rst new/python-heatclient-3.5.0/releasenotes/source/2023.2.rst
--- old/python-heatclient-3.2.0/releasenotes/source/2023.2.rst 1970-01-01 01:00:00.000000000 +0100
+++ new/python-heatclient-3.5.0/releasenotes/source/2023.2.rst 2024-03-01 10:17:24.000000000 +0100
@@ -0,0 +1,6 @@
+===========================
+2023.2 Series Release Notes
+===========================
+
+.. release-notes::
+ :branch: stable/2023.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-heatclient-3.2.0/releasenotes/source/conf.py new/python-heatclient-3.5.0/releasenotes/source/conf.py
--- old/python-heatclient-3.2.0/releasenotes/source/conf.py 2023-02-24 10:40:34.000000000 +0100
+++ new/python-heatclient-3.5.0/releasenotes/source/conf.py 2024-03-01 10:17:24.000000000 +0100
@@ -64,9 +64,9 @@
master_doc = 'index'
# General information about the project.
-project = u'Python-heatclient releasenotes'
-copyright = u'2017, Heat team'
-author = u'Heat team'
+project = 'Python-heatclient releasenotes'
+copyright = '2017, Heat team'
+author = 'Heat team'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
@@ -83,7 +83,7 @@
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
-language = None
+# language = None
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
@@ -146,8 +146,8 @@
# author, documentclass [howto, manual, or own class]).
latex_documents = [
(master_doc, 'Python-heatclientreleasenotes.tex',
- u'Python-heatclient releasenotes Documentation',
- u'Heat team', 'manual'),
+ 'Python-heatclient releasenotes Documentation',
+ 'Heat team', 'manual'),
]
@@ -157,7 +157,7 @@
# (source start file, name, description, authors, manual section).
man_pages = [
(master_doc, 'python-heatclientreleasenotes',
- u'Python-heatclient releasenotes Documentation',
+ 'Python-heatclient releasenotes Documentation',
[author], 1)
]
@@ -169,7 +169,7 @@
# dir menu entry, description, category)
texinfo_documents = [
(master_doc, 'Python-heatclientreleasenotes',
- u'Python-heatclient releasenotes Documentation',
+ 'Python-heatclient releasenotes Documentation',
author, 'Python-heatclientreleasenotes',
'One line description of project.',
'Miscellaneous'),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-heatclient-3.2.0/releasenotes/source/index.rst new/python-heatclient-3.5.0/releasenotes/source/index.rst
--- old/python-heatclient-3.2.0/releasenotes/source/index.rst 2023-02-24 10:40:34.000000000 +0100
+++ new/python-heatclient-3.5.0/releasenotes/source/index.rst 2024-03-01 10:17:24.000000000 +0100
@@ -7,6 +7,8 @@
:caption: Contents:
unreleased
+ 2023.2
+ 2023.1
zed
yoga
xena
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-heatclient-3.2.0/releasenotes/source/yoga.rst new/python-heatclient-3.5.0/releasenotes/source/yoga.rst
--- old/python-heatclient-3.2.0/releasenotes/source/yoga.rst 2023-02-24 10:40:34.000000000 +0100
+++ new/python-heatclient-3.5.0/releasenotes/source/yoga.rst 2024-03-01 10:17:24.000000000 +0100
@@ -3,4 +3,4 @@
=========================
.. release-notes::
- :branch: stable/yoga
+ :branch: unmaintained/yoga
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-heatclient-3.2.0/requirements.txt new/python-heatclient-3.5.0/requirements.txt
--- old/python-heatclient-3.2.0/requirements.txt 2023-02-24 10:40:34.000000000 +0100
+++ new/python-heatclient-3.5.0/requirements.txt 2024-03-01 10:17:24.000000000 +0100
@@ -2,11 +2,6 @@
# date but we do not test them so no guarantee of having them all correct. If
# you find any incorrect lower bounds, let us know or propose a fix.
-# The order of packages is significant, because pip processes them in the order
-# of appearance. Changing the order has an impact on the overall integration
-# process, which may cause wedges in the gate later.
-
-Babel!=2.4.0,>=2.3.4 # BSD
pbr!=2.1.0,>=2.0.0 # Apache-2.0
cliff!=2.9.0,>=2.8.0 # Apache-2.0
iso8601>=0.1.11 # MIT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-heatclient-3.2.0/setup.cfg new/python-heatclient-3.5.0/setup.cfg
--- old/python-heatclient-3.2.0/setup.cfg 2023-02-24 10:40:58.871065100 +0100
+++ new/python-heatclient-3.5.0/setup.cfg 2024-03-01 10:17:54.575469000 +0100
@@ -20,6 +20,8 @@
Programming Language :: Python :: 3
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
+ Programming Language :: Python :: 3.10
+ Programming Language :: Python :: 3.11
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: Implementation :: CPython
@@ -97,20 +99,6 @@
yaml = cliff.formatters.yaml_format:YAMLFormatter
json = cliff.formatters.json_format:JSONFormatter
-[extract_messages]
-keywords = _ gettext ngettext l_ lazy_gettext
-mapping_file = babel.cfg
-output_file = heatclient/locale/heatclient.pot
-
-[compile_catalog]
-directory = heatclient/locale
-domain = heatclient
-
-[update_catalog]
-domain = heatclient
-output_dir = heatclient/locale
-input_file = heatclient/locale/heatclient.pot
-
[egg_info]
tag_build =
tag_date = 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-heatclient-3.2.0/setup.py new/python-heatclient-3.5.0/setup.py
--- old/python-heatclient-3.2.0/setup.py 2023-02-24 10:40:34.000000000 +0100
+++ new/python-heatclient-3.5.0/setup.py 2024-03-01 10:17:24.000000000 +0100
@@ -13,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
import setuptools
setuptools.setup(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-heatclient-3.2.0/test-requirements.txt new/python-heatclient-3.5.0/test-requirements.txt
--- old/python-heatclient-3.2.0/test-requirements.txt 2023-02-24 10:40:34.000000000 +0100
+++ new/python-heatclient-3.5.0/test-requirements.txt 2024-03-01 10:17:24.000000000 +0100
@@ -1,9 +1,5 @@
-# The order of packages is significant, because pip processes them in the order
-# of appearance. Changing the order has an impact on the overall integration
-# process, which may cause wedges in the gate later.
-
# Hacking already pins down pep8, pyflakes and flake8
-hacking>=3.0.1,<3.1.0 # Apache-2.0
+hacking>=6.1.0,<6.2.0 # Apache-2.0
coverage!=4.4,>=4.0 # Apache-2.0
fixtures>=3.0.0 # Apache-2.0/BSD
requests-mock>=1.2.0 # Apache-2.0
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-oslo.versionedobjects for openSUSE:Factory checked in at 2024-03-25 21:11:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oslo.versionedobjects (Old)
and /work/SRC/openSUSE:Factory/.python-oslo.versionedobjects.new.1905 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oslo.versionedobjects"
Mon Mar 25 21:11:11 2024 rev:18 rq:1161183 version:3.3.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-oslo.versionedobjects/python-oslo.versionedobjects.changes 2023-12-28 23:04:58.382138566 +0100
+++ /work/SRC/openSUSE:Factory/.python-oslo.versionedobjects.new.1905/python-oslo.versionedobjects.changes 2024-03-25 21:17:53.862787984 +0100
@@ -1,0 +2,12 @@
+Sun Mar 24 20:04:25 UTC 2024 - cloud-devel(a)suse.de
+
+- removed 0001-Avoid-TypeError-when-building-for-Sphinx-6.1.1-and-a.patch
+- update to version 3.3.0
+ - Avoid TypeError when building for Sphinx 6.1.1 and above
+ - Bump hacking
+ - Update python classifier in setup.cfg
+ - coveragerc: Remove non-existent path
+ - reno: Update master for unmaintained/yoga
+ - Update master for stable/2023.2
+
+-------------------------------------------------------------------
Old:
----
0001-Avoid-TypeError-when-building-for-Sphinx-6.1.1-and-a.patch
oslo.versionedobjects-3.2.0.tar.gz
New:
----
oslo.versionedobjects-3.3.0.tar.gz
BETA DEBUG BEGIN:
Old:
- removed 0001-Avoid-TypeError-when-building-for-Sphinx-6.1.1-and-a.patch
- update to version 3.3.0
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-oslo.versionedobjects.spec ++++++
--- /var/tmp/diff_new_pack.wV8gRw/_old 2024-03-25 21:17:54.910826530 +0100
+++ /var/tmp/diff_new_pack.wV8gRw/_new 2024-03-25 21:17:54.910826530 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-oslo.versionedobjects
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,14 +17,13 @@
Name: python-oslo.versionedobjects
-Version: 3.2.0
+Version: 3.3.0
Release: 0
Summary: Oslo Versioned Objects library
License: Apache-2.0
Group: Development/Languages/Python
URL: https://docs.openstack.org/oslo.versionedobjects
-Source0: https://files.pythonhosted.org/packages/source/o/oslo.versionedobjects/oslo…
-Patch1: 0001-Avoid-TypeError-when-building-for-Sphinx-6.1.1-and-a.patch
+Source0: https://files.pythonhosted.org/packages/source/o/oslo.versionedobjects/oslo…
BuildRequires: openstack-macros
BuildRequires: python3-iso8601 >= 0.1.11
BuildRequires: python3-jsonschema
@@ -83,7 +82,7 @@
This package contains documentation files for %{name}.
%prep
-%autosetup -p1 -n oslo.versionedobjects-3.2.0
+%autosetup -p1 -n oslo.versionedobjects-3.3.0
%py_req_cleanup
%build
++++++ oslo.versionedobjects-3.2.0.tar.gz -> oslo.versionedobjects-3.3.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.versionedobjects-3.2.0/.coveragerc new/oslo.versionedobjects-3.3.0/.coveragerc
--- old/oslo.versionedobjects-3.2.0/.coveragerc 2023-08-28 15:03:17.000000000 +0200
+++ new/oslo.versionedobjects-3.3.0/.coveragerc 2024-02-22 16:09:48.000000000 +0100
@@ -1,7 +1,7 @@
[run]
branch = True
source = oslo_versionedobjects
-omit = oslo_versionedobjects/tests/*,versionedobjects/openstack/*
+omit = oslo_versionedobjects/tests/*
[report]
ignore_errors = True
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.versionedobjects-3.2.0/.pre-commit-config.yaml new/oslo.versionedobjects-3.3.0/.pre-commit-config.yaml
--- old/oslo.versionedobjects-3.2.0/.pre-commit-config.yaml 2023-08-28 15:03:17.000000000 +0200
+++ new/oslo.versionedobjects-3.3.0/.pre-commit-config.yaml 2024-02-22 16:09:48.000000000 +0100
@@ -32,7 +32,7 @@
- id: flake8
name: flake8
additional_dependencies:
- - hacking>=3.0.1,<3.1.0
+ - hacking>=6.1.0,<6.2.0
language: python
entry: flake8
files: '^.*\.py$'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.versionedobjects-3.2.0/AUTHORS new/oslo.versionedobjects-3.3.0/AUTHORS
--- old/oslo.versionedobjects-3.2.0/AUTHORS 2023-08-28 15:03:44.000000000 +0200
+++ new/oslo.versionedobjects-3.3.0/AUTHORS 2024-02-22 16:10:16.000000000 +0100
@@ -102,6 +102,7 @@
Devin Carlen <devin.carlen(a)gmail.com>
Dinesh Bhor <dinesh.bhor(a)nttdata.com>
Dirk Mueller <dirk(a)dmllr.de>
+Dirk Müller <dirk(a)dmllr.de>
Dmitry Borodaenko <dborodaenko(a)mirantis.com>
Donal Lafferty <donal.lafferty(a)citrix.com>
Doug Hellmann <doug.hellmann(a)dreamhost.com>
@@ -339,6 +340,7 @@
SuperStack <superstack(a)superstack.org>
Surojit Pathak <suro(a)yahoo-inc.com>
Sylvain Bauza <sbauza(a)redhat.com>
+Takashi Kajinami <kajinamit(a)oss.nttdata.com>
Takashi Kajinami <tkajinam(a)redhat.com>
Takashi NATSUME <natsume.takashi(a)lab.ntt.co.jp>
Thang Pham <thang.g.pham(a)gmail.com>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.versionedobjects-3.2.0/ChangeLog new/oslo.versionedobjects-3.3.0/ChangeLog
--- old/oslo.versionedobjects-3.2.0/ChangeLog 2023-08-28 15:03:43.000000000 +0200
+++ new/oslo.versionedobjects-3.3.0/ChangeLog 2024-02-22 16:10:15.000000000 +0100
@@ -1,6 +1,15 @@
CHANGES
=======
+3.3.0
+-----
+
+* reno: Update master for unmaintained/yoga
+* Bump hacking
+* Update python classifier in setup.cfg
+* coveragerc: Remove non-existent path
+* Update master for stable/2023.2
+
3.2.0
-----
@@ -8,6 +17,7 @@
* Imported Translations from Zanata
* Revert "Moves supported python runtimes from version 3.8 to 3.10"
* Moves supported python runtimes from version 3.8 to 3.10
+* Avoid TypeError when building for Sphinx 6.1.1 and above
* Update master for stable/2023.1
* Imported Translations from Zanata
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.versionedobjects-3.2.0/PKG-INFO new/oslo.versionedobjects-3.3.0/PKG-INFO
--- old/oslo.versionedobjects-3.2.0/PKG-INFO 2023-08-28 15:03:44.163599500 +0200
+++ new/oslo.versionedobjects-3.3.0/PKG-INFO 2024-02-22 16:10:16.318356300 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.2
Name: oslo.versionedobjects
-Version: 3.2.0
+Version: 3.3.0
Summary: Oslo Versioned Objects library
Home-page: https://docs.openstack.org/oslo.versionedobjects/latest/
Author: OpenStack
@@ -51,6 +51,7 @@
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
+Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: Implementation :: CPython
Requires-Python: >=3.8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.versionedobjects-3.2.0/doc/source/conf.py new/oslo.versionedobjects-3.3.0/doc/source/conf.py
--- old/oslo.versionedobjects-3.2.0/doc/source/conf.py 2023-08-28 15:03:17.000000000 +0200
+++ new/oslo.versionedobjects-3.3.0/doc/source/conf.py 2024-02-22 16:09:48.000000000 +0100
@@ -59,7 +59,7 @@
# Shortened external links.
extlinks = {
'example': (source_tree +
- '/%s/examples/%%s.py' % project.replace(".", "_"), ''),
+ '/%s/examples/%%s.py' % project.replace(".", "_"), None),
}
# The name of the Pygments (syntax highlighting) style to use.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.versionedobjects-3.2.0/oslo.versionedobjects.egg-info/PKG-INFO new/oslo.versionedobjects-3.3.0/oslo.versionedobjects.egg-info/PKG-INFO
--- old/oslo.versionedobjects-3.2.0/oslo.versionedobjects.egg-info/PKG-INFO 2023-08-28 15:03:44.000000000 +0200
+++ new/oslo.versionedobjects-3.3.0/oslo.versionedobjects.egg-info/PKG-INFO 2024-02-22 16:10:16.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.2
Name: oslo.versionedobjects
-Version: 3.2.0
+Version: 3.3.0
Summary: Oslo Versioned Objects library
Home-page: https://docs.openstack.org/oslo.versionedobjects/latest/
Author: OpenStack
@@ -51,6 +51,7 @@
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
+Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: Implementation :: CPython
Requires-Python: >=3.8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.versionedobjects-3.2.0/oslo.versionedobjects.egg-info/SOURCES.txt new/oslo.versionedobjects-3.3.0/oslo.versionedobjects.egg-info/SOURCES.txt
--- old/oslo.versionedobjects-3.2.0/oslo.versionedobjects.egg-info/SOURCES.txt 2023-08-28 15:03:44.000000000 +0200
+++ new/oslo.versionedobjects-3.3.0/oslo.versionedobjects.egg-info/SOURCES.txt 2024-02-22 16:10:16.000000000 +0100
@@ -60,6 +60,7 @@
releasenotes/notes/drop-python27-support-b3e377b0dcfa4f5c.yaml
releasenotes/notes/update_md5_for_fips-e5a8f8f438ac81fb.yaml
releasenotes/source/2023.1.rst
+releasenotes/source/2023.2.rst
releasenotes/source/conf.py
releasenotes/source/index.rst
releasenotes/source/ocata.rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.versionedobjects-3.2.0/oslo.versionedobjects.egg-info/pbr.json new/oslo.versionedobjects-3.3.0/oslo.versionedobjects.egg-info/pbr.json
--- old/oslo.versionedobjects-3.2.0/oslo.versionedobjects.egg-info/pbr.json 2023-08-28 15:03:44.000000000 +0200
+++ new/oslo.versionedobjects-3.3.0/oslo.versionedobjects.egg-info/pbr.json 2024-02-22 16:10:16.000000000 +0100
@@ -1 +1 @@
-{"git_version": "6478669", "is_release": true}
\ No newline at end of file
+{"git_version": "25db0cf", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.versionedobjects-3.2.0/oslo_versionedobjects/tests/test_fields.py new/oslo.versionedobjects-3.3.0/oslo_versionedobjects/tests/test_fields.py
--- old/oslo.versionedobjects-3.2.0/oslo_versionedobjects/tests/test_fields.py 2023-08-28 15:03:17.000000000 +0200
+++ new/oslo.versionedobjects-3.3.0/oslo_versionedobjects/tests/test_fields.py 2024-02-22 16:09:48.000000000 +0100
@@ -223,7 +223,8 @@
pattern = schema['pattern']
for _, valid_val in self.coerce_good_values:
self.assertRegex(valid_val, pattern)
- invalid_vals = [x for x in self.coerce_bad_values if type(x) == 'str']
+ invalid_vals = [x for x in self.coerce_bad_values
+ if isinstance(x, str)]
for invalid_val in invalid_vals:
self.assertNotRegex(invalid_val, pattern)
@@ -255,7 +256,8 @@
pattern = schema['pattern']
for _, valid_val in self.coerce_good_values:
self.assertRegex(valid_val, pattern)
- invalid_vals = [x for x in self.coerce_bad_values if type(x) == 'str']
+ invalid_vals = [x for x in self.coerce_bad_values
+ if isinstance(x, str)]
for invalid_val in invalid_vals:
self.assertNotRegex(invalid_val, pattern)
@@ -312,7 +314,8 @@
pattern = schema['pattern']
for _, valid_val in self.coerce_good_values[:4]:
self.assertRegex(valid_val, pattern)
- invalid_vals = [x for x in self.coerce_bad_values if type(x) == 'str']
+ invalid_vals = [x for x in self.coerce_bad_values
+ if isinstance(x, str)]
for invalid_val in invalid_vals:
self.assertNotRegex(invalid_val, pattern)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.versionedobjects-3.2.0/releasenotes/source/2023.2.rst new/oslo.versionedobjects-3.3.0/releasenotes/source/2023.2.rst
--- old/oslo.versionedobjects-3.2.0/releasenotes/source/2023.2.rst 1970-01-01 01:00:00.000000000 +0100
+++ new/oslo.versionedobjects-3.3.0/releasenotes/source/2023.2.rst 2024-02-22 16:09:48.000000000 +0100
@@ -0,0 +1,6 @@
+===========================
+2023.2 Series Release Notes
+===========================
+
+.. release-notes::
+ :branch: stable/2023.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.versionedobjects-3.2.0/releasenotes/source/index.rst new/oslo.versionedobjects-3.3.0/releasenotes/source/index.rst
--- old/oslo.versionedobjects-3.2.0/releasenotes/source/index.rst 2023-08-28 15:03:17.000000000 +0200
+++ new/oslo.versionedobjects-3.3.0/releasenotes/source/index.rst 2024-02-22 16:09:48.000000000 +0100
@@ -6,6 +6,7 @@
:maxdepth: 1
unreleased
+ 2023.2
2023.1
zed
yoga
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.versionedobjects-3.2.0/releasenotes/source/yoga.rst new/oslo.versionedobjects-3.3.0/releasenotes/source/yoga.rst
--- old/oslo.versionedobjects-3.2.0/releasenotes/source/yoga.rst 2023-08-28 15:03:17.000000000 +0200
+++ new/oslo.versionedobjects-3.3.0/releasenotes/source/yoga.rst 2024-02-22 16:09:48.000000000 +0100
@@ -3,4 +3,4 @@
=========================
.. release-notes::
- :branch: stable/yoga
+ :branch: unmaintained/yoga
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.versionedobjects-3.2.0/requirements.txt new/oslo.versionedobjects-3.3.0/requirements.txt
--- old/oslo.versionedobjects-3.2.0/requirements.txt 2023-08-28 15:03:17.000000000 +0200
+++ new/oslo.versionedobjects-3.3.0/requirements.txt 2024-02-22 16:09:48.000000000 +0100
@@ -1,6 +1,3 @@
-# The order of packages is significant, because pip processes them in the order
-# of appearance. Changing the order has an impact on the overall integration
-# process, which may cause wedges in the gate later.
oslo.concurrency>=3.26.0 # Apache-2.0
oslo.config>=5.2.0 # Apache-2.0
oslo.context>=2.19.2 # Apache-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.versionedobjects-3.2.0/setup.cfg new/oslo.versionedobjects-3.3.0/setup.cfg
--- old/oslo.versionedobjects-3.2.0/setup.cfg 2023-08-28 15:03:44.167599400 +0200
+++ new/oslo.versionedobjects-3.3.0/setup.cfg 2024-02-22 16:10:16.318356300 +0100
@@ -18,6 +18,7 @@
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
+ Programming Language :: Python :: 3.11
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: Implementation :: CPython
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.versionedobjects-3.2.0/test-requirements.txt new/oslo.versionedobjects-3.3.0/test-requirements.txt
--- old/oslo.versionedobjects-3.2.0/test-requirements.txt 2023-08-28 15:03:17.000000000 +0200
+++ new/oslo.versionedobjects-3.3.0/test-requirements.txt 2024-02-22 16:09:48.000000000 +0100
@@ -1,7 +1,4 @@
-# The order of packages is significant, because pip processes them in the order
-# of appearance. Changing the order has an impact on the overall integration
-# process, which may cause wedges in the gate later.
-hacking>=3.1.0,<3.2.0 # Apache-2.0
+hacking>=6.1.0,<6.2.0 # Apache-2.0
oslotest>=3.2.0 # Apache-2.0
testtools>=2.2.0 # MIT
coverage!=4.4,>=4.0 # Apache-2.0
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-oslo.privsep for openSUSE:Factory checked in at 2024-03-25 21:11:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oslo.privsep (Old)
and /work/SRC/openSUSE:Factory/.python-oslo.privsep.new.1905 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oslo.privsep"
Mon Mar 25 21:11:08 2024 rev:21 rq:1161177 version:3.3.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-oslo.privsep/python-oslo.privsep.changes 2023-12-28 23:03:49.091606166 +0100
+++ /work/SRC/openSUSE:Factory/.python-oslo.privsep.new.1905/python-oslo.privsep.changes 2024-03-25 21:17:50.222654106 +0100
@@ -1,0 +2,14 @@
+Sun Mar 24 20:03:04 UTC 2024 - cloud-devel(a)suse.de
+
+- update to version 3.3.0
+ - Display coverage report
+ - add new kernel capabilities
+ - Update python classifier in setup.cfg
+ - Fix wrong path in coveragerc
+ - Bump bandit
+ - Update master for stable/2023.2
+ - Bump hacking
+ - reno: Update master for unmaintained/yoga
+ - fix broken links in readme
+
+-------------------------------------------------------------------
Old:
----
oslo.privsep-3.2.0.tar.gz
New:
----
oslo.privsep-3.3.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-oslo.privsep.spec ++++++
--- /var/tmp/diff_new_pack.CN7DhQ/_old 2024-03-25 21:17:50.986682205 +0100
+++ /var/tmp/diff_new_pack.CN7DhQ/_new 2024-03-25 21:17:50.990682353 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-oslo.privsep
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,13 +17,13 @@
Name: python-oslo.privsep
-Version: 3.2.0
+Version: 3.3.0
Release: 0
Summary: OpenStack library for privilege separation
License: Apache-2.0
Group: Development/Languages/Python
URL: https://docs.openstack.org/oslo.privsep
-Source0: https://files.pythonhosted.org/packages/source/o/oslo.privsep/oslo.privsep-…
+Source0: https://files.pythonhosted.org/packages/source/o/oslo.privsep/oslo.privsep-…
BuildRequires: openstack-macros
BuildRequires: python3-cffi >= 1.14.0
BuildRequires: python3-eventlet >= 0.21.0
@@ -68,7 +68,7 @@
Documentation for oslo.privsep
%prep
-%autosetup -p1 -n oslo.privsep-3.2.0
+%autosetup -p1 -n oslo.privsep-3.3.0
%py_req_cleanup
%build
++++++ oslo.privsep-3.2.0.tar.gz -> oslo.privsep-3.3.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.privsep-3.2.0/.coveragerc new/oslo.privsep-3.3.0/.coveragerc
--- old/oslo.privsep-3.2.0/.coveragerc 2023-08-28 15:07:17.000000000 +0200
+++ new/oslo.privsep-3.3.0/.coveragerc 2024-02-22 16:06:01.000000000 +0100
@@ -1,7 +1,7 @@
[run]
branch = True
-source = privsep
-omit = privsep/tests/*,privsep/openstack/*
+source = oslo_privsep
+omit = oslo_privsep/tests/*
[report]
-ignore-errors = True
+ignore_errors = True
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.privsep-3.2.0/.pre-commit-config.yaml new/oslo.privsep-3.3.0/.pre-commit-config.yaml
--- old/oslo.privsep-3.2.0/.pre-commit-config.yaml 2023-08-28 15:07:17.000000000 +0200
+++ new/oslo.privsep-3.3.0/.pre-commit-config.yaml 2024-02-22 16:06:01.000000000 +0100
@@ -32,7 +32,7 @@
- id: flake8
name: flake8
additional_dependencies:
- - hacking>=3.0.1,<3.1.0
+ - hacking>=6.1.0,<6.2.0
language: python
entry: flake8
files: '^.*\.py$'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.privsep-3.2.0/AUTHORS new/oslo.privsep-3.3.0/AUTHORS
--- old/oslo.privsep-3.2.0/AUTHORS 2023-08-28 15:07:43.000000000 +0200
+++ new/oslo.privsep-3.3.0/AUTHORS 2024-02-22 16:06:29.000000000 +0100
@@ -38,7 +38,9 @@
Sam Wan <sam.wan(a)emc.com>
Sean McGinnis <sean.mcginnis(a)gmail.com>
Stephen Finucane <stephenfin(a)redhat.com>
+Sven Kieske <kieske(a)osism.tech>
Swapnil Kulkarni (coolsvap) <me(a)coolsvap.net>
+Takashi Kajinami <kajinamit(a)oss.nttdata.com>
Takashi Kajinami <tkajinam(a)redhat.com>
Thierry Carrez <thierry(a)openstack.org>
TommyLike <tommylikehu(a)gmail.com>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.privsep-3.2.0/ChangeLog new/oslo.privsep-3.3.0/ChangeLog
--- old/oslo.privsep-3.2.0/ChangeLog 2023-08-28 15:07:43.000000000 +0200
+++ new/oslo.privsep-3.3.0/ChangeLog 2024-02-22 16:06:29.000000000 +0100
@@ -1,10 +1,23 @@
CHANGES
=======
+3.3.0
+-----
+
+* Display coverage report
+* reno: Update master for unmaintained/yoga
+* Bump hacking
+* Update python classifier in setup.cfg
+* add new kernel capabilities
+* Fix wrong path in coveragerc
+* fix broken links in readme
+* Update master for stable/2023.2
+
3.2.0
-----
* Imported Translations from Zanata
+* Bump bandit
* Revert "Moves supported python runtimes from version 3.8 to 3.10"
* Moves supported python runtimes from version 3.8 to 3.10
* setgid should be called before setuid
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.privsep-3.2.0/PKG-INFO new/oslo.privsep-3.3.0/PKG-INFO
--- old/oslo.privsep-3.2.0/PKG-INFO 2023-08-28 15:07:43.602480600 +0200
+++ new/oslo.privsep-3.3.0/PKG-INFO 2024-02-22 16:06:29.888966600 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.2
Name: oslo.privsep
-Version: 3.2.0
+Version: 3.3.0
Summary: OpenStack library for privilege separation
Home-page: https://docs.openstack.org/oslo.privsep/latest/
Author: OpenStack
@@ -37,10 +37,10 @@
* Bugs: https://bugs.launchpad.net/oslo.privsep
* Release Notes: https://docs.openstack.org/releasenotes/oslo.privsep
- .. _principle of least privilege: https://en.wikipedia.org/wiki/\
- Principle_of_least_privilege
- .. _specification: https://specs.openstack.org/openstack/\
- oslo-specs/specs/liberty/privsep.html
+ .. _principle of least privilege:
+ https://en.wikipedia.org/wiki/Principle_of_least_privilege
+ .. _specification:
+ https://specs.openstack.org/openstack/oslo-specs/specs/liberty/privsep.html
Platform: UNKNOWN
@@ -54,6 +54,7 @@
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
+Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: Implementation :: CPython
Requires-Python: >=3.8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.privsep-3.2.0/README.rst new/oslo.privsep-3.3.0/README.rst
--- old/oslo.privsep-3.2.0/README.rst 2023-08-28 15:07:17.000000000 +0200
+++ new/oslo.privsep-3.3.0/README.rst 2024-02-22 16:06:01.000000000 +0100
@@ -29,7 +29,7 @@
* Bugs: https://bugs.launchpad.net/oslo.privsep
* Release Notes: https://docs.openstack.org/releasenotes/oslo.privsep
-.. _principle of least privilege: https://en.wikipedia.org/wiki/\
- Principle_of_least_privilege
-.. _specification: https://specs.openstack.org/openstack/\
- oslo-specs/specs/liberty/privsep.html
+.. _principle of least privilege:
+ https://en.wikipedia.org/wiki/Principle_of_least_privilege
+.. _specification:
+ https://specs.openstack.org/openstack/oslo-specs/specs/liberty/privsep.html
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.privsep-3.2.0/oslo.privsep.egg-info/PKG-INFO new/oslo.privsep-3.3.0/oslo.privsep.egg-info/PKG-INFO
--- old/oslo.privsep-3.2.0/oslo.privsep.egg-info/PKG-INFO 2023-08-28 15:07:43.000000000 +0200
+++ new/oslo.privsep-3.3.0/oslo.privsep.egg-info/PKG-INFO 2024-02-22 16:06:29.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.2
Name: oslo.privsep
-Version: 3.2.0
+Version: 3.3.0
Summary: OpenStack library for privilege separation
Home-page: https://docs.openstack.org/oslo.privsep/latest/
Author: OpenStack
@@ -37,10 +37,10 @@
* Bugs: https://bugs.launchpad.net/oslo.privsep
* Release Notes: https://docs.openstack.org/releasenotes/oslo.privsep
- .. _principle of least privilege: https://en.wikipedia.org/wiki/\
- Principle_of_least_privilege
- .. _specification: https://specs.openstack.org/openstack/\
- oslo-specs/specs/liberty/privsep.html
+ .. _principle of least privilege:
+ https://en.wikipedia.org/wiki/Principle_of_least_privilege
+ .. _specification:
+ https://specs.openstack.org/openstack/oslo-specs/specs/liberty/privsep.html
Platform: UNKNOWN
@@ -54,6 +54,7 @@
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
+Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: Implementation :: CPython
Requires-Python: >=3.8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.privsep-3.2.0/oslo.privsep.egg-info/SOURCES.txt new/oslo.privsep-3.3.0/oslo.privsep.egg-info/SOURCES.txt
--- old/oslo.privsep-3.2.0/oslo.privsep.egg-info/SOURCES.txt 2023-08-28 15:07:43.000000000 +0200
+++ new/oslo.privsep-3.3.0/oslo.privsep.egg-info/SOURCES.txt 2024-02-22 16:06:29.000000000 +0100
@@ -58,6 +58,7 @@
releasenotes/notes/setgid-should-be-called-before-setuid-fcf01083df9d5369.yaml
releasenotes/notes/un-monkey-patch-privileged-daemon-160e00296549df3d.yaml
releasenotes/source/2023.1.rst
+releasenotes/source/2023.2.rst
releasenotes/source/conf.py
releasenotes/source/index.rst
releasenotes/source/newton.rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.privsep-3.2.0/oslo.privsep.egg-info/pbr.json new/oslo.privsep-3.3.0/oslo.privsep.egg-info/pbr.json
--- old/oslo.privsep-3.2.0/oslo.privsep.egg-info/pbr.json 2023-08-28 15:07:43.000000000 +0200
+++ new/oslo.privsep-3.3.0/oslo.privsep.egg-info/pbr.json 2024-02-22 16:06:29.000000000 +0100
@@ -1 +1 @@
-{"git_version": "e46ad9c", "is_release": true}
\ No newline at end of file
+{"git_version": "f0c7eca", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.privsep-3.2.0/oslo_privsep/capabilities.py new/oslo.privsep-3.3.0/oslo_privsep/capabilities.py
--- old/oslo.privsep-3.2.0/oslo_privsep/capabilities.py 2023-08-28 15:07:17.000000000 +0200
+++ new/oslo.privsep-3.3.0/oslo_privsep/capabilities.py 2024-02-22 16:06:01.000000000 +0100
@@ -24,7 +24,7 @@
# Generated with:
# awk '/^#define CAP_[A-Z_]+[ \t]+[0-9]+/ {print $2,"=",$3}' \
# include/uapi/linux/capability.h
- # From the 4.11.11 kernel and the kernel git SHA:235b84fc862
+ # From the 6.6.6 kernel and the kernel git SHA:0c38b88c3323
# Will need to be refreshed as new capabilites are added to the kernel
CAP_CHOWN = 0
CAP_DAC_OVERRIDE = 1
@@ -64,6 +64,9 @@
CAP_WAKE_ALARM = 35
CAP_BLOCK_SUSPEND = 36
CAP_AUDIT_READ = 37
+ CAP_PERFMON = 38
+ CAP_BPF = 39
+ CAP_CHECKPOINT_RESTORE = 40
CAPS_BYNAME = {}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.privsep-3.2.0/releasenotes/source/2023.2.rst new/oslo.privsep-3.3.0/releasenotes/source/2023.2.rst
--- old/oslo.privsep-3.2.0/releasenotes/source/2023.2.rst 1970-01-01 01:00:00.000000000 +0100
+++ new/oslo.privsep-3.3.0/releasenotes/source/2023.2.rst 2024-02-22 16:06:01.000000000 +0100
@@ -0,0 +1,6 @@
+===========================
+2023.2 Series Release Notes
+===========================
+
+.. release-notes::
+ :branch: stable/2023.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.privsep-3.2.0/releasenotes/source/index.rst new/oslo.privsep-3.3.0/releasenotes/source/index.rst
--- old/oslo.privsep-3.2.0/releasenotes/source/index.rst 2023-08-28 15:07:17.000000000 +0200
+++ new/oslo.privsep-3.3.0/releasenotes/source/index.rst 2024-02-22 16:06:01.000000000 +0100
@@ -6,6 +6,7 @@
:maxdepth: 1
unreleased
+ 2023.2
2023.1
zed
yoga
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.privsep-3.2.0/releasenotes/source/yoga.rst new/oslo.privsep-3.3.0/releasenotes/source/yoga.rst
--- old/oslo.privsep-3.2.0/releasenotes/source/yoga.rst 2023-08-28 15:07:17.000000000 +0200
+++ new/oslo.privsep-3.3.0/releasenotes/source/yoga.rst 2024-02-22 16:06:01.000000000 +0100
@@ -3,4 +3,4 @@
=========================
.. release-notes::
- :branch: stable/yoga
+ :branch: unmaintained/yoga
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.privsep-3.2.0/requirements.txt new/oslo.privsep-3.3.0/requirements.txt
--- old/oslo.privsep-3.2.0/requirements.txt 2023-08-28 15:07:17.000000000 +0200
+++ new/oslo.privsep-3.3.0/requirements.txt 2024-02-22 16:06:01.000000000 +0100
@@ -1,7 +1,3 @@
-# The order of packages is significant, because pip processes them in the order
-# of appearance. Changing the order has an impact on the overall integration
-# process, which may cause wedges in the gate later.
-
oslo.log>=3.36.0 # Apache-2.0
oslo.i18n>=3.15.3 # Apache-2.0
oslo.config>=5.2.0 # Apache-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.privsep-3.2.0/setup.cfg new/oslo.privsep-3.3.0/setup.cfg
--- old/oslo.privsep-3.2.0/setup.cfg 2023-08-28 15:07:43.602480600 +0200
+++ new/oslo.privsep-3.3.0/setup.cfg 2024-02-22 16:06:29.888966600 +0100
@@ -18,6 +18,7 @@
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
+ Programming Language :: Python :: 3.11
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: Implementation :: CPython
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.privsep-3.2.0/test-requirements.txt new/oslo.privsep-3.3.0/test-requirements.txt
--- old/oslo.privsep-3.2.0/test-requirements.txt 2023-08-28 15:07:17.000000000 +0200
+++ new/oslo.privsep-3.3.0/test-requirements.txt 2024-02-22 16:06:01.000000000 +0100
@@ -1,13 +1,9 @@
-# The order of packages is significant, because pip processes them in the order
-# of appearance. Changing the order has an impact on the overall integration
-# process, which may cause wedges in the gate later.
-
-hacking>=3.0.1,<3.1.0 # Apache-2.0
+hacking>=6.1.0,<6.2.0 # Apache-2.0
oslotest>=3.2.0 # Apache-2.0
fixtures>=3.0.0 # Apache-2.0/BSD
stestr>=2.0.0 # Apache-2.0
# Bandit security code scanner
-bandit>=1.6.0,<1.7.0 # Apache-2.0
+bandit>=1.7.0,<1.8.0 # Apache-2.0
pre-commit>=2.6.0 # MIT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.privsep-3.2.0/tox.ini new/oslo.privsep-3.3.0/tox.ini
--- old/oslo.privsep-3.2.0/tox.ini 2023-08-28 15:07:17.000000000 +0200
+++ new/oslo.privsep-3.3.0/tox.ini 2024-02-22 16:06:01.000000000 +0100
@@ -33,13 +33,17 @@
sphinx-build -W --keep-going -b html doc/source doc/build/html
[testenv:cover]
+deps = {[testenv]deps}
+ coverage
setenv =
- PYTHON=coverage run --source $project --parallel-mode
+ PYTHON=coverage run --source oslo_privsep --parallel-mode
commands =
+ coverage erase
stestr run {posargs}
coverage combine
coverage html -d cover
coverage xml -o cover/coverage.xml
+ coverage report --show-missing
[flake8]
# E123, E125 skipped as they are invalid PEP-8.
1
0