dependabot[bot]
92dd4d00f7
build(deps): update sphinx requirement from <7 to <8
...
Updates the requirements on [sphinx](https://github.com/sphinx-doc/sphinx ) to permit the latest version.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases )
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/master/CHANGES )
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v0.1.61611...v7.0.1 )
---
updated-dependencies:
- dependency-name: sphinx
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-23 18:19:26 -03:00
Jair Henrique
cf3ffcad61
Create action to validate docs
2023-07-23 18:09:49 -03:00
Jair Henrique
3ad462e766
Drop dependabot duplicity check
2023-07-23 18:09:49 -03:00
Jair Henrique
cdab3fcb30
Drop iscoroutinefunction fallback function for unsupported python
2023-07-23 12:30:58 -03:00
Jair Henrique
d3a5f4dd6c
Add editorconfig file
2023-07-23 12:03:42 -03:00
Jair Henrique
75c8607fd2
Fix read the docs build
2023-07-20 13:17:15 -03:00
Jair Henrique
8c075c7fb3
Configure read the docs V2
2023-07-20 13:10:07 -03:00
Sebastian Pipping
a045a46bb4
Merge pull request #740 from kevin1024/issue-512-fix-query-param-filter-for-aiohttp
...
Fix query param filter for aiohttp (fixes #517 )
2023-07-19 15:37:54 +02:00
Sebastian Pipping
1d979b078d
Merge pull request #743 from charettes/remove-six
...
Remove unnecessary dependency on six.
2023-07-18 23:11:31 +02:00
Simon Charette
f7d76bd40a
Remove unnecessary dependency on six.
...
Remove the last remaining usag of it in VCR.testcase.
2023-07-16 22:22:34 -04:00
Sebastian Pipping
7e11cfc9e4
Merge pull request #738 from kevin1024/json-loads-py36-plus
...
Make `json.loads` of Python >=3.6 decode bytes by itself
2023-07-11 17:30:39 +02:00
Sebastian Pipping
c95b7264a2
Merge pull request #735 from quasimik/patch-1
...
Fix typo in docs
2023-07-10 18:52:30 +02:00
Sebastian Pipping
8ab8e63e04
test_filter.py: Make test_filter_querystring meaner
2023-07-10 16:34:09 +02:00
Sebastian Pipping
d2c1da9ab7
test_aiohttp.py: Cover filter_query_parameters with aiohttp
2023-07-10 16:34:08 +02:00
Sebastian Pipping
8336d66976
aiohttp_stubs.py: Stop leaking unfiltered URL into cassette responses
2023-07-10 16:11:26 +02:00
Sebastian Pipping
e69b10c2e0
test_matchers.py: Briefly cover chunked transfer encoding
2023-07-08 02:25:51 +02:00
Sebastian Pipping
a6b9a070a5
matchers.py: Decode chunked request bodies
2023-07-08 02:25:51 +02:00
Sebastian Pipping
e35205c5c8
matchers.py: Support transforming the request body multiple times
2023-07-08 01:29:19 +02:00
Sebastian Pipping
05f61ea56c
Make json.loads of Python >=3.6 decode bytes by itself
...
Quoting https://docs.python.org/3/library/json.html#json.loads :
> Changed in version 3.6: s can now be of type bytes or bytearray.
> The input encoding should be UTF-8, UTF-16 or UTF-32.
2023-07-07 20:00:57 +02:00
Michael Liu
943cabb14f
docs/advanced.rst: fix typo
2023-07-04 16:45:49 +08:00
Jair Henrique
4f70152e7c
Enable rule B (flake8-bugbear) on ruff
2023-06-27 17:36:26 -03:00
Jair Henrique
016a394f2c
Enable E, W and F linters for ruff
2023-06-26 20:46:09 -03:00
Jair Henrique
6b2fc182c3
Improve string format
2023-06-26 20:46:09 -03:00
Jair Henrique
a77173c002
Use ruff as linter
2023-06-26 20:46:09 -03:00
Kevin McCarthy
34d5384318
bump version to v5.0.0
v5.0.0
2023-06-26 12:54:39 -05:00
Sebastian Pipping
ad1010d0f8
Merge pull request #695 from kevin1024/drop37
...
Drop support for Python 3.7 (after 2023-06-27)
2023-06-26 18:32:42 +02:00
Amos Ng
d99593bcd3
Split persister errors into CassetteNotFoundError and CassetteDecodeError ( #681 )
2023-06-26 18:27:35 +02:00
Sebastian Pipping
8c03c37df4
Merge pull request #725 from kevin1024/make-assert-is-json-less-misleading
...
assertions.py: Fix mis-leading `assert_is_json`
2023-06-26 17:43:28 +02:00
Jair Henrique
b827cbe2da
Drop support to python 3.7
2023-06-26 11:46:20 -03:00
Kevin McCarthy
92ca5a102c
fix misspelled word
2023-06-26 09:22:16 -05:00
Kevin McCarthy
d2281ab646
version bump to v4.4.0
v4.4.0
2023-06-26 09:17:41 -05:00
Sebastian Pipping
f21c8f0224
assertions.py: Fix mis-leading assert_is_json
...
Parameter name "a_string" was mistaken and function
name "assert_is_json" was less clear than ideal,
given that it explicitly needs bytes unlike json.loads .
2023-06-24 15:59:23 +02:00
Sebastian Pipping
8b97fd6551
Merge pull request #644 from neliseiska/replace_assert_with_raise
...
Replace `assert` with `raise AssertionError`
2023-06-22 22:29:13 +02:00
Sebastian Pipping
29e42211d7
Merge pull request #722 from kevin1024/run-online-tests-only-once
...
main.yml: Run online tests only once (to save runtime)
2023-06-22 15:46:04 +02:00
Sebastian Pipping
6e511b67fd
Merge pull request #723 from kevin1024/issue-719-compression-urllib3-v2
...
Make decompression robust towards already decompressed input (arguably fixes #719 )
2023-06-22 15:45:10 +02:00
Sebastian Pipping
9b6cb1ce23
Merge pull request #721 from kevin1024/issue-714-response-raw-stream-urllib3-v2
...
Make response.raw.stream() work for urllib3 v2 (fixes #714 )
2023-06-22 15:44:29 +02:00
Sebastian Pipping
6a12bd1511
test_requests.py: Cover response.raw.stream()
2023-06-21 14:52:13 +02:00
Sebastian Pipping
3411bedc06
Make response.raw.stream() work for urllib3 v2
2023-06-21 14:52:13 +02:00
Sebastian Pipping
438a65426b
filters.py: Make decompression robust towards decompressed input
2023-06-21 02:28:36 +02:00
Sebastian Pipping
8c6b1fdf38
test_requests.py: Extend coverage of gzip response
...
.. with regard to:
- not crashing with decode_compressed_response==True
- expected cassette content for body string
- expected response content, i.e. proper decompression
2023-06-21 02:28:36 +02:00
Sebastian Pipping
15e9f1868c
main.yml: Run online tests only once
...
Online tests are tests that need access to the Internet
to pass (and hence have @pytest.marker.online decoration).
2023-06-21 00:38:58 +02:00
Sebastian Pipping
7eb235cd9c
Merge pull request #720 from kevin1024/use-python3-command
...
Use python3 (and pip3) command
2023-06-19 15:07:23 +02:00
Sebastian Pipping
d2f2731481
Replace command "pip" with "pip3"
2023-06-18 23:08:17 +02:00
Sebastian Pipping
b2a895cb89
Replace command "python" by "python3"
2023-06-18 23:07:04 +02:00
Sebastian Pipping
ffb2f44236
Merge pull request #718 from kevin1024/enforce-online-marker-completeness
...
Make CI enforce that all online tests are marked with @pytest.mark.online
2023-06-18 23:03:48 +02:00
Sebastian Pipping
d66392a3fb
main.yml: Enforce that use of @pytest.mark.online remains complete
2023-06-18 21:33:30 +02:00
Sebastian Pipping
b9cab239a7
runtests.sh: Fix variable quoting + add exec
2023-06-18 17:40:49 +02:00
Sebastian Pipping
276a41d9b6
Merge pull request #674 from jspricke/pytest.mark.online
...
Mark tests with @pytest.mark.online that need access to the Internet
2023-06-18 17:34:16 +02:00
Jochen Sprickerhof
7007e944ae
pytest.mark.online tests that need internet
2023-06-18 16:52:51 +02:00
Sebastian Pipping
bd112a2385
docs/usage.rst: Fix assertions
...
Symptom was:
> Traceback (most recent call last):
> File "/tmp/tmp.kJAKlLngAX/foo.py", line 6, in <module>
> assert 'Example domains' in response
> TypeError: a bytes-like object is required, not 'str'
2023-06-18 11:14:44 -03:00