10000 chore(deps): update dependency coverage to v5 (#3207) · gargravish/python-docs-samples@af56545 · GitHub
[go: up one dir, main page]

Skip to content

Commit af56545

Browse files
authored
chore(deps): update dependency coverage to v5 (GoogleCloudPlatform#3207)
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [coverage](https://togithub.com/nedbat/coveragepy) | major | `==4.5.4` -> `==5.0.4` | --- ### Release Notes <details> <summary>nedbat/coveragepy</summary> ### [`v5.0.4`](https://togithub.com/nedbat/coveragepy/blob/master/CHANGES.rst#Version-504-----2020-03-16) [Compare Source](https://togithub.com/nedbat/coveragepy/compare/coverage-5.0.3...coverage-5.0.4) - If using the `[run] relative_files` setting, the XML report will use relative files in the `<source>` elements indicating the location of source code. Closes `issue 948`\_. - The textual summary report could report missing lines with negative line numbers on PyPy3 7.1 (`issue 943`\_). This is now fixed. - Windows wheels for Python 3.8 were incorrectly built, but are now fixed. (`issue 949`\_) - Updated Python 3.9 support to 3.9a4. - HTML reports couldn't be sorted if localStorage wasn't available. This is now fixed: sorting works even though the sorting setting isn't retained. (`issue 944`_ and `pull request 945`_). Thanks, Abdeali Kothari. .. \_issue 943: [#&GoogleCloudPlatform#8203;943](https://togithub.com/nedbat/coveragepy/issues/943) .. \_issue 944: [#&GoogleCloudPlatform#8203;944](https://togithub.com/nedbat/coveragepy/issues/944) .. \_pull request 945: [#&GoogleCloudPlatform#8203;945](https://togithub.com/nedbat/coveragepy/pull/945) .. \_issue 948: [#&GoogleCloudPlatform#8203;948](https://togithub.com/nedbat/coveragepy/issues/948) .. \_issue 949: [#&GoogleCloudPlatform#8203;949](https://togithub.com/nedbat/coveragepy/issues/949) .. \_changes_503: ### [`v5.0.3`](https://togithub.com/nedbat/coveragepy/blob/master/CHANGES.rst#Version-503-----2020-01-12) [Compare Source](https://togithub.com/nedbat/coveragepy/compare/coverage-5.0.2...coverage-5.0.3) - A performance improvement in 5.0.2 didn't work for test suites that changed directory before combining data, causing "Couldn't use data file: no such table: meta" errors (`issue 916`\_). This is now fixed. - Coverage could fail to run your program with some form of "ModuleNotFound" or "ImportError" trying to import from the current directory. This would happen if coverage had been packaged into a zip file (for example, on Windows), or was found indirectly (for example, by pyenv-virtualenv). A number of different scenarios were described in `issue 862`\_ which is now fixed. Huge thanks to Agbonze O. Jeremiah for reporting it, and Alexander Waters and George-Cristian Bîrzan for protracted debugging sessions. - Added the "premain" debug option. - Added SQLite compile-time options to the "debug sys" output. .. \_issue 862: [#&GoogleCloudPlatform#8203;862](https://togithub.com/nedbat/coveragepy/issues/862) .. \_issue 916: [#&GoogleCloudPlatform#8203;916](https://togithub.com/nedbat/coveragepy/issues/916) .. \_changes_502: ### [`v5.0.2`](https://togithub.com/nedbat/coveragepy/blob/master/CHANGES.rst#Version-502-----2020-01-05) [Compare Source](https://togithub.com/nedbat/coveragepy/compare/coverage-5.0.1...coverage-5.0.2) - Programs that used multiprocessing and changed directories would fail under coverage. This is now fixed (`issue 890`\_). A side effect is that debug information about the config files read now shows absolute paths to the files. - When running programs as modules (`coverage run -m`) with `--source`, some measured modules were imported before coverage starts. This resulted in unwanted warnings ("Already imported a file that will be measured") and a reduction in coverage totals (`issue 909`\_). This is now fixed. - If no data was collected, an exception about "No data to report" could happen instead of a 0% report being created (`issue 884`\_). This is now fixed. - The handling of source files with non-encodable file names has changed. Previously, if a file name could not be encoded as UTF-8, an error occurred, as described in `issue 891`\_. Now, those files will not be measured, since their data would not be recordable. - A new warning ("dynamic-conflict") is issued if two mechanisms are trying to change the dynamic context. Closes `issue 901`\_. - `coverage run --debug=sys` would fail with an AttributeError. This is now fixed (`issue 907`\_). .. \_issue 884: [#&GoogleCloudPlatform#8203;884](https://togithub.com/nedbat/coveragepy/issues/884) .. \_issue 890: [#&GoogleCloudPlatform#8203;890](https://togithub.com/nedbat/coveragepy/issues/890) .. \_issue 891: [#&GoogleCloudPlatform#8203;891](https://togithub.com/nedbat/coveragepy/issues/891) .. \_issue 901: [#&GoogleCloudPlatform#8203;901](https://togithub.com/nedbat/coveragepy/issues/901) .. \_issue 907: [#&GoogleCloudPlatform#8203;907](https://togithub.com/nedbat/coveragepy/issues/907) .. \_issue 909: [#&GoogleCloudPlatform#8203;909](https://togithub.com/nedbat/coveragepy/issues/909) .. \_changes_501: ### [`v5.0.1`](https://togithub.com/nedbat/coveragepy/blob/master/CHANGES.rst#Version-501-----2019-12-22) [Compare Source](https://togithub.com/nedbat/coveragepy/compare/coverage-5.0...coverage-5.0.1) - If a 4.x data file is the cause of a "file is not a database" error, then use a more specific error message, "Looks like a coverage 4.x data file, are you mixing versions of coverage?" Helps diagnose the problems described in `issue 886`\_. - Measurement contexts and relative file names didn't work together, as reported in `issue 899`_ and `issue 900`_. This is now fixed, thanks to David Szotten. - When using `coverage run --concurrency=multiprocessing`, all data files should be named with parallel-ready suffixes. 5.0 mistakenly named the main process' file with no suffix when using `--append`. This is now fixed, closing `issue 880`\_. - Fixed a problem on Windows when the current directory is changed to a different drive (`issue 895`\_). Thanks, Olivier Grisel. - Updated Python 3.9 support to 3.9a2. .. \_issue 880: [#&GoogleCloudPlatform#8203;880](https://togithub.com/nedbat/coveragepy/issues/880) .. \_issue 886: [#&GoogleCloudPlatform#8203;886](https://togithub.com/nedbat/coveragepy/issues/886) .. \_issue 895: [#&GoogleCloudPlatform#8203;895](https://togithub.com/nedbat/coveragepy/issues/895) .. \_issue 899: [#&GoogleCloudPlatform#8203;899](https://togithub.com/nedbat/coveragepy/issues/899) .. \_issue 900: [#&GoogleCloudPlatform#8203;900](https://togithub.com/nedbat/coveragepy/issues/900) .. \_changes_50: ### [`v5.0`](https://togithub.com/nedbat/coveragepy/blob/master/CHANGES.rst#Version-504-----2020-03-16) [Compare Source](https://togithub.com/nedbat/coveragepy/compare/coverage-4.5.4...coverage-5.0) - If using the `[run] relative_files` setting, the XML report will use relative files in the `<source>` elements indicating the location of source code. Closes `issue 948`\_. - The textual summary report could report missing lines with negative line numbers on PyPy3 7.1 (`issue 943`\_). This is now fixed. - Windows wheels for Python 3.8 were incorrectly built, but are now fixed. (`issue 949`\_) - Updated Python 3.9 support to 3.9a4. - HTML reports couldn't be sorted if localStorage wasn't available. This is now fixed: sorting works even though the sorting setting isn't retained. (`issue 944`_ and `pull request 945`_). Thanks, Abdeali Kothari. .. \_issue 943: [#&GoogleCloudPlatform#8203;943](https://togithub.com/nedbat/coveragepy/issues/943) .. \_issue 944: [#&GoogleCloudPlatform#8203;944](https://togithub.com/nedbat/coveragepy/issues/944) .. \_pull request 945: [#&GoogleCloudPlatform#8203;945](https://togithub.com/nedbat/coveragepy/pull/945) .. \_issue 948: [#&GoogleCloudPlatform#8203;948](https://togithub.com/nedbat/coveragepy/issues/948) .. \_issue 949: [#&GoogleCloudPlatform#8203;949](https://togithub.com/nedbat/coveragepy/issues/949) .. \_changes_503: </details> --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Never, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#GoogleCloudPlatform/python-docs-samples).
1 parent 73f8d29 commit af56545

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
beautifulsoup4==4.8.2
2-
coverage==4.5.4
2+
coverage==5.0.4
33
flaky==3.6.1
44
funcsigs==1.0.2
55
mock==3.0.5

0 commit comments

Comments
 (0)
0