Path to this page:
Subject: CVS commit: pkgsrc/devel/py-requests-mock
From: Adam Ciarcinski
Date: 2023-07-08 09:33:35
Message id: 20230708073336.14DDCFBDB@cvs.NetBSD.org
Log Message:
py-requests-mock: updated to 1.11.0
1.11.0
======
New Features
------------
- Exposes some public type aliases (for type hinting only, they can't be \
instanciated)
for the types intended to be used by `requests_mock` users.
The following types are now exposed:
- `requests_mock.Context` used in callbacks
- `requests_mock.Request` used in callbacks, which is a \
`requests.PreparedRequest` proxy.
- `requests_mock.Callback[T]` which is the callbacks type.
Bug Fixes
---------
- Some typing inconsistencies have been fixed.
Especially for `request` object in signatures which is in fact a \
`requests_mock.Request` object.
- Fix incompatibility with urllib3 >2.0.0. In 2.0.0 they default to enforcing
content length checking on returned bodies in responses from the previous
default of false. However the flag is still available so for compatibility
we can just default the other way.
Files: