15
0
forked from pool/python-hvac
Files
python-hvac/python-hvac.spec
Dirk Mueller 230246f648 - update to 1.2.1:
* This release fixes an inaccuracy in a warning message but
    does not otherwise change functionality.
  * Fix raise_on_deleted_version warning (GH-1045)
  * ldap auth method - add missing `configure` params by vault
    api names (GH-975) expand Vault CI matrix, announce
    deprecation of Vault dynamic SSH keys (GH-1023)
  * Breaking changes coming to `Client.write` method (GH-1034)
  * Support for Python 3.6 & 3.7 will be dropped in `v2.0.0`
  * Support for the Legacy MFA methods will be dropped from the
    `MFA` class in `v2.0.0` (GH-1026)
  * Breaking changes coming to Adapters' use of custom sessions
  * ### 🚀 Features
  * Add alias_name_source for Kubernetes Auth create_role
  * add `Client.write_data` method (GH-1028)
  * ldap auth method - add missing `configure` params by vault
    api names (GH-975)
  * Re-add arguments to create_or_update_role() from old API
    (GH-842)
  * Add new argument (conflicting_alias_ids_to_keep) to
    merge_entities method (GH-968)
  * Add impersonated account support to GCP secrets engine
    (GH-1022)
  * support "user_claim_json_pointer" in create_role() for
    JWT/OIDC auth method (GH-1006)
  * Add static account support to GCP secrets engine (GH-956)
  * adding batch_input to transit.sign_data #988 (GH-990)
  * Add a method to read static roles in the database engine
    (GH-1009)
  * feat: add support for `disable_local_ca_jwt` in the

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hvac?expand=0&rev=29
2023-12-01 16:58:31 +00:00

72 lines
2.2 KiB
RPMSpec

#
# spec file for package python-hvac
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: python-hvac
Version: 1.2.1
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
BuildRequires: %{python_module Authlib}
BuildRequires: %{python_module Flask-SQLAlchemy}
BuildRequires: %{python_module Flask}
BuildRequires: %{python_module Werkzeug}
BuildRequires: %{python_module jwcrypto}
BuildRequires: %{python_module parameterized}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry}
BuildRequires: %{python_module pyhcl >= 0.3.10}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests >= 2.21.0}
BuildRequires: %{python_module requests-mock}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pyhcl >= 0.3.10
Requires: python-requests >= 2.21.0
BuildArch: noarch
%python_subpackages
%description
HashiCorp Vault API client for Python 2/3
%prep
%autosetup -p1 -n hvac-%{version}
# doctests and ldap need set up ldap server and that is quite an effort
rm -r tests/doctest/
rm tests/integration_tests/api/auth_methods/test_ldap.py
find hvac -name "*.py" -exec sed -i -e '/^#!\//, 1d' {} \;
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%doc README.* CHANGELOG.*
%license LICENSE.txt
%{python_sitelib}/hvac*
%changelog