Overview

Request 1129211 accepted

- update to 1.11.0:
* 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.
* .. _requests-mock_1.11.0_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.
- drop remove-mock.patch (upstream)

Request History
Dirk Mueller's avatar

dirkmueller created request

- update to 1.11.0:
* 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.
* .. _requests-mock_1.11.0_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.
- drop remove-mock.patch (upstream)


Saul Goodman's avatar

licensedigger accepted review

ok


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Ana Guerrero's avatar

anag+factory set openSUSE:Factory:Staging:I as a staging project

Being evaluated by staging project "openSUSE:Factory:Staging:I"


Ana Guerrero's avatar

anag+factory accepted review

Picked "openSUSE:Factory:Staging:I"


Dominique Leuenberger's avatar

dimstar accepted review

ok


Ana Guerrero's avatar

anag+factory accepted review

Staging Project openSUSE:Factory:Staging:I got accepted.


Ana Guerrero's avatar

anag+factory approved review

Staging Project openSUSE:Factory:Staging:I got accepted.


Ana Guerrero's avatar

anag+factory accepted request

Staging Project openSUSE:Factory:Staging:I got accepted.

openSUSE Build Service is sponsored by