14
0
forked from pool/python-respx

11 Commits

Author SHA256 Message Date
5d7771fadf - update to 0.22.0:
* Support HTTPX 0.28.0, thanks @ndhansen
  * Drop support for Python 3.7, to align with HTTPX 0.25.0
  * Update CI test to not fail fast and cancel workflows
  * Add dependabot to check GitHub actions packages
  * Add Python 3.13 to test suite
- drop respx-pr267-httpx0.28.patch,
  respx-pr278-httpx0.28.patch: upstream

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-respx?expand=0&rev=23
2025-03-30 08:16:23 +00:00
f7b84a29c0 Accepting request 1230633 from home:bnavigator:branches:devel:languages:python
- Add patches for httpx 0.28
  * respx-pr267-httpx0.28.patch gh#lundberg/respx#267
  * respx-pr278-httpx0.28.patch gh#lundberg/respx#278

OBS-URL: https://build.opensuse.org/request/show/1230633
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-respx?expand=0&rev=21
2024-12-13 10:44:56 +00:00
8730ceead7 Accepting request 1175910 from home:ojkastl_buildservice:Branch_devel_languages_python
add sle15_python_module_pythons

OBS-URL: https://build.opensuse.org/request/show/1175910
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-respx?expand=0&rev=19
2024-05-23 08:51:56 +00:00
35fbeae414 - update to 0.21.1:
* Fix `files` pattern not handling `str` and `BytesIO`
  * Add support for `None` values in `data` pattern

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-respx?expand=0&rev=17
2024-04-20 07:48:41 +00:00
319be43888 - update to 0.21.0:
* Fix matching request data when files are provided
  * Add support for data\_\_contains lookup
  * Add `files` pattern to support matching on uploads
  * Add `SetCookie` utility for easier mocking of response cookie
    headers
  * Enhance documentation on iterable side effects
  * Enhance documentation on named routes and add tip about a
    catch-all route

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-respx?expand=0&rev=15
2024-03-21 17:04:10 +00:00
12ea630465 - update to 0.20.2:
* Better assertion output for `assert_all_called`
  * Support for quoted path pattern matching
  * Enable content\_\_contains pattern, thanks @rjprins
  * Added initial `CONTRIBUTING.md`, thanks @morenoh149
  * Docs about retrieving mocked calls, thanks
  * Docs about `Router.assert_all_called()`, thanks @BeyondEvil
    for input
- drop use-real-ipv6-address.patch (upstream)
- Update to version 0.20.0
  pytest-asyncio.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-respx?expand=0&rev=13
2024-01-09 22:11:54 +00:00
6b1d8ff41a - Add patch use-real-ipv6-address.patch:
* Use a real IPv6 address to avoid an address parsing exception

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-respx?expand=0&rev=11
2023-06-16 06:06:46 +00:00
76e611a0b7 - Update to 0.20.1
* Support HTTPX 0.23.1, thanks @g-as for input (#223)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-respx?expand=0&rev=9
2023-01-16 11:34:13 +00:00
fac8574968 Accepting request 1010287 from home:yarunachalam:branches:devel:languages:python
- Update to version 0.20.0 
  Changed
  * Type Router.__getitem__ to not return optional routes, thanks @flaeppe (#216)
  * Change Call.response to raise instead of returning optional response (#217)
  * Change CallList.last to raise instead of return optional call (#217)
  * Type M() to not return optional pattern, by introducing a Noop pattern (#217)
  * Type Route.pattern to not be optional (#217)
  Fixed
  * Correct type hints for side effects (#217)
  Added
  * Runs mypy on both tests and respx (#217)
  * Added nox test session for python 3.11 (#217)
  * Added Call.has_response helper, now that .response raises (#217)

OBS-URL: https://build.opensuse.org/request/show/1010287
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-respx?expand=0&rev=7
2022-10-13 07:04:32 +00:00
8e17298dd5 - Run pytest with --asyncio-mode=auto due to new release of
pytest-asyncio.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-respx?expand=0&rev=5
2022-08-22 07:36:26 +00:00
b4d5fd50fd - Initial package for 0.19.2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-respx?expand=0&rev=1
2022-08-02 04:13:58 +00:00