Thomas Grainger
f76289aa78
Merge pull request #811 from kevin1024/graingert-patch-1
...
return values from generator decorator
2024-01-24 13:22:32 +00:00
Thomas Grainger
6252b92f50
add test for generator decorator return
2024-01-23 17:29:35 +00:00
Kevin McCarthy
1e3a5ac753
Release v6.0.0
v6.0.0
2024-01-23 10:54:46 -05:00
Thomas Grainger
b1c45cd249
return values from generator decorator
2024-01-23 15:07:23 +00:00
Thomas Grainger
3a5ff1c1ce
Merge pull request #810 from graingert/fix-tornado-related-deprecation-warnings
...
fix tornado related warnings by replacing pytest-tornado with a simple coroutine runner
2024-01-23 14:02:31 +00:00
Thomas Grainger
bf80673454
fix tornado related warnings
2024-01-23 13:02:29 +00:00
Thomas Grainger
8028420cbb
Merge pull request #801 from graingert/fix-resource-warning-2
2024-01-23 12:39:35 +00:00
Thomas Grainger
784b2dcb29
tornado test_redirects is no longer an online test
2024-01-23 12:33:45 +00:00
Thomas Grainger
42b4a5d2fa
move off of mockbin on tornado tests also
2024-01-23 12:33:15 +00:00
Thomas Grainger
b7f6c2fce2
mark tornado tests as online
2024-01-23 12:24:48 +00:00
Thomas Grainger
6d7a842a33
fix test_tornado_exception_can_be_caught RuntimeError: generator raised StopIteration
2024-01-23 12:24:48 +00:00
Thomas Grainger
db1f5b0dee
tornado 6 changes raise_error behaviour
2024-01-23 12:12:52 +00:00
Thomas Grainger
c6667ac56c
restore scheme fixture for tests
2024-01-23 12:12:05 +00:00
Thomas Grainger
a093fb177d
add new deprecation warnings for tornado tests
2024-01-23 12:09:39 +00:00
Thomas Grainger
666686b542
restore pytest-tornado
2024-01-23 11:12:02 +00:00
Thomas Grainger
5104b1f462
Merge branch 'master' of github.com:kevin1024/vcrpy into fix-resource-warning-2
2024-01-23 11:03:49 +00:00
Jair Henrique
62fe272a8e
Remove tox reference from contributing docs
2024-01-22 23:17:25 -03:00
Jair Henrique
f9b69d8da7
Remove tox reference from runtests.sh file
2024-01-22 23:17:25 -03:00
Jair Henrique
cb77cb8f69
Remove tox.ini file
2024-01-22 23:17:25 -03:00
Jair Henrique
e37fc9ab6e
Refactor ci main workflow to use matrix to run tests without tox
2024-01-22 23:17:25 -03:00
Jair Henrique
abbb50135f
Organize dependencies for tests and extras requires
2024-01-22 23:17:25 -03:00
Jair Henrique
0594de9b3e
Remove tox.ini from MANIFEST.in file
2024-01-22 23:17:25 -03:00
Jair Henrique
53f686aa5b
Refactor test to not use tox.ini file
2024-01-22 23:17:25 -03:00
pre-commit
1677154f04
pre-commit: Autoupdate
2024-01-22 23:14:05 -03:00
Allan Crooks
54bc6467eb
Run linters.
2024-01-22 23:13:10 -03:00
Allan Crooks
c5487384ee
Fix handling of encoded content in HTTPX stub.
...
Also copied over and adjusted some of the tests from
test_requests.py relating to gzipped handling to show
that the HTTPX stub is behaving in a consistent way to
how the requests stub is.
2024-01-22 23:13:10 -03:00
Allan Crooks
5cf23298ac
HTTPX stub now generates cassettes in the same format as other stubs.
...
As part of this, I've removed the tests which inspect the
data type of the response content in the cassette. That
behaviour should be controlled via the inbuilt serializers.
2024-01-22 23:13:10 -03:00
Allan Crooks
5fa7010712
Allow HTTPX stub to read cassettes generated by other stubs.
...
This was due to a custom format being defined in the HTTPX stub.
2024-01-22 23:13:10 -03:00
pre-commit
f1e0241673
pre-commit: Autoupdate
2024-01-05 16:36:48 -03:00
pre-commit
a3a255d606
pre-commit: Autoupdate
2024-01-02 10:58:59 -03:00
dependabot[bot]
0782382982
build(deps): bump actions/checkout from 3 to 4
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-18 12:16:06 -03:00
dependabot[bot]
395d2be295
build(deps): bump actions/setup-python from 4 to 5
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-18 11:08:49 -03:00
Thomas Grainger
ee6e7905e9
Merge branch 'master' into fix-resource-warning-2
2023-12-15 19:13:39 +00:00
Thomas Grainger
cc4d03c62e
close unremoved connections (pool already removed the connection)
2023-12-15 19:11:25 +00:00
Thomas Grainger
8e13af2ee9
use context manager for requests.Session
2023-12-15 18:38:56 +00:00
pre-commit
b522d3f0a3
pre-commit: Autoupdate
2023-12-15 14:46:28 -03:00
Thomas Grainger
d39c26b358
remember to close removed connections
2023-12-15 14:26:44 +00:00
Thomas Grainger
d76c243513
Revert "Fix ResourceWarning unclosed socket"
...
This reverts commit f4144359f6 .
2023-12-15 14:01:14 +00:00
Thomas Grainger
5cff354ec8
Revert "fix a KeyError"
...
This reverts commit fa789e975b .
2023-12-15 14:01:10 +00:00
Thomas Grainger
80614dbd00
fix resource warning due to pytest-asyncio
2023-12-15 13:51:52 +00:00
Thomas Grainger
356ff4122c
fix sync do_request().stream
2023-12-15 13:40:06 +00:00
Thomas Grainger
cf765928ac
remove redundant contextlib import
2023-12-15 13:35:31 +00:00
Thomas Grainger
73d11e80eb
fix httpx resource warnings
2023-12-15 13:34:52 +00:00
Thomas Grainger
97de8a0fce
ignore warning from dateutil
2023-12-15 13:09:13 +00:00
Thomas Grainger
895ae205ca
use asyncio.run to run coroutines
2023-12-15 11:39:51 +00:00
Thomas Grainger
f075c8b0b4
close aiohttp session on errors
2023-12-15 11:39:16 +00:00
Thomas Grainger
3919cb2573
remember to close the VCRHTTPSConnection
2023-12-15 11:08:49 +00:00
Thomas Grainger
bddec2e62a
use socketserver.ThreadingTCPServer as a contextmanager
2023-12-15 11:08:31 +00:00
Thomas Grainger
fa789e975b
fix a KeyError
2023-12-15 11:07:56 +00:00
Thomas Grainger
556fd0166c
enable filterwarnings=error
2023-12-15 11:07:40 +00:00