Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⬆️ Bump coverage from 4.5.4 to 5.0 #47

Merged
merged 1 commit into from
Dec 14, 2019
Merged

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps coverage from 4.5.4 to 5.0.

Changelog

Sourced from coverage's changelog.

Version 5.0 --- 2019-12-14

Nothing new beyond 5.0b2.

Version 5.0b2 --- 2019-12-08

  • An experimental [run] relative_files setting tells coverage to store relative file names in the data file. This makes it easier to run tests in one (or many) environments, and then report in another. It has not had much real-world testing, so it may change in incompatible ways in the future.
  • When constructing a coverage.Coverage object, data_file can be specified as None to prevent writing any data file at all. In previous versions, an explicit data_file=None argument would use the default of ".coverage". Fixes issue 871.
  • Python files run with -m now have __spec__ defined properly. This fixes issue 745 (about not being able to run unittest tests that spawn subprocesses), and issue 838, which described the problem directly.
  • The [paths] configuration section is now ordered. If you specify more than one list of patterns, the first one that matches will be used. Fixes issue 649.
  • The .coverage.numbits.register_sqlite_functions function now also registers numbits_to_nums for use in SQLite queries. Thanks, Simon Willison.
  • Python 3.9a1 is supported.
  • Coverage.py has a mascot: Sleepy Snake <sleepy>.

Version 5.0b1 --- 2019-11-11

  • The HTML and textual reports now have a --skip-empty option that skips files with no statements, notably __init__.py files. Thanks, Reya B.
  • Configuration can now be read from TOML files. This requires installing coverage.py with the [toml] extra. The standard "pyproject.toml" file will be read automatically if no other configuration file is found, with settings in the [tool.coverage.] namespace. Thanks to Frazer McLean for implementation and persistence. Finishes issue 664.
  • The [run] note setting has been deprecated. Using it will result in a warning, and the note will not be written to the data file. The corresponding .CoverageData methods have been removed.
  • The HTML report has been reimplemented (no more table around the source code). This allowed for a better presentation of the context information, hopefully resolving issue 855.
  • Added sqlite3 module version information to coverage debug sys output.
  • Asking the HTML report to show contexts ([html] show_contexts=True or coverage html --show-contexts) will issue a warning if there were no contexts measured (issue 851).

Version 5.0a8 --- 2019-10-02

  • The .CoverageData API has changed how queries are limited to specific contexts. Now you use .CoverageData.set_query_context to set a single exact-match string, or .CoverageData.set_query_contexts to set a list of regular expressions to match contexts. This changes the command-line --contexts option to use regular expressions instead of filename-style wildcards.

Version 5.0a7 --- 2019-09-21

  • Data can now be "reported" in JSON format, for programmatic use, as requested in issue 720. The new coverage json command writes raw and summarized data to a JSON file. Thanks, Matt Bachmann.
  • Dynamic contexts are now supported in the Python tracer, which is important for PyPy users. Closes issue 846.
  • The compact line number representation introduced in 5.0a6 is called a "numbits." The coverage.numbits module provides functions for working with them.
  • The reporting methods used to permanently apply their arguments to the configuration of the Coverage object. Now they no longer do. The arguments affect the operation of the method, but do not persist.
  • A class named "test_something" no longer confuses the test_function dynamic context setting. Fixes issue 829.
  • Fixed an unusual tokenizing issue with backslashes in comments. Fixes issue 822.
  • debug=plugin didn't properly support configuration or dynamic context plugins, but now it does, closing issue 834.

Version 5.0a6 --- 2019-07-16

  • Reporting on contexts. Big thanks to Stephan Richter and Albertas Agejevas for the contribution.
    • The --contexts option is available on the report and html commands. It's a comma-separated list of shell-style wildcards, selecting the contexts to report on. Only contexts matching one of the wildcards will be included in the report.
    • The --show-contexts option for the html command adds context information to each covered line. Hovering over the "ctx" marker at the end of the line reveals a list of the contexts that covered the line.
  • Database changes:
    • Line numbers are now stored in a much more compact way. For each file and context, a single binary string is stored with a bit per line number. This greatly improves memory use, but makes ad-hoc use difficult.
... (truncated)
Commits
  • bde3130 Sample html report for 5.0
  • b92a84c Prep for 5.0
  • 5379317 Clarify the connection between subprocesses and --concurrency
  • eebc1e9 Forgot to mention Sleepy Snake in the changelog
  • da8aace Better wording on the Sleepy page
  • abbbd7d Bump version
  • b68d147 Bumping version before readthedocs works better
  • 225dd7c Prep for 5.0b2
  • aec4473 Sleepy Snake
  • b4a4626 A little easier to read in contributing.rst
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps [coverage](https://github.com/nedbat/coveragepy) from 4.5.4 to 5.0.
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](nedbat/coveragepy@coverage-4.5.4...coverage-5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Upgrade or downgrade of project dependencies. label Dec 14, 2019
@codecov
Copy link

codecov bot commented Dec 14, 2019

Codecov Report

Merging #47 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #47   +/-   ##
=======================================
  Coverage   99.17%   99.17%           
=======================================
  Files           8        8           
  Lines         241      241           
=======================================
  Hits          239      239           
  Misses          2        2
Flag Coverage Δ
#unittests 99.17% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 578ebbc...1e38a77. Read the comment docs.

@frenck frenck merged commit 52d47dc into master Dec 14, 2019
@frenck frenck deleted the dependabot/pip/coverage-5.0 branch December 14, 2019 16:28
@github-actions github-actions bot locked and limited conversation to collaborators Mar 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Upgrade or downgrade of project dependencies.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant