head	1.10;
access;
symbols
	pkgsrc-2026Q1:1.10.0.8
	pkgsrc-2026Q1-base:1.10
	pkgsrc-2025Q4:1.10.0.6
	pkgsrc-2025Q4-base:1.10
	pkgsrc-2025Q3:1.10.0.4
	pkgsrc-2025Q3-base:1.10
	pkgsrc-2025Q2:1.10.0.2
	pkgsrc-2025Q2-base:1.10
	pkgsrc-2025Q1:1.9.0.2
	pkgsrc-2025Q1-base:1.9
	pkgsrc-2024Q4:1.8.0.8
	pkgsrc-2024Q4-base:1.8
	pkgsrc-2024Q3:1.8.0.6
	pkgsrc-2024Q3-base:1.8
	pkgsrc-2024Q2:1.8.0.4
	pkgsrc-2024Q2-base:1.8
	pkgsrc-2024Q1:1.8.0.2
	pkgsrc-2024Q1-base:1.8
	pkgsrc-2023Q4:1.7.0.6
	pkgsrc-2023Q4-base:1.7
	pkgsrc-2023Q3:1.7.0.4
	pkgsrc-2023Q3-base:1.7
	pkgsrc-2023Q2:1.7.0.2
	pkgsrc-2023Q2-base:1.7
	pkgsrc-2023Q1:1.6.0.10
	pkgsrc-2023Q1-base:1.6
	pkgsrc-2022Q4:1.6.0.8
	pkgsrc-2022Q4-base:1.6
	pkgsrc-2022Q3:1.6.0.6
	pkgsrc-2022Q3-base:1.6
	pkgsrc-2022Q2:1.6.0.4
	pkgsrc-2022Q2-base:1.6
	pkgsrc-2022Q1:1.6.0.2
	pkgsrc-2022Q1-base:1.6
	pkgsrc-2021Q4:1.5.0.2
	pkgsrc-2021Q4-base:1.5
	pkgsrc-2021Q3:1.4.0.2
	pkgsrc-2021Q3-base:1.4
	pkgsrc-2021Q2:1.3.0.4
	pkgsrc-2021Q2-base:1.3
	pkgsrc-2021Q1:1.3.0.2
	pkgsrc-2021Q1-base:1.3
	pkgsrc-2020Q4:1.2.0.16
	pkgsrc-2020Q4-base:1.2
	pkgsrc-2020Q3:1.2.0.14
	pkgsrc-2020Q3-base:1.2
	pkgsrc-2020Q2:1.2.0.12
	pkgsrc-2020Q2-base:1.2
	pkgsrc-2020Q1:1.2.0.8
	pkgsrc-2020Q1-base:1.2
	pkgsrc-2019Q4:1.2.0.10
	pkgsrc-2019Q4-base:1.2
	pkgsrc-2019Q3:1.2.0.6
	pkgsrc-2019Q3-base:1.2
	pkgsrc-2019Q2:1.2.0.4
	pkgsrc-2019Q2-base:1.2
	pkgsrc-2019Q1:1.2.0.2
	pkgsrc-2019Q1-base:1.2
	pkgsrc-2018Q4:1.1.0.10
	pkgsrc-2018Q4-base:1.1
	pkgsrc-2018Q3:1.1.0.8
	pkgsrc-2018Q3-base:1.1
	pkgsrc-2018Q2:1.1.0.6
	pkgsrc-2018Q2-base:1.1
	pkgsrc-2018Q1:1.1.0.4
	pkgsrc-2018Q1-base:1.1
	pkgsrc-2017Q4:1.1.0.2
	pkgsrc-2017Q4-base:1.1;
locks; strict;
comment	@# @;


1.10
date	2025.04.15.09.51.03;	author adam;	state Exp;
branches;
next	1.9;
commitid	PcEoutbHaGw8c8RF;

1.9
date	2025.01.12.14.42.55;	author adam;	state Exp;
branches;
next	1.8;
commitid	gGwESkyqR7YvNcFF;

1.8
date	2024.02.16.17.54.27;	author adam;	state Exp;
branches;
next	1.7;
commitid	wN2PETyUMreLuGYE;

1.7
date	2023.05.08.07.15.56;	author adam;	state Exp;
branches;
next	1.6;
commitid	6lxSW0IM6sZt58oE;

1.6
date	2022.01.24.18.24.47;	author adam;	state Exp;
branches;
next	1.5;
commitid	j3X3dvqLqwHURUpD;

1.5
date	2021.11.22.09.17.31;	author adam;	state Exp;
branches;
next	1.4;
commitid	trTWUFHBpfuLRLhD;

1.4
date	2021.09.19.10.45.51;	author adam;	state Exp;
branches;
next	1.3;
commitid	GOpTJ0IV0BfApy9D;

1.3
date	2021.03.18.07.29.31;	author adam;	state Exp;
branches;
next	1.2;
commitid	XZeYqhiEzubTgLLC;

1.2
date	2019.03.18.13.01.48;	author adam;	state Exp;
branches;
next	1.1;
commitid	SdjunEXlFyYHBQfB;

1.1
date	2017.10.28.06.52.56;	author adam;	state Exp;
branches;
next	;
commitid	QnVJBacmxb4zPMcA;


desc
@@


1.10
log
@Fix PLIST after py-setuptools update; bump depends and revision
@
text
@@@comment $NetBSD: PLIST,v 1.9 2025/01/12 14:42:55 adam Exp $
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/responses/__init__.py
${PYSITELIB}/responses/__init__.pyc
${PYSITELIB}/responses/__init__.pyo
${PYSITELIB}/responses/_recorder.py
${PYSITELIB}/responses/_recorder.pyc
${PYSITELIB}/responses/_recorder.pyo
${PYSITELIB}/responses/matchers.py
${PYSITELIB}/responses/matchers.pyc
${PYSITELIB}/responses/matchers.pyo
${PYSITELIB}/responses/py.typed
${PYSITELIB}/responses/registries.py
${PYSITELIB}/responses/registries.pyc
${PYSITELIB}/responses/registries.pyo
@


1.9
log
@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.
@
text
@d1 1
a1 2
@@comment $NetBSD: PLIST,v 1.8 2024/02/16 17:54:27 adam Exp $
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
d5 1
@


1.8
log
@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.
@
text
@d1 1
a1 1
@@comment $NetBSD: PLIST,v 1.7 2023/05/08 07:15:56 adam Exp $
a19 18
${PYSITELIB}/responses/tests/__init__.py
${PYSITELIB}/responses/tests/__init__.pyc
${PYSITELIB}/responses/tests/__init__.pyo
${PYSITELIB}/responses/tests/test_matchers.py
${PYSITELIB}/responses/tests/test_matchers.pyc
${PYSITELIB}/responses/tests/test_matchers.pyo
${PYSITELIB}/responses/tests/test_multithreading.py
${PYSITELIB}/responses/tests/test_multithreading.pyc
${PYSITELIB}/responses/tests/test_multithreading.pyo
${PYSITELIB}/responses/tests/test_recorder.py
${PYSITELIB}/responses/tests/test_recorder.pyc
${PYSITELIB}/responses/tests/test_recorder.pyo
${PYSITELIB}/responses/tests/test_registries.py
${PYSITELIB}/responses/tests/test_registries.pyc
${PYSITELIB}/responses/tests/test_registries.pyo
${PYSITELIB}/responses/tests/test_responses.py
${PYSITELIB}/responses/tests/test_responses.pyc
${PYSITELIB}/responses/tests/test_responses.pyo
@


1.7
log
@py-responses: updated to 0.23.1

0.23.1
------

* Remove `tomli` import.

0.23.0
------

* Add Python 3.11 support
* Fix type annotations of `CallList`.
* `request` object is attached to any custom exception provided as `Response` `body` argument.
* Fixed mocked responses leaking between tests when `assert_all_requests_are_fired` and a request was not fired.
* [BETA] Default recorder format was changed to YAML.  Added `responses.RequestsMock._parse_response_file` and
  `responses._recorder.Recorder.dump_to_file` methods that allow users to override default parser to eg toml, json

0.22.0
------

* Update `requests` dependency to the version of 2.22.0 or higher.
* [BETA] Added possibility to record responses to TOML files via `@@_recorder.record(file_path="out.toml")` decorator.
* [BETA] Added possibility to replay responses (populate registry) from TOML files
  via `responses._add_from_file(file_path="out.toml")` method.
* Fix type for the `mock`'s patcher object.
* Fix type annotation for `CallList`
* Add `passthrough` argument to `BaseResponse` object.
* Fix `registries` leak.
* `OriginalResponseShim` is removed.
* Add support for the `loose` version of `json_params_matcher` via named argument `strict_match`.
* Add lists support as JSON objects in `json_params_matcher`.
* Added project links to pypi listing.
* `delete`, `get`, `head`, `options`, `patch`, `post`, `put` shortcuts are now implemented using `functools.partialmethod`.
* Fix `MaxRetryError` exception. Replace exception by `RetryError` according to `requests` implementation.
* Adjust error message when `Retry` is exhausted.

0.21.0
------

* Add `threading.Lock()` to allow `responses` working with `threading` module.
* Add `urllib3` `Retry` mechanism.
* Removed internal `_cookies_from_headers` function
* Now `add`, `upsert`, `replace` methods return registered response.
  `remove` method returns list of removed responses.
* Added null value support in `urlencoded_params_matcher` via `allow_blank` keyword argument
* Added strict version of decorator. Now you can apply `@@responses.activate(assert_all_requests_are_fired=True)`
  to your function to validate that all requests were executed in the wrapped function.


0.20.0
------

* Deprecate `responses.assert_all_requests_are_fired`, `responses.passthru_prefixes`, `responses.target`
  since they are not actual properties of the class instance.
  Use `responses.mock.assert_all_requests_are_fired`,
  `responses.mock.passthru_prefixes`, `responses.mock.target` instead.
* Fixed the issue when `reset()` method was called in not stopped mock.

0.19.0
------

* Added a registry that provides more strict ordering based on the invocation index.
  See `responses.registries.OrderedRegistry`.
* Added shortcuts for each request method: delete, get, head, options, patch, post, put.
  For example, to add response for POST request you can use `responses.post()` instead
  of `responses.add(responses.POST)`.
* Prevent `responses.activate` decorator to leak, if wrapped function called from within another
  wrapped function. Also, allow calling of above mentioned chain.
* Expose `get_registry()` method of `RequestsMock` object. Replaces internal `_get_registry()`.
* `query_param_matcher` can now accept dictionaries with `int` and `float` values.
* Add support for the `loose` version of `query_param_matcher` via named argument `strict_match`.
* Added support for `async/await` functions.
* `response_callback` is no longer executed on exceptions raised by failed `Response`s
* Change logic of `_get_url_and_path` to comply with RFC 3986. Now URL match occurs by matching
  schema, authority and path, where path is terminated by the first question mark ("?") or
  number sign ("#") character, or by the end of the URI.
* An error is now raised when both `content_type` and `headers[content-type]` are provided as parameters.
* When a request isn't matched the passthru prefixes are now included in error messages.


0.18.0
------

* Dropped support of Python 2.7, 3.5, 3.6
* Fixed issue with type annotation for `responses.activate` decorator.
* Removed internal `_is_string` and `_ensure_str` functions
* Removed internal `_quote` from `test_responses.py`
* Removed internal `_matches` attribute of `RequestsMock` object.
* Generated decorator wrapper now uses stdlib features instead of strings and exec
* Fix issue when Deprecation Warning was raised with default arguments
  in `responses.add_callback` due to `match_querystring`.
@
text
@d1 6
a6 7
@@comment $NetBSD: PLIST,v 1.6 2022/01/24 18:24:47 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
@


1.6
log
@py-responses: updated to 0.17.0

0.17.0
------
* This release is the last to support Python 2.7.
* Fixed issue when `response.iter_content` when `chunk_size=None` entered infinite loop
* Fixed issue when `passthru_prefixes` persisted across tests.
  Now `add_passthru` is valid only within a context manager or for a single function and
  cleared on exit
* Deprecate `match_querystring` argument in `Response` and `CallbackResponse`.
  Use `responses.matchers.query_param_matcher` or `responses.matchers.query_string_matcher`
* Added support for non-UTF-8 bytes in `responses.matchers.multipart_matcher`
* Added `responses.registries`. Now user can create custom registries to
  manipulate the order of responses in the match algorithm
  `responses.activate(registry=CustomRegistry)`
* Fixed issue with response match when requests were performed between adding responses with
  same URL.
@
text
@d1 1
a1 1
@@comment $NetBSD: PLIST,v 1.5 2021/11/22 09:17:31 adam Exp $
a9 1
${PYSITELIB}/responses/__init__.pyi
d11 3
a15 1
${PYSITELIB}/responses/matchers.pyi
d17 1
a19 1
${PYSITELIB}/responses/registries.pyi
d21 18
a38 6
${PYSITELIB}/responses/test_matchers.py
${PYSITELIB}/responses/test_matchers.pyc
${PYSITELIB}/responses/test_matchers.pyo
${PYSITELIB}/responses/test_responses.py
${PYSITELIB}/responses/test_responses.pyc
${PYSITELIB}/responses/test_responses.pyo
@


1.5
log
@py-responses: updated to 0.16.0

0.16.0
------
* Fixed regression with `stream` parameter deprecation, requests.session() and cookie handling.
* Replaced adhoc URL parsing with `urllib.parse`.
* Added ``match`` parameter to ``add_callback`` method
* Added `responses.matchers.fragment_identifier_matcher`. This matcher allows you
  to match request URL fragment identifier.
* Improved test coverage.
* Fixed failing test in python 2.7 when `python-future` is also installed.
@
text
@d1 1
a1 1
@@comment $NetBSD: PLIST,v 1.4 2021/09/19 10:45:51 adam Exp $
d16 4
@


1.4
log
@py-responses: updated to 0.14.0

0.14.0
------
* Added `responses.matchers`.
* Moved `responses.json_params_matcher` to `responses.matchers.json_params_matcher`
* Moved `responses.urlencoded_params_matcher` to
  `responses.matchers.urlencoded_params_matcher`
* Added `responses.matchers.query_param_matcher`. This matcher allows you
  to match query strings with a dictionary.
* Added `auto_calculate_content_length` option to `responses.add()`. When
  enabled, this option will generate a `Content-Length` header
  based on the number of bytes in the response body.
@
text
@d1 1
a1 1
@@comment $NetBSD: PLIST,v 1.3 2021/03/18 07:29:31 adam Exp $
d10 1
d14 1
d16 3
@


1.3
log
@py-responses: updated to 0.13.1

0.13.1
* Fixed packages not containing type stubs.

0.13.0
* `responses.upsert()` was added. This method will `add()` a response if one
  has not already been registered for a URL, or `replace()` an existing
  response.
* `responses.registered()` was added. The method allows you to get a list of
  the currently registered responses. This formalizes the previously private
  `responses.mock._matches` method.
* A more useful `__repr__` has been added to `Response`.
* Error messages have been improved.
@
text
@d1 1
a1 1
@@comment $NetBSD: PLIST,v 1.2 2019/03/18 13:01:48 adam Exp $
d11 3
@


1.2
log
@py-responses: updated to 0.10.6

0.10.6
- Improved documentation.
- Improved installation requirements for py3
- ConnectionError's raised by responses now indicate which request
  path/method failed to match a mock.
- test_responses.py is no longer part of the installation targets.
@
text
@d1 1
a1 1
@@comment $NetBSD: PLIST,v 1.1 2017/10/28 06:52:56 adam Exp $
d8 6
a13 3
${PYSITELIB}/responses.py
${PYSITELIB}/responses.pyc
${PYSITELIB}/responses.pyo
@


1.1
log
@py-responses: added version 0.8.1

A utility library for mocking out the requests Python library.
@
text
@d1 1
a1 1
@@comment $NetBSD$
a10 3
${PYSITELIB}/test_responses.py
${PYSITELIB}/test_responses.pyc
${PYSITELIB}/test_responses.pyo
@

