From 386379deb9caff4bdce8ce26331520c36eb4aba9f9c4396376895b6d9ecc3e56 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 7 Jan 2024 20:02:04 +0000 Subject: [PATCH] - update to 2.1.0: * Add support for sys/policies endpoint (GH-1100) * add quota support to system backend (GH-1092) * Add support to PKI class to perform CRUD on issuers (GH-1102) * `Client.write_data` - remove potentially dangerous default * :pencil: Add HTTP/2+ use case into the advanced usage section * update the KV documentation (GH-1122) * Add support for sys/policies endpoint (GH-1100) * fix readthedocs (RTD) public docsite, modernize some of the docs build/testing (GH-1119) * Add support to PKI class to perform CRUD on issuers (GH-1102) * Update GCP secrets engine documentation (GH-1099) * fix readthedocs (RTD) public docsite, modernize some of the docs build/testing (GH-1119) * Revamp integration tests, run in parallel (GH-1105) * Add Vault 1.15.x to integration tests (GH-1103) - update to 2.0.0: * This release makes a number of breaking changes. Most notably, dropping support for Python 3.6 & 3.7, dropping support for Vault versions 1.6.x through 1.10.x, and removing previously deprecated methods and code paths. Most of the other breaking changes are fairly minor or only affect specific use cases, but please review all changes carefully. * There are also several other deprecations and announcements to be aware of. We hope to have a more rapid release schedule going forward. * In accordance with our supported Python version policy we will continue to drop Python versions as they become end-of- life. These may not be announced in advance, but will be done in major versions. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hvac?expand=0&rev=31 --- hvac-2.1.0.tar.gz | 3 +++ python-hvac.changes | 64 +++++++++++++++++++++++++++++++++++++++++++++ python-hvac.spec | 15 ++++++----- v1.2.1.tar.gz | 3 --- 4 files changed, 76 insertions(+), 9 deletions(-) create mode 100644 hvac-2.1.0.tar.gz delete mode 100644 v1.2.1.tar.gz diff --git a/hvac-2.1.0.tar.gz b/hvac-2.1.0.tar.gz new file mode 100644 index 0000000..0c0f857 --- /dev/null +++ b/hvac-2.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b48bcda11a4ab0a7b6c47232c7ba7c87fda318ae2d4a7662800c465a78742894 +size 325532 diff --git a/python-hvac.changes b/python-hvac.changes index a8f5ffa..8880fea 100644 --- a/python-hvac.changes +++ b/python-hvac.changes @@ -1,3 +1,67 @@ +------------------------------------------------------------------- +Sun Jan 7 20:00:06 UTC 2024 - Dirk Müller + +- update to 2.1.0: + * Add support for sys/policies endpoint (GH-1100) + * add quota support to system backend (GH-1092) + * Add support to PKI class to perform CRUD on issuers (GH-1102) + * `Client.write_data` - remove potentially dangerous default + * :pencil: Add HTTP/2+ use case into the advanced usage section + * update the KV documentation (GH-1122) + * Add support for sys/policies endpoint (GH-1100) + * fix readthedocs (RTD) public docsite, modernize some of the + docs build/testing (GH-1119) + * Add support to PKI class to perform CRUD on issuers (GH-1102) + * Update GCP secrets engine documentation (GH-1099) + * fix readthedocs (RTD) public docsite, modernize some of the + docs build/testing (GH-1119) + * Revamp integration tests, run in parallel (GH-1105) + * Add Vault 1.15.x to integration tests (GH-1103) +- update to 2.0.0: + * This release makes a number of breaking changes. Most + notably, dropping support for Python 3.6 & 3.7, dropping + support for Vault versions 1.6.x through 1.10.x, and removing + previously deprecated methods and code paths. Most of the + other breaking changes are fairly minor or only affect + specific use cases, but please review all changes carefully. + * There are also several other deprecations and announcements + to be aware of. We hope to have a more rapid release schedule + going forward. + * In accordance with our supported Python version policy we + will continue to drop Python versions as they become end-of- + life. These may not be announced in advance, but will be done + in major versions. + * `Client.write` method breaking changes 2.0.0 (GH-1089) + * Drop support for Vault 1.6-1.10 (GH-1074) + * Changing default values for `sys.initialize` parameters + `secret_shares` and `secret_threshold` (GH-1063) + * Remove old deprecated `client` attributes (GH-1062) + * Remove MFA class (GH-1056) + * adapters: if `session` is user-supplied, do not overwrite + session options with `Client`/`Adapter` options (GH-1021) + * Make `pyhcl` optional again (GH-1060) + * Drop Python 3.6 & 3.7, Add Python 3.11, bump some + dependencies (GH-1048) + * Breaking changes coming to Adapters' use of custom sessions + * Breaking changes coming to `Client.write` method (GH-1034) + * The default value of `raise_on_deleted_version` will change + from `True` to `False` in `v3.0.0` (GH-955) + * The `certificate` parameter for `create_ca_certificate_role` + will stop accepting file paths in v3.0.0 (GH-914) + * Drop support for Vault 1.6-1.10 (GH-1074) + * Changing default values for `sys.initialize` parameters + `secret_shares` and `secret_threshold` (GH-1063) + * Fix typo in `safety_buffer` argument in AWS auth (GH-1068) + * Add support for Python 3.12 (GH-1073) + * Database Secrets Engine - add `rotate_static_credentials` + method, docs updates, unit tests (GH-1069) + * Make `plaintext` and `ciphertext` optional for batch + operations (GH-1049) + * Changing default values for `sys.initialize` parameters + `secret_shares` and `secret_threshold` (GH-1063) + * adapters: if `session` is user-supplied, do not overwrite + session options with `Client`/`Adapter` options (GH-1021) + ------------------------------------------------------------------- Fri Dec 1 16:57:54 UTC 2023 - Dirk Müller diff --git a/python-hvac.spec b/python-hvac.spec index 55105b4..a8fc498 100644 --- a/python-hvac.spec +++ b/python-hvac.spec @@ -1,7 +1,7 @@ # # spec file for package python-hvac # -# 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,12 +17,12 @@ Name: python-hvac -Version: 1.2.1 +Version: 2.1.0 Release: 0 Summary: HashiCorp Vault API client License: BSD-3-Clause -URL: https://github.com/ianunruh/hvac -Source: https://github.com/hvac/hvac/archive/v%{version}.tar.gz +URL: https://github.com/hvac/hvac +Source: https://github.com/hvac/hvac/releases/download/v%{version}/hvac-%{version}.tar.gz BuildRequires: %{python_module Authlib} BuildRequires: %{python_module Flask-SQLAlchemy} BuildRequires: %{python_module Flask} @@ -32,6 +32,8 @@ BuildRequires: %{python_module parameterized} BuildRequires: %{python_module pip} BuildRequires: %{python_module poetry} BuildRequires: %{python_module pyhcl >= 0.3.10} +BuildRequires: %{python_module pytest-mock} +BuildRequires: %{python_module pytest-xdist} BuildRequires: %{python_module pytest} BuildRequires: %{python_module requests >= 2.21.0} BuildRequires: %{python_module requests-mock} @@ -64,8 +66,9 @@ find hvac -name "*.py" -exec sed -i -e '/^#!\//, 1d' {} \; %pytest %files %{python_files} -%doc README.* CHANGELOG.* +%doc README.* docs/changelog.rst %license LICENSE.txt -%{python_sitelib}/hvac* +%{python_sitelib}/hvac +%{python_sitelib}/hvac-%{version}.dist-info %changelog diff --git a/v1.2.1.tar.gz b/v1.2.1.tar.gz deleted file mode 100644 index 620e1e0..0000000 --- a/v1.2.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5423a1424104e4689e8e451db5b09d1ef818c94810e2540513ecff2014887b63 -size 360961