./www/py-betamax, VCR imitation for python-requests

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


Branch: CURRENT, Version: 0.9.0, Package name: py312-betamax-0.9.0, Maintainer: pkgsrc-users

Betamax is a VCR_ imitation for requests. This will make mocking out requests
much easier. It is tested on 'Travis CI'.

Put in a more humorous way: "Betamax records your HTTP interactions so the NSA
does not have to."


Required to run:
[devel/py-setuptools] [devel/py-requests] [lang/python37]

Required to build:
[devel/py-test] [pkgtools/cwrappers]

Master sites:

Filesize: 78.083 KB

Version history: (Expand)


CVS history: (Expand)


   2024-02-21 13:27:04 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-betamax: updated to 0.9.0

0.9.0 - 2024-02-06

- Add support for urllib3 2.0
- Fix documentation
- Add support for binary serializer storage;
  useful with custom serializers (such as pickle based),
  however all builtin betamax serializers remain text based.
- Fix bug with ``new_episodes`` always trying to record.
- Improved documentation.
- This release drops support for Python 3.3;
  if you are still using Python 3.3
  update your Python or don't update to betamax 0.8.2.
- This release is the first release that declares support for Python 3.7,
  however previous versions most likely worked with 3.7 as well.
   2022-07-08 16:14:09 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-betamax: mark as only for python 3.x
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-10-26 13:31:15 by Nia Alarie | Files touched by this commit (1030)
Log message:
www: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Not committed (merge conflicts):
www/nghttp2/distinfo

Unfetchable distfiles (almost certainly fetched conditionally...):
./www/nginx-devel/distinfo array-var-nginx-module-0.05.tar.gz
./www/nginx-devel/distinfo echo-nginx-module-0.62.tar.gz
./www/nginx-devel/distinfo encrypted-session-nginx-module-0.08.tar.gz
./www/nginx-devel/distinfo form-input-nginx-module-0.12.tar.gz
./www/nginx-devel/distinfo headers-more-nginx-module-0.33.tar.gz
./www/nginx-devel/distinfo lua-nginx-module-0.10.19.tar.gz
./www/nginx-devel/distinfo naxsi-1.3.tar.gz
./www/nginx-devel/distinfo nginx-dav-ext-module-3.0.0.tar.gz
./www/nginx-devel/distinfo nginx-rtmp-module-1.2.2.tar.gz
./www/nginx-devel/distinfo nginx_http_push_module-1.2.10.tar.gz
./www/nginx-devel/distinfo ngx_cache_purge-2.5.1.tar.gz
./www/nginx-devel/distinfo ngx_devel_kit-0.3.1.tar.gz
./www/nginx-devel/distinfo ngx_http_geoip2_module-3.3.tar.gz
./www/nginx-devel/distinfo njs-0.5.0.tar.gz
./www/nginx-devel/distinfo set-misc-nginx-module-0.32.tar.gz
./www/nginx/distinfo array-var-nginx-module-0.05.tar.gz
./www/nginx/distinfo echo-nginx-module-0.62.tar.gz
./www/nginx/distinfo encrypted-session-nginx-module-0.08.tar.gz
./www/nginx/distinfo form-input-nginx-module-0.12.tar.gz
./www/nginx/distinfo headers-more-nginx-module-0.33.tar.gz
./www/nginx/distinfo lua-nginx-module-0.10.19.tar.gz
./www/nginx/distinfo naxsi-1.3.tar.gz
./www/nginx/distinfo nginx-dav-ext-module-3.0.0.tar.gz
./www/nginx/distinfo nginx-rtmp-module-1.2.2.tar.gz
./www/nginx/distinfo nginx_http_push_module-1.2.10.tar.gz
./www/nginx/distinfo ngx_cache_purge-2.5.1.tar.gz
./www/nginx/distinfo ngx_devel_kit-0.3.1.tar.gz
./www/nginx/distinfo ngx_http_geoip2_module-3.3.tar.gz
./www/nginx/distinfo njs-0.5.0.tar.gz
./www/nginx/distinfo set-misc-nginx-module-0.32.tar.gz
   2021-10-07 17:09:00 by Nia Alarie | Files touched by this commit (1033)
Log message:
www: Remove SHA1 hashes for distfiles
   2020-05-17 22:18:36 by Adam Ciarcinski | Files touched by this commit (10)
Log message:
pytest from versioned depends
   2018-04-17 12:45:05 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
py-betamax: update to 0.8.1.

0.8.1 - 2018-03-13
------------------

- Previous attempts to sanitize cassette names were incomplete.
  Sanitization has become more thorough which could have some affects on
  existing cassette files. **This may cause new cassettes to be generated.**

- Fix bug where there may be an exception raised in a
  ``betamax.exceptions.BetamaxError`` repr.
   2016-08-24 12:48:47 by Thomas Klausner | Files touched by this commit (2)
Log message:
Updated py-betamax to 0.8.0.

0.8.0 - 2016-08-16
------------------

- Add ``betamax_parametrized_recorder`` and ``betamax_parametrized_session``
  to our list of pytest fixtures so that users will have parametrized cassette
  names when writing parametrized tests with our fixtures. (I wonder if I can
  mention parametrization a bunch more times so I can say parametrize a lot in
  this bullet note.)
- Add ``ValidationError`` and a set of subclasses for each possible validation
  error.
- Raise ``InvalidOption`` on unknown cassette options rather than silently
  ignoring extra options.
- Raise a subclass of ``ValidationError`` when a particular cassette option is
  invalid, rather than silently ignoring the validation failure.