Thanks for taking a look at this.

I didn't see the updated package yet in the repos, so grabbed the .deb from 
here:
https://launchpad.net/ubuntu/+source/python-urllib3/2.0.7-1ubuntu0.5
https://launchpad.net/~ubuntu-security-proposed/+archive/ubuntu/ppa/+build/32136011
https://launchpad.net/~ubuntu-security-proposed/+archive/ubuntu/ppa/+build/32136011/+files/python3-urllib3_2.0.7-1ubuntu0.5_all.deb

But, seeing a different exception now. I actually ran into it when I was
doing local reverts, it's mentioned in the description:

@@ -294,7 +294,7 @@

         @property
         def has_unconsumed_tail(self) -> bool:
- return not (self._obj.needs_input or self._obj.eof) or bool(
+ return not self._obj.eof or bool(
                 self._obj.unused_data
             )


Here's what I'm seeing now via urlwatch:

$ urlwatch
===========================================================================
01. ERROR: https://esphome.io/changelog/
===========================================================================

---------------------------------------------------------------------------
ERROR: https://esphome.io/changelog/
---------------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urlwatch/handler.py", line 113, in 
process
    data = self.job.retrieve(self)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/urlwatch/jobs.py", line 327, in retrieve
    response = requests.request(url=self.url,
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/requests/api.py", line 59, in request
    return session.request(method=method, url=url, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 589, in 
request
    resp = self.send(prep, **send_kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 747, in send
    r.content
  File "/usr/lib/python3/dist-packages/requests/models.py", line 899, in content
    self._content = b"".join(self.iter_content(CONTENT_CHUNK_SIZE)) or b""
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/requests/models.py", line 816, in 
generate
    yield from self.raw.stream(chunk_size, decode_content=True)
  File "/usr/lib/python3/dist-packages/urllib3/response.py", line 1133, in 
stream
    yield from self.read_chunked(amt, decode_content=decode_content)
  File "/usr/lib/python3/dist-packages/urllib3/response.py", line 1294, in 
read_chunked
    decoded = self._flush_decoder()
              ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/urllib3/response.py", line 639, in 
_flush_decoder
    return self._decoder.decompress(b"") + self._decoder.flush()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/urllib3/response.py", line 262, in 
decompress
    if not data and not self.has_unconsumed_tail:
                        ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/urllib3/response.py", line 303, in 
has_unconsumed_tail
    return not (self._obj.needs_input or self._obj.eof) or bool(
                ^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'zstd.ZstdDecompressionObj' object has no attribute 
'needs_input'
---------------------------------------------------------------------------


-- 
urlwatch 2.28, Copyright 2008-2023 Thomas Perl
Website: https://thp.io/2008/urlwatch/
Support urlwatch development: https://github.com/sponsors/thp
watched 22 URLs in 1 seconds

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2136906

Title:
  python3-urllib3 in 24.04 is now incompatible with shipped
  python3-zstandard

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-urllib3/+bug/2136906/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to