Skip to content

Releases: mindflayer/python-mocket

Better aiohttp support plus minor bugfixes

17 Jan 22:53
182be1a

Choose a tag to compare

What's Changed

  • Fixes for allowing making a mixture of unmocked and mocked HTTPS requests using aiohttp by @ento in #213
  • Merging external contribution by @mindflayer in #219
  • Adding testcase for proving #209 was fixed by @mindflayer in #220

New Contributors

  • @ento made their first contribution in #213

Full Changelog: 3.12.2...3.12.3

Pook plugin available for Python versions newer than 3.10

25 Dec 11:47
91cfac0

Choose a tag to compare

What's Changed

Thanks to @sarayourfriend for the hint about pook

Full Changelog: 3.12.0...3.12.2

Support for Python 3.12

28 Oct 12:35
f7eeb78

Choose a tag to compare

Support for Python 3.12 (#204)

* Fix for Python 3.12
* Getting rid of Python 3.7, since it's not supported anymore.
* Precommit hooks' autoupdate.
* Disabling `aiohttp` for testing Python 3.12.

Support for `urllib2>=2`

12 May 10:34
b6336fc

Choose a tag to compare

What's Changed

Full Changelog: 3.11.0...3.11.1

Python 3.11 support

19 Feb 16:00
2076471

Choose a tag to compare

  • Migrating the HTTP[S] mock from relying on http-parser to httptools.
  • Never discovered the root cause for the failing tests with aiohttp/Python 3.11 (first time ever I added @pytest.mark.xfail to a few tests). Same test works with httpx, so I suspect it's related to a client issue. I'll probably migrate to httpx as the reference client for testing async/await code.

Minor improvements

03 Dec 22:44
5313158

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 3.10.8...3.10.9

Mocket now supports calls from an asyncio event loop

23 Aug 16:12
3cb2a3a

Choose a tag to compare

What's Changed

Full Changelog: 3.10.7...3.10.8

Support for `httpx` client

16 Aug 19:09
81474f1

Choose a tag to compare

What's Changed

  • Change methods not using its bound instance to staticmethods by @deepsource-autofix in #180
  • Adding support for httpx by @mindflayer in #183

Thanks to @gregbrowndev for openinig #182.

Full Changelog: 3.10.6...3.10.7

Removing an external dependency

17 May 19:06
4ea32fc

Choose a tag to compare

What's Changed

Full Changelog: 3.10.5...3.10.6

Bugfix release

25 Apr 06:56
812fb46

Choose a tag to compare

What's Changed

  • Small refactor by @mindflayer in #172
  • Remove assert statement from non-test files by @deepsource-autofix in #173
  • Remove blank lines after docstring by @deepsource-autofix in #174
  • MocketEntry.request_class str vs bytes (fix for #175 ) by @michael-lazar in #177

Full Changelog: 3.10.4...3.10.5