We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c6a7f4a + ab8944d commit ce27c63Copy full SHA for ce27c63
.github/workflows/main.yml
@@ -16,24 +16,18 @@ jobs:
16
fail-fast: false
17
matrix:
18
python-version:
19
- - "3.8"
20
- "3.9"
21
- "3.10"
22
- "3.11"
23
- "3.12"
24
- "3.13"
25
- - "pypy-3.8"
26
- "pypy-3.9"
27
- "pypy-3.10"
28
urllib3-requirement:
29
- "urllib3>=2"
30
- "urllib3<2"
31
32
exclude:
33
- - python-version: "3.8"
34
- urllib3-requirement: "urllib3>=2"
35
- - python-version: "pypy-3.8"
36
37
- python-version: "3.9"
38
urllib3-requirement: "urllib3>=2"
39
- python-version: "pypy-3.9"
docs/installation.rst
@@ -9,7 +9,7 @@ with pip::
9
Compatibility
10
-------------
11
12
-VCR.py supports Python 3.8+, and `pypy <http://pypy.org>`__.
+VCR.py supports Python 3.9+, and `pypy <http://pypy.org>`__.
13
14
The following HTTP libraries are supported:
15
pyproject.toml
@@ -30,7 +30,7 @@ select = [
"W", # pycodestyle warning
]
line-length = 110
-target-version = "py38"
+target-version = "py39"
[tool.ruff.isort]
known-first-party = ["vcr"]
setup.py
@@ -78,7 +78,7 @@ def find_version(*file_paths):
78
author_email="[email protected]",
79
url="https://github.com/kevin1024/vcrpy",
80
packages=find_packages(exclude=["tests*"]),
81
- python_requires=">=3.8",
+ python_requires=">=3.9",
82
install_requires=install_requires,
83
license="MIT",
84
extras_require=extras_require,
@@ -89,11 +89,11 @@ def find_version(*file_paths):
89
"Intended Audience :: Developers",
90
"Programming Language :: Python",
91
"Programming Language :: Python :: 3",
92
- "Programming Language :: Python :: 3.8",
93
"Programming Language :: Python :: 3.9",
94
"Programming Language :: Python :: 3.10",
95
"Programming Language :: Python :: 3.11",
96
"Programming Language :: Python :: 3.12",
+ "Programming Language :: Python :: 3.13",
97
"Programming Language :: Python :: 3 :: Only",
98
"Programming Language :: Python :: Implementation :: CPython",
99
"Programming Language :: Python :: Implementation :: PyPy",
vcr/matchers.py
@@ -3,11 +3,10 @@
3
import urllib
4
import xmlrpc.client
5
from string import hexdigits
6
-from typing import List, Set
7
8
from .util import read_body
-_HEXDIG_CODE_POINTS: Set[int] = {ord(s.encode("ascii")) for s in hexdigits}
+_HEXDIG_CODE_POINTS: set[int] = {ord(s.encode("ascii")) for s in hexdigits}
log = logging.getLogger(__name__)
@@ -109,7 +108,7 @@ def _dechunk(body):
109
108
CHUNK_GAP = b"\r\n"
110
BODY_LEN: int = len(body)
111
112
- chunks: List[bytes] = []
+ chunks: list[bytes] = []
113
pos: int = 0
114
115
while True:
vcr/stubs/aiohttp_stubs.py
@@ -4,8 +4,9 @@
import functools
import json
import logging
+from collections.abc import Mapping
from http.cookies import CookieError, Morsel, SimpleCookie
-from typing import Mapping, Union
+from typing import Union
from aiohttp import ClientConnectionError, ClientResponse, CookieJar, RequestInfo, hdrs, streams
from aiohttp.helpers import strip_auth_from_url
0 commit comments