Comment 1 for bug 2053016

Revision history for this message
Olivier Gayot (ogayot) wrote : Re: Exception on Ubuntu Core 24

Hello Valentin and thank you for your bug report,

It looks like an issue with python-requests-unixsocket. I've been able to reproduce the issue on noble with the following steps:

```python3
import requests_unixsocket

with requests_unixsocket.Session() as session:
    session.get('http+unix://%2Ftmp/')
```

on noble:
TypeError: HTTPConnection.request() got an unexpected keyword argument 'chunked'

on other Ubuntu versions, e.g., mantic:
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionRefusedError(111, 'Connection refused'))

Upstream change in python-requests: https://github.com/psf/requests/pull/6226