From f2334db9ad154f8c76da2d254726b09a8d34d332a52081928eaff06b41b275ee Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 21 Mar 2022 14:24:57 +0000 Subject: [PATCH] Accepting request 963702 from home:pgajdos:python - version update to 1.16.0 v1.16.0 (2021-08-17) --------------------- * Feature: Add support for Load Balancer DNS PTRs v1.15.0 (2021-08-16) --------------------- * Feature: Add support for Placement Groups v1.14.1 (2021-08-10) --------------------- * Bugfix: Fix crash on extra fields in public_net response * Improvement: Format code with black v1.14.0 (2021-08-03) --------------------- * Feature: Add support for Firewall rule descriptions v1.13.0 (2021-07-16) --------------------- * Feature: Add support for Firewall Protocols ESP and GRE * Feature: Add support for Image Type APP * Feature: Add support for creating Firewalls with Firewalls * Feature: Add support for Label Selectors in Firewalls * Improvement: Improve handling of underlying TCP connections. Now for every client instance a single TCP connection is used instead of one per call. * Note: Support for Python 2.7 and Python 3.5 was removed v1.12.0 (2021-04-06) --------------------- * Feature: Add support for managed Certificates v1.11.0 (2021-03-11) --------------------- * Feature: Add support for Firewalls * Feature: Add `primary_disk_size` to `Server` Domain OBS-URL: https://build.opensuse.org/request/show/963702 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hcloud?expand=0&rev=3 --- hcloud-1.16.0.tar.gz | 3 +++ hcloud-1.8.1.tar.gz | 3 --- python-hcloud.changes | 56 ++++++++++++++++++++++++++++++++++++++++++- python-hcloud.spec | 6 +++-- 4 files changed, 62 insertions(+), 6 deletions(-) create mode 100644 hcloud-1.16.0.tar.gz delete mode 100644 hcloud-1.8.1.tar.gz diff --git a/hcloud-1.16.0.tar.gz b/hcloud-1.16.0.tar.gz new file mode 100644 index 0000000..f935231 --- /dev/null +++ b/hcloud-1.16.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c8b94557d93bcfe437f20a8176693ea4f54358b74986cc19d94ebc23f48e40cc +size 93682 diff --git a/hcloud-1.8.1.tar.gz b/hcloud-1.8.1.tar.gz deleted file mode 100644 index 573a5c6..0000000 --- a/hcloud-1.8.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f289aeed0fb760b32fc6cd58b120c1901a84cc6f232470c2df5e42f213d16df6 -size 80966 diff --git a/python-hcloud.changes b/python-hcloud.changes index 68f16a0..4f5f1a0 100644 --- a/python-hcloud.changes +++ b/python-hcloud.changes @@ -1,3 +1,57 @@ +------------------------------------------------------------------- +Mon Mar 21 13:04:30 UTC 2022 - pgajdos@suse.com + +- version update to 1.16.0 + v1.16.0 (2021-08-17) + --------------------- + * Feature: Add support for Load Balancer DNS PTRs + v1.15.0 (2021-08-16) + --------------------- + * Feature: Add support for Placement Groups + v1.14.1 (2021-08-10) + --------------------- + * Bugfix: Fix crash on extra fields in public_net response + * Improvement: Format code with black + v1.14.0 (2021-08-03) + --------------------- + * Feature: Add support for Firewall rule descriptions + v1.13.0 (2021-07-16) + --------------------- + * Feature: Add support for Firewall Protocols ESP and GRE + * Feature: Add support for Image Type APP + * Feature: Add support for creating Firewalls with Firewalls + * Feature: Add support for Label Selectors in Firewalls + * Improvement: Improve handling of underlying TCP connections. Now for every + client instance a single TCP connection is used instead of one per call. + * Note: Support for Python 2.7 and Python 3.5 was removed + v1.12.0 (2021-04-06) + --------------------- + * Feature: Add support for managed Certificates + v1.11.0 (2021-03-11) + --------------------- + * Feature: Add support for Firewalls + * Feature: Add `primary_disk_size` to `Server` Domain + v1.10.0 (2020-11-03) + --------------------- + * Feature: Add `include_deprecated` filter to `get_list` and `get_all` on `ImagesClient` + * Feature: Add vSwitch support to `add_subnet` on `NetworksClient` + * Feature: Add subnet type constants to `NetworkSubnet` domain + (`NetworkSubnet.TYPE_CLOUD`, `NetworkSubnet.TYPE_VSWITCH`) + v1.9.1 (2020-08-11) + -------------------- + * Bugfix: BoundLoadBalancer serialization failed when using IP targets + v1.9.0 (2020-08-10) + -------------------- + * Feature: Add `included_traffic`, `outgoing_traffic` and `ingoing_traffic` + properties to Load Balancer domain + * Feature: Add `change_type`-method to `LoadBalancersClient` + * Feature: Add support for `LoadBalancerTargetLabelSelector` + * Feature: Add support for `LoadBalancerTargetLabelSelector` + v1.8.2 (2020-07-20) + -------------------- + * Fix: Loosen up the requirements. +- do not require python-mock for testing + ------------------------------------------------------------------- Sat Aug 15 10:05:33 UTC 2020 - John Vandenberg @@ -6,4 +60,4 @@ Sat Aug 15 10:05:33 UTC 2020 - John Vandenberg ------------------------------------------------------------------- Sat Jul 11 22:03:45 UTC 2020 - mig4@auril.club -- Initial package version 1.9.1 +- Initial package version 1.8.1 diff --git a/python-hcloud.spec b/python-hcloud.spec index dc3cf72..e83f34e 100644 --- a/python-hcloud.spec +++ b/python-hcloud.spec @@ -1,7 +1,7 @@ # # spec file for package python-hcloud # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-hcloud -Version: 1.8.1 +Version: 1.16.0 Release: 0 Summary: Hetzner Cloud Python library License: MIT @@ -55,6 +55,8 @@ Official Hetzner Cloud Python library. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check +# https://github.com/hetznercloud/hcloud-python/issues/151 +sed -i 's:import mock:import unittest.mock as mock:' tests/*.py tests/*/*.py export LANG=en_US.UTF-8 %pytest tests/unit/