Created attachment 859404 [details] net-misc:httpie-3.2.1-r1:20230402-021102.log =net-misc/httpie-3.2.1-r1 fails its test phase for me. At first this is the following ERRORs, in the first-attached build log: ================================================== short test summary info =================================================== ERROR tests/test_cookie_on_redirects.py - AttributeError: module pytest has no attribute lazy_fixture ERROR tests/test_sessions.py - AttributeError: module pytest has no attribute lazy_fixture ERROR tests/test_update_warnings.py - AttributeError: module pytest has no attribute lazy_fixture !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 3 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ===================================================== 3 errors in 2.64s ====================================================== After I install dev-python/pytest-lazy-fixture, I no longer see these errors, but instead I see "282 failed, 715 passed, 25 skipped, 2 xfailed, 2 xpassed, 353 warnings" (I'll attach that build log after my emerge --info). Many of these failures end with text similar to the following: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <httpie.models.HTTPResponse object at 0x7f4b9d956a40> @property def headers(self): try: raw = self._orig.raw if getattr(raw, '_original_response', None): raw_version = raw._original_response.version else: raw_version = raw.version except AttributeError: # Assume HTTP/1.1 raw_version = 11 > version = { 9: '0.9', 10: '1.0', 11: '1.1', 20: '2.0', }[raw_version] E KeyError: 0 raw = <urllib3.response.HTTPResponse object at 0x7f4b9d954a90> raw_version = 0 self = <httpie.models.HTTPResponse object at 0x7f4b9d956a40> httpie/models.py:82: KeyError ---------------------------------------------------- Captured stderr call ---------------------------------------------------- http: error: KeyError: 0
Created attachment 859405 [details] emerge-info.txt
Created attachment 859406 [details] net-misc:httpie-3.2.1-r1:20230402-022237.log.gz
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=420ab5b47dba94a9db77522f7308c9d862625cce commit 420ab5b47dba94a9db77522f7308c9d862625cce Author: Sam James <sam@gentoo.org> AuthorDate: 2024-05-09 12:11:05 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-05-09 12:11:36 +0000 net-misc/httpie: add 3.2.2 Closes: https://bugs.gentoo.org/836717 Closes: https://bugs.gentoo.org/885543 Closes: https://bugs.gentoo.org/903685 Closes: https://bugs.gentoo.org/929725 Signed-off-by: Sam James <sam@gentoo.org> net-misc/httpie/Manifest | 1 + .../files/httpie-3.2.1-pytest-fixtures.patch | 599 +++++++++++++++++++++ net-misc/httpie/httpie-3.2.2.ebuild | 83 +++ 3 files changed, 683 insertions(+)