15
0
forked from pool/python-hvac
Files
python-hvac/python-hvac.spec

74 lines
2.3 KiB
RPMSpec
Raw Permalink Normal View History

#
# spec file for package python-hvac
#
- 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
2024-01-07 20:02:04 +00:00
# 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
# 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: 2.3.0
Release: 0
Summary: HashiCorp Vault API client
License: BSD-3-Clause
- 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
2024-01-07 20:02:04 +00:00
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}
BuildRequires: %{python_module Werkzeug}
BuildRequires: %{python_module jwcrypto}
BuildRequires: %{python_module parameterized}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry-core >= 1}
BuildRequires: %{python_module pyhcl >= 0.4.4}
- 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
2024-01-07 20:02:04 +00:00
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}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-requests >= 2.27.1
Recommends: python-pyhcl >= 0.4.4
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}
- 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
2024-01-07 20:02:04 +00:00
%doc README.* docs/changelog.rst
%license LICENSE.txt
- 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
2024-01-07 20:02:04 +00:00
%{python_sitelib}/hvac
%{python_sitelib}/hvac-%{version}.dist-info
%changelog