14
0

Compare commits

6 Commits

Author SHA256 Message Date
6ff6f97894 Accepting request 1318756 from devel:languages:python
- Skip some tests broken by Click 8.3.
- Clean up {Build,}Requires.

OBS-URL: https://build.opensuse.org/request/show/1318756
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-softlayer?expand=0&rev=25
2025-11-21 15:56:03 +00:00
499e745257 - Skip some tests broken by Click 8.3.
- Clean up {Build,}Requires.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-softlayer?expand=0&rev=45
2025-11-20 03:43:51 +00:00
52e9d2df3e Accepting request 1303671 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1303671
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-softlayer?expand=0&rev=24
2025-09-11 12:39:51 +00:00
78d8a9d3f8 - Update to 6.2.7
* Migrated away from using Vlan.primaryRouter to find a VLAN's datacenter
  * #2211 removed CDN commands and created a deprecated message for them
  * fixed an issue when placing an order doesn't find the correct datacenter
  * pip prod(deps): bump sphinx from 8.1.3 to 8.2.1
  * pip prod(deps): bump rich from 13.9.4 to 14.0.0
  * pip prod(deps): bump sphinx from 8.2.1 to 8.2.3
  * Improved employee auth to work better on dev servers
  * Update README-internal.md
  * Fixed tox errors
  * Support Click 8.2+
  * Support for NVMe Dual Raid card ordering
  * Removed IPSec VPN commands
  * Updated to v6.2.7
- Drop support-click-8.2.patch, merged upstream

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-softlayer?expand=0&rev=43
2025-09-10 16:08:10 +00:00
9c51680fdd Accepting request 1279292 from devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/1279292
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-softlayer?expand=0&rev=23
2025-05-22 14:57:38 +00:00
ddc8fc1843 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-softlayer?expand=0&rev=41
2025-05-22 13:48:15 +00:00
4 changed files with 78 additions and 20 deletions

View File

@@ -1,3 +1,61 @@
-------------------------------------------------------------------
Thu Nov 20 03:43:39 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Skip some tests broken by Click 8.3.
- Clean up {Build,}Requires.
-------------------------------------------------------------------
Wed Sep 10 12:17:54 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 6.2.7
* Migrated away from using Vlan.primaryRouter to find a VLAN's datacenter
* #2211 removed CDN commands and created a deprecated message for them
* fixed an issue when placing an order doesn't find the correct datacenter
* pip prod(deps): bump sphinx from 8.1.3 to 8.2.1
* pip prod(deps): bump rich from 13.9.4 to 14.0.0
* pip prod(deps): bump sphinx from 8.2.1 to 8.2.3
* Improved employee auth to work better on dev servers
* Update README-internal.md
* Fixed tox errors
* Support Click 8.2+
* Support for NVMe Dual Raid card ordering
* Removed IPSec VPN commands
* Updated to v6.2.7
- Drop support-click-8.2.patch, merged upstream
-------------------------------------------------------------------
Thu May 22 13:47:48 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- 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.
-------------------------------------------------------------------
Fri Dec 29 09:17:14 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-softlayer
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,24 +18,25 @@
%{?sle15_python_module_pythons}
Name: python-softlayer
Version: 6.1.11
Version: 6.2.7
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
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}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests >= 2.20.0}
BuildRequires: %{python_module rich >= 12.5.1}
BuildRequires: %{python_module rich >= 14.0.0}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module softlayer-zeep >= 5.0.0}
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
@@ -44,13 +45,11 @@ Requires: python-prompt_toolkit >= 2
Requires: python-pygments >= 2.0.0
Requires: python-requests >= 2.20.0
Requires: python-rich >= 12.5.1
Requires: python-setuptools
Requires: python-softlayer-zeep >= 5.0.0
Requires: python-typing_extensions
Requires: python-urllib3 >= 1.24
Conflicts: sl
Suggests: python-softlayer-zeep >= 5.0.0
Requires(post): update-alternatives
Requires(postun):update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
%python_subpackages
%description
@@ -60,33 +59,34 @@ This library provides a simple Python client to interact with SoftLayer's XML-RP
%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}
%check
# We do not want TKinter
%pytest -k 'not test_getpass_issues1436 and not TestSoapAPICall'
donttest="test_getpass_issues1436 or TestSoapAPICall"
# Broken with Click 8.3+, re-enable on upgrade
donttest+=" or test_list_hw_search_noargs or test_create_like "
donttest+=" or test_list_vs_search_noargs"
%pytest -k "not ($donttest)"
%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
%changelog

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3cf72bd788c306cebcd7a750692385e16e38a4601144ce71f4a5e7ec6468db34
size 2339473

3
v6.2.7.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:41b8fb8a64ee72c153bec79e4cb0a9c10398104d8f0315c05a2b3b5c62c420bb
size 2337261