pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/py-vcrpy
Module Name: pkgsrc
Committed By: adam
Date: Sun Nov 1 10:23:18 UTC 2026
Modified Files:
pkgsrc/www/py-vcrpy: Makefile distinfo
Log Message:
py-vcrpy: updated to 9.4.0
9.4.0
SOCKS proxies
Requests made through SOCKS proxies with requests and urllib3 (socks5:// and socks5h://, with PySocks installed) are now recorded and played back. urllib3 uses its own connection classes for them,
which vcrpy didn't patch, so these requests skipped the cassette entirely
Multipart form filtering
filter_post_data_parameters now filters the fields of multipart/form-data request bodies, e.g. requests.post(url, data={"api_key": ...}, files=...). Before, it treated them as urlencoded forms and
didn't find their fields, so their values were recorded
If you match on body: requests are filtered before they're matched, so cassettes recorded with unfiltered multipart bodies need re-recording.
Fixes
Fix requests escaping a cassette, e.g. a write-protected one not raising CannotOverwriteExistingCassetteException, when a vcr.patch.force_reset() window opened elsewhere is closed late by the garbage
collector while the cassette is in use
Fix AttributeError: 'str' object has no attribute 'get_all' when requests builds a response from a urllib.request response, e.g. with HTTPAdapter.build_response()
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/www/py-vcrpy/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/www/py-vcrpy/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/py-vcrpy/Makefile
diff -u pkgsrc/www/py-vcrpy/Makefile:1.12 pkgsrc/www/py-vcrpy/Makefile:1.13
--- pkgsrc/www/py-vcrpy/Makefile:1.12 Mon Oct 26 16:22:51 2026
+++ pkgsrc/www/py-vcrpy/Makefile Sun Nov 1 10:23:18 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2026/10/26 16:22:51 adam Exp $
+# $NetBSD: Makefile,v 1.13 2026/11/01 10:23:18 adam Exp $
-DISTNAME= vcrpy-9.2.0
+DISTNAME= vcrpy-9.4.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www devel
MASTER_SITES= ${MASTER_SITE_PYPI:=v/vcrpy/}
Index: pkgsrc/www/py-vcrpy/distinfo
diff -u pkgsrc/www/py-vcrpy/distinfo:1.6 pkgsrc/www/py-vcrpy/distinfo:1.7
--- pkgsrc/www/py-vcrpy/distinfo:1.6 Mon Oct 26 16:22:51 2026
+++ pkgsrc/www/py-vcrpy/distinfo Sun Nov 1 10:23:18 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.6 2026/10/26 16:22:51 adam Exp $
+$NetBSD: distinfo,v 1.7 2026/11/01 10:23:18 adam Exp $
-BLAKE2s (vcrpy-9.2.0.tar.gz) = 43b67dc0309b8b4252258a20434d02004dda932df4e8eb439196a576aecccf59
-SHA512 (vcrpy-9.2.0.tar.gz) = 19dada23fa81d06373e25346b93e921408d6f83ad47c85f17aa9722e044660789ac980249787253f43aa095afd383e40c7ad6fa7206facf9985fad469bdeea2b
-Size (vcrpy-9.2.0.tar.gz) = 113323 bytes
+BLAKE2s (vcrpy-9.4.0.tar.gz) = d4c83656e59075b90015d6d2e4d5668b35f0dc5353af46716f34baa503f78bdf
+SHA512 (vcrpy-9.4.0.tar.gz) = 2a3788ebd4e0831e71e4af56a02ec0e38315a520827f02809319fab08982c4f777278773f73075876df7e344c0e3b03f9dfc04047d953d60362f0e89541fc7bb
+Size (vcrpy-9.4.0.tar.gz) = 122146 bytes
Home |
Main Index |
Thread Index |
Old Index