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 d99593b + b827cbe commit ad1010dCopy full SHA for ad1010d
.github/workflows/main.yml
@@ -13,7 +13,7 @@ jobs:
13
strategy:
14
fail-fast: false
15
matrix:
16
- python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "pypy-3.8"]
+ python-version: ["3.8", "3.9", "3.10", "3.11", "pypy-3.8"]
17
18
steps:
19
- uses: actions/[email protected]
docs/conf.py
@@ -1,4 +1,3 @@
1
-# -*- coding: utf-8 -*-
2
#
3
# vcrpy documentation build configuration file, created by
4
# sphinx-quickstart on Sun Sep 13 11:18:00 2015.
docs/contributing.rst
@@ -96,11 +96,11 @@ The test suite is pretty big and slow, but you can tell tox to only run specific
96
97
tox -e {pyNN}-{HTTP_LIBRARY} -- <pytest flags passed through>
98
99
- tox -e py37-requests -- -v -k "'test_status_code or test_gzip'"
100
- tox -e py37-requests -- -v --last-failed
+ tox -e py38-requests -- -v -k "'test_status_code or test_gzip'"
+ tox -e py38-requests -- -v --last-failed
101
102
This will run only tests that look like ``test_status_code`` or
103
-``test_gzip`` in the test suite, and only in the python 3.7 environment
+``test_gzip`` in the test suite, and only in the python 3.8 environment
104
that has ``requests`` installed.
105
106
Also, in order for the boto tests to run, you will need an AWS key.
@@ -130,17 +130,17 @@ in this example::
130
pip3 install tox tox-pyenv
131
132
# Install supported versions (at time of writing), this does not activate them
133
- pyenv install 3.7.5 3.8.0 pypy3.8
+ pyenv install 3.8.0 pypy3.8
134
135
# This activates them
136
- pyenv local 3.7.5 3.8.0 pypy3.8
+ pyenv local 3.8.0 pypy3.8
137
138
# Run the whole test suite
139
tox
140
141
# Run the whole test suite or just part of it
142
tox -e lint
143
- tox -e py37-requests
+ tox -e py38-requests
144
145
146
Troubleshooting on MacOSX
docs/installation.rst
@@ -9,7 +9,7 @@ with pip::
9
Compatibility
10
-------------
11
12
-VCR.py supports Python 3.7+, and `pypy <http://pypy.org>`__.
+VCR.py supports Python 3.8+, and `pypy <http://pypy.org>`__.
The following HTTP libraries are supported:
setup.py
@@ -8,7 +8,7 @@
8
from setuptools import find_packages, setup
from setuptools.command.test import test as TestCommand
-long_description = open("README.rst", "r").read()
+long_description = open("README.rst").read()
here = os.path.abspath(os.path.dirname(__file__))
@@ -85,7 +85,7 @@ def run_tests(self):
85
author_email="[email protected]",
86
url="https://github.com/kevin1024/vcrpy",
87
packages=find_packages(exclude=["tests*"]),
88
- python_requires=">=3.7",
+ python_requires=">=3.8",
89
install_requires=install_requires,
90
license="MIT",
91
tests_require=tests_require,
@@ -95,7 +95,6 @@ def run_tests(self):
95
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
- "Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
tests/integration/test_aiohttp.py
@@ -151,7 +151,7 @@ def test_post(tmpdir, body, caplog, mockbin_request_url):
151
(
152
log
153
for log in caplog.records
154
- if log.getMessage() == "<Request (POST) {}> not in cassette, sending to real server".format(url)
+ if log.getMessage() == f"<Request (POST) {url}> not in cassette, sending to real server"
155
),
156
None,
157
), "Log message not found."
tests/integration/test_basic.py
"""Basic tests for cassettes"""
# External imports
tests/integration/test_boto3.py
@@ -20,12 +20,12 @@
20
# https://github.com/boto/botocore/pull/1495
21
boto3_skip_vendored_requests = pytest.mark.skipif(
22
botocore_awsrequest,
23
- reason="botocore version {ver} does not use vendored requests anymore.".format(ver=botocore.__version__),
+ reason=f"botocore version {botocore.__version__} does not use vendored requests anymore.",
24
)
25
26
boto3_skip_awsrequest = pytest.mark.skipif(
27
not botocore_awsrequest,
28
- reason="botocore version {ver} still uses vendored requests.".format(ver=botocore.__version__),
+ reason=f"botocore version {botocore.__version__} still uses vendored requests.",
29
30
31
IAM_USER_NAME = "vcrpy"
tests/integration/test_disksaver.py
"""Basic tests about save behavior"""
tests/integration/test_httplib2.py
"""Integration tests with httplib2"""
from urllib.parse import urlencode
0 commit comments