Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906837 - dev-python/requests-cache-1.0.1 fails tests (MUSL-SYSTEM)
Summary: dev-python/requests-cache-1.0.1 fails tests (MUSL-SYSTEM)
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jason A. Donenfeld
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-20 11:45 UTC by Agostino Sarubbo
Modified: 2023-05-20 11:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,235.09 KB, text/plain)
2023-05-20 11:45 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-05-20 11:45:07 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/requests-cache-1.0.1 fails tests (MUSL-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc but this bug MAY or MAY NOT BE related to musl.
Comment 1 Agostino Sarubbo gentoo-dev 2023-05-20 11:45:10 UTC
Created attachment 862031 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-05-20 11:45:10 UTC
Error(s) that match a know pattern:


E               RuntimeError: Calling read(decode_content=False) is not supported after read(decode_content=True) was called.
E               requests.exceptions.ChunkedEncodingError: ('Connection broken: IncompleteRead(360 bytes read, -180 more expected)', IncompleteRead(360 bytes read, -180 more expected))
E               urllib3.exceptions.ProtocolError: ('Connection broken: IncompleteRead(360 bytes read, -180 more expected)', IncompleteRead(360 bytes read, -180 more expected))
E       AttributeError: 'HTTPResponse' object has no attribute 'strict'
FAILED tests/integration/test_filesystem.py::TestFileCache::test_response_decode[False]
FAILED tests/integration/test_filesystem.py::TestFileCache::test_response_decode[True]
FAILED tests/integration/test_memory.py::TestMemoryCache::test_response_decode[False]
FAILED tests/integration/test_memory.py::TestMemoryCache::test_response_decode[True]
FAILED tests/integration/test_sqlite.py::TestSQLiteCache::test_response_decode[False]
FAILED tests/integration/test_sqlite.py::TestSQLiteCache::test_response_decode[True]
FAILED tests/unit/models/test_raw_response.py::test_from_response - Attribute...