Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#80286 - [python-hvac] FTBFS (check failure)

Attached to Project: Arch Linux
Opened by Levi Zim (kxxt) - Saturday, 18 November 2023, 13:07 GMT
Last edited by Chih-Hsuan Yen (yan12125) - Sunday, 19 November 2023, 03:51 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The following test failure occurs because of vault 1.15.x. Note that this package is also outdated. After updating to 2.0.0, the check failure persists.

It is fixed in https://github.com/hvac/hvac/pull/1103. I attached a patch that updates this package to 2.0.0 and fixes the test failure.

=================================== FAILURES ===================================
________ TestKubernetes.test_configure_4_set_invalid_token_reviewer_jwt ________

a = (<tests.integration_tests.api.auth_methods.test_kubernetes.TestKubernetes testMethod=test_configure_4_set_invalid_token_reviewer_jwt>,)

@wraps(func)
def standalone_func(*a):
> return func(*(a + p.args), **p.kwargs)

/usr/lib/python3.11/site-packages/parameterized/parameterized.py:533:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/integration_tests/api/auth_methods/test_kubernetes.py:87: in test_configure
with self.assertRaises(raises) as cm:
E AssertionError: InternalServerError not raised


Additional info:
* package version(s) 1.2.1-1

This task depends upon

Closed by  Chih-Hsuan Yen (yan12125)
Sunday, 19 November 2023, 03:51 GMT
Reason for closing:  Fixed
Additional comments about closing:  python-hvac 2.0.0-1
Comment by Chih-Hsuan Yen (yan12125) - Sunday, 19 November 2023, 03:50 GMT
Thank you for the information! I updated the package with the fix backported. Note that I pushed it to [extra-testing] first as it's a new major version with breaking changes from upstream.

Loading...