Requests-mock

Latest version: v1.12.1

Safety actively analyzes 685525 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.12.1

Set python_requires to >3 to prevent installation in python2 deployments.

**Full Changelog**: https://github.com/jamielennox/requests-mock/compare/1.12.0...1.12.1

1.12.0

What's Changed
* Update copyright year by KrishanBhasin in https://github.com/jamielennox/requests-mock/pull/239
* Remove py2 by jamielennox in https://github.com/jamielennox/requests-mock/pull/248
* Allow `raw` parameter to accept callable like body elements by jamielennox in https://github.com/jamielennox/requests-mock/pull/249
* Improve type definition of `Mocker.__call__` by Viicos in https://github.com/jamielennox/requests-mock/pull/244
* Drop PBR Support by jamielennox in https://github.com/jamielennox/requests-mock/pull/250
* fix(mocker.pyi): fix Mocker class type hints by pavellos21 in https://github.com/jamielennox/requests-mock/pull/251
* Remove unused `six` dependency by Viicos in https://github.com/jamielennox/requests-mock/pull/252

New Contributors
* KrishanBhasin made their first contribution in https://github.com/jamielennox/requests-mock/pull/239
* Viicos made their first contribution in https://github.com/jamielennox/requests-mock/pull/244
* pavellos21 made their first contribution in https://github.com/jamielennox/requests-mock/pull/251

**Full Changelog**: https://github.com/jamielennox/requests-mock/compare/1.11.0...1.12.0

1.11.0

What's Changed
* Upgrade GitHub Actions by cclauss in https://github.com/jamielennox/requests-mock/pull/224
* Typing analysis and public type aliases by noirbizarre in https://github.com/jamielennox/requests-mock/pull/226
* Use unittest.mock when available on Python > 3.3 by jelly in https://github.com/jamielennox/requests-mock/pull/230
* Tell urllib3 to ignore content length mismatch by jamielennox in https://github.com/jamielennox/requests-mock/pull/232
* Remove testrepository dependency by jamielennox in https://github.com/jamielennox/requests-mock/pull/229

New Contributors
* cclauss made their first contribution in https://github.com/jamielennox/requests-mock/pull/224
* noirbizarre made their first contribution in https://github.com/jamielennox/requests-mock/pull/226
* jelly made their first contribution in https://github.com/jamielennox/requests-mock/pull/230

**Full Changelog**: https://github.com/jamielennox/requests-mock/compare/1.10.0...1.11.0

1.10.0

What's Changed
* Response parameters type hints by OldSneerJaw in https://github.com/jamielennox/requests-mock/pull/178
* Support Python 3.10. by adamchainz in https://github.com/jamielennox/requests-mock/pull/190
* Avoid using distutils to check pytest version. by adamchainz in https://github.com/jamielennox/requests-mock/pull/189
* Add reset methods on the Mocker class type. by zozoens31 in https://github.com/jamielennox/requests-mock/pull/184
* add GitHub URL for PyPi by andriyor in https://github.com/jamielennox/requests-mock/pull/196
* Prevent race condition when using requests_futures and ThreadPoolExecutor by phodge in https://github.com/jamielennox/requests-mock/pull/183
* pytest plugin should lazy-load requests_mock by ikonst in https://github.com/jamielennox/requests-mock/pull/195
* Update homepage/doc URLs of requests library by soxofaan in https://github.com/jamielennox/requests-mock/pull/206
* Thread Locking by phodge in https://github.com/jamielennox/requests-mock/pull/203
* Shorten line length of comments by jamielennox in https://github.com/jamielennox/requests-mock/pull/183 and https://github.com/jamielennox/requests-mock/pull/200
* Improvements to Type Hints by jamielennox in https://github.com/jamielennox/requests-mock/pull/199
* Allow passing json_encoder to mocking by jamielennox in https://github.com/jamielennox/requests-mock/pull/198

New Contributors
* petrem made their first contribution in https://github.com/jamielennox/requests-mock/pull/185
* mgorny made their first contribution in https://github.com/jamielennox/requests-mock/pull/164
* akhsiM made their first contribution in https://github.com/jamielennox/requests-mock/pull/194
* adamchainz made their first contribution in https://github.com/jamielennox/requests-mock/pull/190
* zozoens31 made their first contribution in https://github.com/jamielennox/requests-mock/pull/184
* andriyor made their first contribution in https://github.com/jamielennox/requests-mock/pull/196
* phodge made their first contribution in https://github.com/jamielennox/requests-mock/pull/183
* ikonst made their first contribution in https://github.com/jamielennox/requests-mock/pull/195
* soxofaan made their first contribution in https://github.com/jamielennox/requests-mock/pull/206

**Full Changelog**: https://github.com/jamielennox/requests-mock/compare/1.9.3...1.10.0

1.9.3

Minor improvement to typing annotations.

1.9.2

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.