./net/py-responses, Utility library for mocking out the requests Python library

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.25.3, Package name: py312-responses-0.25.3, Maintainer: pkgsrc-users

A utility library for mocking out the requests Python library.


Required to run:
[devel/py-setuptools] [devel/py-requests] [lang/py-six] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 75.975 KB

Version history: (Expand)


CVS history: (Expand)


   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2024-06-14 20:55:59 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-responses: updated to 0.25.3

0.25.3
* Fixed `recorder` not saving and loading response headers with yaml files.
   2024-06-07 07:29:12 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-responses: updated to 0.25.2

0.25.2
------

* Mulligan on 0.25.1 to run release pipeline correctly.
* Added `matchers.body_matcher` for matching string request bodies.

0.25.1
------

* Fixed tests failures during RPM package builds.
* Fix mocked HEAD responses that have `Content-Length` set.
* Fixed error messages when matches fail: inputs are not sorted or reformatted.
   2024-02-16 18:54:55 by Adam Ciarcinski | Files touched by this commit (1)
Log message:
py-responses: remove do-test target
   2024-02-16 18:54:27 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-responses: updated to 0.25.0

0.25.0

* Added support for Python 3.12
* Fixed `matchers.header_matcher` not failing when a matched header is missing \ 
from the request.
   2023-11-15 09:26:11 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-responses: updated to 0.24.1

0.24.1

* Reverted overloads removal
* Added typing to `Call` attributes.
* Fix socket issues
   2023-11-09 09:55:25 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-responses: updated to 0.24.0

0.24.0

* Added `BaseResponse.calls` to access calls data of a separate mocked request.
* Added `real_adapter_send` parameter to `RequestsMock` that will allow users to set
  through which function they would like to send real requests
* Added support for re.Pattern based header matching.
* Added support for gzipped response bodies to `json_params_matcher`.
* Fix `Content-Type` headers issue when the header was duplicated.
* Moved types-pyyaml dependency to `tests_requires`
* Removed Python3.7 support
   2023-08-04 10:07:45 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-responses: updated to 0.23.3

0.23.3
 * Allow urllib3>=1.25.10