Closed mesozoic closed 1 year ago
Looks like they started supporting urllib3 2.0, so the simplest solution is probably pinning urllib<2
(and I confirmed the test suite passes with urllib3==1.26.15
). I don't yet understand why that fixes the problem, so I'm not sure it's correct.
requests==2.30.0
introduced compatibility withurllib3==2.0.0
, but some combination of how this library implements retrying or how it tests retrying is not compatible with changes they made in 2.0. In 1f9797f I've pinned this library tourllib3<2
, but that's not going to work in the long run.Fails are
TypeError: 'Mock' object is not iterable
andTypeError: expected string or bytes-like object, got 'Mock'
so it's possible that it will be solvable within the test suite (rather than requiring a code change within the library).