hydrosquall / tiingo-python

Python client for interacting with the Tiingo Financial Data API (stock ticker and news data)
https://pypi.org/project/tiingo/
MIT License
243 stars 51 forks source link

Update vcrpy to 6.0.0 #935

Closed pyup-bot closed 6 months ago

pyup-bot commented 6 months ago

This PR updates vcrpy from 2.1.1 to 6.0.0.

Changelog ### 6.0.0 ``` - **BREAKING**: Fix issue with httpx support (thanks parkerhancock) in 784. NOTE: You may have to recreate some of your cassettes produced in previous releases due to the binary format being saved incorrectly in previous releases - **BREAKING**: Drop support for `boto` (vcrpy still supports boto3, but is dropping the deprecated `boto` support in this release. (thanks jairhenrique) - Fix compatibility issue with Python 3.12 (thanks hartwork) - Drop simplejson (fixes some compatibility issues) (thanks jairhenrique) - Run CI on Python 3.12 and PyPy 3.9-3.10 (thanks mgorny) - Various linting and docs improvements (thanks jairhenrique) - Tornado fixes (thanks graingert) ``` ### 5.1.0 ``` - Use ruff for linting (instead of current flake8/isort/pyflakes) - thanks jairhenrique - Enable rule B (flake8-bugbear) on ruff - thanks jairhenrique - Configure read the docs V2 - thanks jairhenrique - Fix typo in docs - thanks quasimik - Make json.loads of Python >=3.6 decode bytes by itself - thanks hartwork - Fix body matcher for chunked requests (fixes 734) - thanks hartwork - Fix query param filter for aiohttp (fixes 517) - thanks hartwork and salomvary - Remove unnecessary dependency on six. - thanks charettes - build(deps): update sphinx requirement from <7 to <8 - thanks jairhenrique - Add action to validate docs - thanks jairhenrique - Add editorconfig file - thanks jairhenrique - Drop iscoroutinefunction fallback function for unsupported python thanks jairhenrique ``` ### 5.0.0 ``` - BREAKING CHANGE: Drop support for Python 3.7. 3.7 is EOL as of 6/27/23 Thanks jairhenrique - BREAKING CHANGE: Custom Cassette persisters no longer catch ValueError. If you have implemented a custom persister (has anyone implemented a custom persister? Let us know!) then you will need to throw a CassetteNotFoundError when unable to find a cassette. See 681 for discussion and reason for this change. Thanks amosjyng for the PR and the review from hartwork ``` ### 4.4.0 ``` - HUGE thanks to hartwork for all the work done on this release! - Bring vcr/unittest in to vcrpy as a full feature of vcr instead of a separate library. Big thanks to hartwork for doing this and to agriffis for originally creating the library - Make decompression robust towards already decompressed input (thanks hartwork) - Bugfix: Add read1 method (fixes compatibilitywith biopython), thanks mghantous - Bugfix: Prevent filters from corrupting request (thanks abramclark) - Bugfix: Add support for `response.raw.stream()` to fix urllib v2 compat - Bugfix: Replace `assert` with `raise AssertionError`: fixes support for `PYTHONOPTIMIZE=1` - Add pytest.mark.online to run test suite offline, thanks jspricke - use python3 and pip3 binaries to ease debian packaging (thanks hartwork) - Add codespell (thanks mghantous) ``` ### 4.3.1 ``` Support urllib3 v1 and v2. NOTE: there is an issue running urllib3 v2 on Python older than 3.10, so this is currently blocked in the requirements. Hopefully we can resolve this situation in the future. Thanks to shifqu, hartwork, jairhenrique, pquentin, and vEpiphyte for your work on this. ``` ### 4.3.0 ``` * Add support for Python 3.11 (Thanks evgeni) * Drop support for botocore <1.11.0 and requests <2.16.2 (thanks hartwork) * Bugfix: decode_compressed_response raises exception on empty responses. Thanks CharString * Don't save requests from decorated tests if decorated test fails (thanks dan-passaro) * Fix not calling all the exit stack when record_on_exception is False (thanks Terseus) * Various CI, documentation, testing, and formatting improvements (Thanks jairhenrique, dan-passaro, hartwork, and Terseus) ``` ### 4.2.1 ``` - Fix a bug where the first request in a redirect chain was not being recorded with aiohttp - Various typos and small fixes, thanks jairhenrique, timgates42 ``` ### 4.2.0 ``` * Drop support for python < 3.7, thanks jairhenrique, IvanMalison, AthulMuralidhar * Various aiohttp bigfixes (thanks pauloromeira and boechat107) * Bugfix: filter_post_data_parameters not working with aiohttp. Thank you vprakashplanview, scop, jairhenrique, and cinemascop89 * Bugfix: Some random misspellings (thanks scop) * Migrate the CI suite to Github Actions from Travis (thanks jairhenrique and cclauss) * Various documentation and code misspelling fixes (thanks scop and Justintime50) * Bugfix: httpx support (select between allow_redirects/follow_redirects) (thanks immerrr) ``` ### 4.1.1 ``` * Fix HTTPX support for versions greater than 0.15 (thanks jairhenrique) * Include a trailing newline on json cassettes (thanks AaronRobson) ``` ### 4.1.0 ``` - 4.1.0 - Add support for httpx!! (thanks herdigiorgi) - Add the new `allow_playback_repeats` option (thanks tysonholub) - Several aiohttp improvements (cookie support, multiple headers with same key) (Thanks pauloromeira) - Use enums for record modes (thanks aaronbannin) - Bugfix: Do not redirect on 304 in aiohttp (Thanks royjs) - Bugfix: Fix test suite by switching to mockbin (thanks jairhenrique) ``` ### 4.0.2 ``` * Correct mock imports. Fixes 504 * Remove move dependency that was masking error from tox.ini ``` ### 4.0.1 ``` Fix logo alignment for PyPI release ``` ### 4.0.0 ``` - Remove Python2 support (hugovk) - Add Python 3.8 TravisCI support (neozenith) - Updated the logo to a modern material design (sean0x42) ``` ### 3.0.0 ``` - **This release is a breaking change** as it changes how `aiohttp` follows redirects and your cassettes may need to be re-recorded with this update. - Fix multiple requests being replayed per single request in `aiohttp` stub 495 (nickdirienzo) - Add support for request_info on mocked responses in `aiohttp` stub 495 (nickdirienzo) - doc: fixed variable name (a -> cass) in an example for rewind 492 (yarikoptic) ```
Links - PyPI: https://pypi.org/project/vcrpy - Changelog: https://data.safetycli.com/changelogs/vcrpy/ - Repo: https://github.com/kevin1024/vcrpy
codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (37ebcbd) 80.95% compared to head (748a0a3) 80.95%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #935 +/- ## ======================================= Coverage 80.95% 80.95% ======================================= Files 6 6 Lines 294 294 ======================================= Hits 238 238 Misses 56 56 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

pyup-bot commented 6 months ago

Closing this in favor of #937