BSD Ports

net/py-responses 0.26.3 NetBSD

Utility library for mocking out the requests Python library

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
65c9b1c391
License
apache-2.0
Categories
net, python
Package size
58.4 KiB, 286.0 KiB installed

Description

A utility library for mocking out the requests Python library.

In the other systems

SystemPortVersion
NetBSDnet/py-responses0.26.3
FreeBSDdevel/py-responses0.26.3
HardenedBSDdevel/py-responses0.26.3
GhostBSDdevel/py-responses0.26.3

Install

Binary package:

pkgin install py312-responses

From pkgsrc:

cd /usr/pkgsrc/net/py-responses && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_640.26.3
NetBSD 10.1 aarch640.26.1
SmartOS / illumos x86_640.26.3
macOS 15 arm640.26.3

Dependencies

Run dependencies 4

Configuration

No options to configure.

Service scripts
none
Flavors
py313-responses-0.26.3, py314-responses-0.26.3

Commit history 3

DateCommitCreditsLog message
65c9b1c391 adam Forget Python 3.10
ea01a3adb9 adam py-responses: updated to 0.26.3
0.26.3 * Added a ``keep_headers`` argument to ``_recorder.record`` and ``Recorder.dump_to_file`` to preserve named headers (for example ``Date``) that are otherwise stripped as verbose defaults, so a signed response can be recorded and later verified. Matching is case-insensitive. * Fixed the element type exposed by `CallList` so static type checkers infer `Call` values when iterating, indexing, or filtering recorded calls. * Fixed `query_string_matcher` (and the query matching auto-applied to a registered URL's own query string) discarding blank-valued query params (``b=``), which caused requests with an extra or missing blank param to match incorrectly. * Fixed `fragment_identifier_matcher` treating opaque fragments (those without …
3ab476f5e9 adam py-responses: updated to 0.26.2
0.26.2 * Default headers (such as ``Content-Type``, ``Date`` and ``Server``) are now stripped from recorded files regardless of header name case. Previously, responses recorded from servers that send lowercase header names (for example over HTTP/2) kept these redundant headers in the generated file. * Fixed `query_param_matcher` mutating the caller's params dict when numeric values are provided.