Chih-Hsuan Yen pushed to branch main at Arch Linux / Packaging / Packages /
python-hvac
Commits:
b5cd6bb9 by Chih-Hsuan Yen at 2024-06-23T00:58:46+08:00
upgpkg: 2.3.0-1; disable broken tests caused by python-requests 2.32
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
pkgbase = python-hvac
pkgdesc = Python 2.7/3.X client for HashiCorp Vault
- pkgver = 2.2.0
+ pkgver = 2.3.0
pkgrel = 1
url = https://python-hvac.org/
arch = any
@@ -24,7 +24,7 @@ pkgbase = python-hvac
depends = python
depends = python-requests
optdepends = python-pyhcl: for HCL parser
- source = https://github.com/hvac/hvac/archive/v2.2.0/hvac-2.2.0.tar.gz
- sha512sums =
9b03eac3d10cd60d3289eab23030f433234d066e4af5a7a7912dcaf7d7b06eb1bd2ab657b192438ac18c321aa5cdb023abc2877af2065249a70c377539201d55
+ source = https://github.com/hvac/hvac/archive/v2.3.0/hvac-2.3.0.tar.gz
+ sha512sums =
d08f7228ab57cd33428f530b14942dcf64b6efebe7589959f4ca3fc021f5da39af6441746417f80f7474d6a7bfb7a0ac94006a64ecf37967d4983698e95241f1
pkgname = python-hvac
=====================================
PKGBUILD
=====================================
@@ -4,7 +4,7 @@
_pkgname=hvac
pkgname=python-$_pkgname
# https://github.com/hvac/hvac/releases
-pkgver=2.2.0
+pkgver=2.3.0
pkgrel=1
pkgdesc='Python 2.7/3.X client for HashiCorp Vault'
url='https://python-hvac.org/'
@@ -22,7 +22,7 @@ optdepends=(
'python-pyhcl: for HCL parser'
)
source=("https://github.com/$_pkgname/$_pkgname/archive/v$pkgver/$_pkgname-$pkgver.tar.gz")
-sha512sums=('9b03eac3d10cd60d3289eab23030f433234d066e4af5a7a7912dcaf7d7b06eb1bd2ab657b192438ac18c321aa5cdb023abc2877af2065249a70c377539201d55')
+sha512sums=('d08f7228ab57cd33428f530b14942dcf64b6efebe7589959f4ca3fc021f5da39af6441746417f80f7474d6a7bfb7a0ac94006a64ecf37967d4983698e95241f1')
prepare() {
# /usr/bin/vault not working in clean chroots as it requires CAP_IPC_LOCK
@@ -44,8 +44,10 @@ build() {
check() {
cd $_pkgname-$pkgver
# test_ldap requires many unpackaged dependencies
+ # test_cert: some tests fail with requests 2.32
https://github.com/hvac/hvac/issues/1177
PATH="$srcdir/vault-unprivileged:$PATH" pytest tests \
- --ignore=tests/integration_tests/api/auth_methods/test_ldap.py
+ --ignore=tests/integration_tests/api/auth_methods/test_ldap.py \
+ --ignore=tests/integration_tests/api/auth_methods/test_cert.py
}
package() {
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-hvac/-/commit/b5cd6bb9cf9c0b3ccec0b045d93ba5727b87000d
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-hvac/-/commit/b5cd6bb9cf9c0b3ccec0b045d93ba5727b87000d
You're receiving this email because of your account on gitlab.archlinux.org.