Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-softlayer for
openSUSE:Factory checked in at 2025-05-22 16:57:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-softlayer (Old)
and /work/SRC/openSUSE:Factory/.python-softlayer.new.2732 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-softlayer"
Thu May 22 16:57:38 2025 rev:23 rq:1279292 version:6.2.6
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-softlayer/python-softlayer.changes
2024-01-03 12:24:02.069386920 +0100
+++
/work/SRC/openSUSE:Factory/.python-softlayer.new.2732/python-softlayer.changes
2025-05-22 16:58:20.761650756 +0200
@@ -1,0 +2,33 @@
+Thu May 22 13:47:48 UTC 2025 - Steve Kowalik <[email protected]>
+
+- Update to 6.2.6:
+ * Added feature to iter_call to force a orderBy filter
+ * Fixed an issues with search command.
+ * Added --owner, --public_ip and --private_ip search fields for hardware
+ list
+ * Added get_total_items to SoftLayerListResult.
+ * Fixed invalid filter in vs migrate preventing guest list from being
+ properly shown.
+ * Sums up child items in invoices-detail
+ * Updated vlan masks to fix id/number fields not being retrieved properly
+ * Added x509 certificate support to cli
+ * Added vpn status to user list.
+ * Fixed a bug when displaying empty tables.
+ * Added more error handling around table output
+ * Reworked user permissions list to include permissions
+ * More efficient created_by
+ * Fixed a bug in the config parser
+ * Fixed an issue with confirmation not handling uppercase ids
+ * Removed requirements in volume-modify commands
+ * Marked --crt and --key as required for slcli ssl add
+ * Added network flag to update-firmware
+ * Added detect-secrets workflow
+ * Added support for python 3.12
+ * Adding support for internal styles of authentication
+- Add patch support-click-8.2.patch:
+ * Support changes that Click 8.2 made.
+- Switch to pyproject macros.
+- No more greedy globs in %files.
+- Package should be noarch.
+
+-------------------------------------------------------------------
Old:
----
v6.1.11.tar.gz
New:
----
support-click-8.2.patch
v6.2.6.tar.gz
BETA DEBUG BEGIN:
New: * Adding support for internal styles of authentication
- Add patch support-click-8.2.patch:
* Support changes that Click 8.2 made.
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-softlayer.spec ++++++
--- /var/tmp/diff_new_pack.xSWTBt/_old 2025-05-22 16:58:21.417678018 +0200
+++ /var/tmp/diff_new_pack.xSWTBt/_new 2025-05-22 16:58:21.421678184 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-softlayer
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,13 +18,16 @@
%{?sle15_python_module_pythons}
Name: python-softlayer
-Version: 6.1.11
+Version: 6.2.6
Release: 0
Summary: A set of Python libraries that assist in calling the SoftLayer
API
License: MIT
URL: https://github.com/softlayer/softlayer-python
Source:
https://github.com/softlayer/softlayer-python/archive/v%{version}.tar.gz
+# PATCH-FIX-UPSTREAM gh#softlayer/softlayer-python#2222
+Patch0: support-click-8.2.patch
BuildRequires: %{python_module click >= 8.0.4}
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module prettytable >= 2.5.0}
BuildRequires: %{python_module prompt_toolkit >= 2}
BuildRequires: %{python_module pygments >= 2.0.0}
@@ -36,6 +39,7 @@
BuildRequires: %{python_module testtools}
BuildRequires: %{python_module typing_extensions}
BuildRequires: %{python_module urllib3 >= 1.24}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-click >= 8.0.4
@@ -48,9 +52,9 @@
Requires: python-softlayer-zeep >= 5.0.0
Requires: python-typing_extensions
Requires: python-urllib3 >= 1.24
-Conflicts: sl
Requires(post): update-alternatives
-Requires(postun):update-alternatives
+Requires(postun): update-alternatives
+BuildArch: noarch
%python_subpackages
%description
@@ -60,12 +64,11 @@
%autosetup -p1 -n softlayer-python-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/slcli
-%python_clone -a %{buildroot}%{_bindir}/sl
# do not install tests
%python_expand rm -r %{buildroot}%{$python_sitelib}/tests/
%python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -76,16 +79,14 @@
%post
%python_install_alternative slcli
-%python_install_alternative sl
%postun
%python_uninstall_alternative slcli
-%python_uninstall_alternative sl
%files %{python_files}
%license LICENSE
%doc *.md
-%{python_sitelib}/*
-%python_alternative %{_bindir}/sl
+%{python_sitelib}/SoftLayer
+%{python_sitelib}/softlayer-%{version}.dist-info
%python_alternative %{_bindir}/slcli
++++++ support-click-8.2.patch ++++++
>From d92d20a97ac8e65524ccbfd7487d9c8899948544 Mon Sep 17 00:00:00 2001
From: Steve Kowalik <[email protected]>
Date: Thu, 22 May 2025 15:29:56 +0200
Subject: [PATCH] Support Click 8.2+
Click 8.2 and above will now force an abort if a confirmation prompt
isn't answered, rather than raising the CLIAbort that is expected. Catch
this exception so that our own exceptions are raised.
---
SoftLayer/CLI/formatting.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/SoftLayer/CLI/formatting.py b/SoftLayer/CLI/formatting.py
index b9eca571e..b4c9a98f7 100644
--- a/SoftLayer/CLI/formatting.py
+++ b/SoftLayer/CLI/formatting.py
@@ -260,7 +260,10 @@ def no_going_back(confirmation):
prompt = f"This action cannot be undone! Type '{confirmation}' or press
Enter to abort"
- ans = click.prompt(prompt, default='', show_default=False)
+ try:
+ ans = click.prompt(prompt, default='', show_default=False)
+ except click.exceptions.Abort:
+ return False
if ans.lower() == str(confirmation).lower():
return True
++++++ v6.1.11.tar.gz -> v6.2.6.tar.gz ++++++
++++ 7235 lines of diff (skipped)