./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.6, Package name: py312-responses-0.25.6, 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: 77.29 KB

Version history: (Expand)


CVS history: (Expand)


   2025-01-14 07:39:12 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-responses: updated to 0.25.6

0.25.5

* Fix readme issue that prevented 0.25.4 from being published to pypi.
   2025-01-12 15:42:55 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-responses: updated to 0.25.5

0.25.4

* Responses can now match requests that use `data` with file-like objects.
  Files will be read as bytes and stored in the request mock.
* `RequestsMock.matchers` was added. This property is an alias to \ 
`responses.matchers`.
* Removed tests from packaged wheels.
* Improved recorder API to ease use in REPL environments.
   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