./www/py-pook, HTTP traffic mocking and expectations made easy

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.1.2, Package name: py312-pook-2.1.2, Maintainer: pkgsrc-users

Versatile, expressive and hackable utility library for HTTP traffic
mocking and expectations made easy in Python. Heavily inspired by
gock.


Master sites:

Filesize: 32.069 KB

Version history: (Expand)


CVS history: (Expand)


   2024-02-23 08:54:16 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-pook: updated to 1.4.3

v1.4.3 / 2024-02-23

Fix httpx incorrectly named method on interceptor subclass

v1.4.2 / 2024-02-15

fix: httpx streaming via iter_raw raises httpx.StreamConsumed

v1.4.1 / 2024-02-12

Fix Mock constructor params/url order mishandling
Optionally match empty values in query parameter presence matcher
Fix httpx network mode
   2024-01-14 16:34:05 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-pook: updated to 1.4.0

v1.4.0 / 2023-12-29

Add support for httpx
Enable mocket integration tests for Python >= 3.11

v1.3.0 / 2023-12-25

This release modernizes Pook build and development environments.

Drop support for EOL'd Python versions (in other words, 3.6 and 3.7)
Use pyproject.toml
Use ruff to lint files
Use pre-commit to add pre-commit hooks
Use hatch to manage test, development, and build environments
Fix the test configuration to actually run the example tests
Fix the documentation build
Fix support for asynchronous functions in the activate decorator (this was a \ 
direct result of re-enabling the example tests and finding lots of little \ 
issues)
Remove all mention of the unsupported pycurl library
Clean up tests that can use pytest parametrize to do so (and get better \ 
debugging information during tests runs as a result)
Use pytest-pook to clean up a bunch of unnecessary test fixtures
Fix deprecation warning for invalid string escape sequences caused by untagged \ 
regex strings

v1.2.1 / 2023-12-23

Fix usage of regex values in header matchers
Fix urllib SSL handling

v1.2.0 / 2023-12-17

feat(api): add support for binary bodies
fix(urllib3): don't put non-strings into HTTP header dict
refactor: drop Python 3.5 support

v1.1.0 / 2023-01-01

chore(version): bump minor v1.1.0
Switch to Python >= 3.5 and fix latest aiohttp compatability
fix: remove print cal
   2022-08-24 14:50:12 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-pook: python 3.x only
   2022-08-24 14:48:05 by Thomas Klausner | Files touched by this commit (4)
Log message:
www/py-pook: import py-pook-1.0.2

Versatile, expressive and hackable utility library for HTTP traffic
mocking and expectations made easy in Python. Heavily inspired by
gock.