diff --git a/python-softlayer-fix-teset_setup_cancel.patch b/python-softlayer-fix-teset_setup_cancel.patch deleted file mode 100644 index fe2217f..0000000 --- a/python-softlayer-fix-teset_setup_cancel.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff --git a/tests/CLI/modules/config_tests.py b/tests/CLI/modules/config_tests.py -index 4fe9cf86..ec018a53 100644 ---- a/tests/CLI/modules/config_tests.py -+++ b/tests/CLI/modules/config_tests.py -@@ -75,10 +75,12 @@ def test_setup(self, mocked_input, getpass, confirm_mock, client): - self.assertTrue('api_key = AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' in contents) - self.assertTrue('endpoint_url = %s' % consts.API_PUBLIC_ENDPOINT in contents) - -+ @mock.patch('SoftLayer.Client') - @mock.patch('SoftLayer.CLI.formatting.confirm') - @mock.patch('SoftLayer.CLI.environment.Environment.getpass') - @mock.patch('SoftLayer.CLI.environment.Environment.input') -- def test_setup_cancel(self, mocked_input, getpass, confirm_mock): -+ def test_setup_cancel(self, mocked_input, getpass, confirm_mock, client): -+ client.return_value = self.env.client - with tempfile.NamedTemporaryFile() as config_file: - confirm_mock.return_value = False - getpass.return_value = 'A' * 64 - diff --git a/python-softlayer.changes b/python-softlayer.changes index ea5fbae..7e4c058 100644 --- a/python-softlayer.changes +++ b/python-softlayer.changes @@ -1,3 +1,37 @@ +------------------------------------------------------------------- +Tue May 7 07:27:35 UTC 2019 - pgajdos@suse.com + +- version update to 5.7.2 + + #1107 Added exception to handle json parsing error when ordering + + #1068 Support for -1 when changing port speed + + #1109 Fixed docs about placement groups + + #1112 File storage endurance iops upgrade + + #1101 Handle the new user creation exceptions + + #1116 Fix order place quantity option + + #1002 Invoice commands + * account invoices + * account invoice-detail + * account summary + + #1004 Event Notification Management commands + * account events + * account event-detail + + #1117 Two PCIe items can be added at order time + + #1121 Fix object storage apiType for S3 and Swift. + + #1100 Event Log performance improvements. + + #872 column 'name' was renamed to 'hostname' + + #1127 Fix object storage credentials. + + #1129 Fixed unexpected errors in slcli subnet create + + #1134 Change encrypt parameters for importing of images. Adds root-key-crn + + #208 Quote ordering commands + * order quote + * order quote-detail + * order quote-list + + #1113 VS usage information command + * virtual usage + + #1131 made sure config_tests dont actually make api calls. +- deleted patches + - python-softlayer-fix-teset_setup_cancel.patch (upstreamed) + ------------------------------------------------------------------- Thu Apr 25 06:27:39 UTC 2019 - pgajdos@suse.com diff --git a/python-softlayer.spec b/python-softlayer.spec index a7d3bba..3712d05 100644 --- a/python-softlayer.spec +++ b/python-softlayer.spec @@ -18,15 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-softlayer -Version: 5.7.1 +Version: 5.7.2 Release: 0 Summary: A set of Python libraries that assist in calling the SoftLayer API License: MIT Group: Development/Languages/Python URL: https://github.com/softlayer/softlayer-python Source: https://github.com/softlayer/softlayer-python/archive/v%{version}.tar.gz -# fix https://github.com/softlayer/softlayer-python/issues/1095 -Patch0: python-softlayer-fix-teset_setup_cancel.patch BuildRequires: %{python_module PrettyTable >= 0.7.0} BuildRequires: %{python_module click} BuildRequires: %{python_module mock} @@ -55,7 +53,6 @@ This library provides a simple Python client to interact with SoftLayer's XML-RP %prep %setup -q -n softlayer-python-%{version} -%patch0 -p1 %build %python_build diff --git a/v5.7.1.tar.gz b/v5.7.1.tar.gz deleted file mode 100644 index 42de4a7..0000000 --- a/v5.7.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3fbb7ff534ab519fa385970198736d28ec0805ecac593d1d759b684958a69e11 -size 349403 diff --git a/v5.7.2.tar.gz b/v5.7.2.tar.gz new file mode 100644 index 0000000..ab22a53 --- /dev/null +++ b/v5.7.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:57d0402897d45a0174444de4ee008657b14dbb0f5de0e0d147d94341e01d99a5 +size 364111