recruit-communications / pyqubo

Python DSL for constructing QUBOs from mathematical expressions.
https://pyqubo.readthedocs.io/
Apache License 2.0
177 stars 46 forks source link

Bump coverage from 4.5.1 to 7.0.1 #214

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps coverage from 4.5.1 to 7.0.1.

Release notes

Sourced from coverage's releases.

coverage-5.6b1

  • Third-party packages are now ignored in coverage reporting. This solves a few problems:
    • Coverage will no longer report about other people’s code (issue 876). This is true even when using --source=. with a venv in the current directory.
    • Coverage will no longer generate “Already imported a file that will be measured” warnings about coverage itself (issue 905).
  • The HTML report uses j/k to move up and down among the highlighted chunks of code. They used to highlight the current chunk, but 5.0 broke that behavior. Now the highlighting is working again.
  • The JSON report now includes percent_covered_display, a string with the total percentage, rounded to the same number of decimal places as the other reports’ totals.

coverage-5.5

  • coverage combine has a new option, --keep to keep the original data files after combining them. The default is still to delete the files after they have been combined. This was requested in issue 1108 and implemented in pull request 1110. Thanks, Éric Larivière.
  • When reporting missing branches in coverage report, branches aren’t reported that jump to missing lines. This adds to the long-standing behavior of not reporting branches from missing lines. Now branches are only reported if both the source and destination lines are executed. Closes both issue 1065 and issue 955.
  • Minor improvements to the HTML report:
    • The state of the line visibility selector buttons is saved in local storage so you don’t have to fiddle with them so often, fixing issue 1123.
    • It has a little more room for line numbers so that 4-digit numbers work well, fixing issue 1124.
  • Improved the error message when combining line and branch data, so that users will be more likely to understand what’s happening, closing issue 803.

coverage-5.4

  • The text report produced by coverage report now always outputs a TOTAL line, even if only one Python file is reported. This makes regex parsing of the output easier. Thanks, Judson Neer. This had been requested a number of times (issue 1086, issue 922, issue 732).
  • The skip_covered and skip_empty settings in the configuration file can now be specified in the [html] section, so that text reports and HTML reports can use separate settings. The HTML report will still use the [report] settings if there isn’t a value in the [html] section. Closes issue 1090.
  • Combining files on Windows across drives now works properly, fixing issue 577. Thanks, Valentin Lab.
  • Fix an obscure warning from deep in the _decimal module, as reported in issue 1084.
  • Update to support Python 3.10 alphas in progress, including PEP 626: Precise line numbers for debugging and other tools.

coverage-5.3.1

  • When using --source on a large source tree, v5.x was slower than previous versions. This performance regression is now fixed, closing issue 1037.
  • Mysterious SQLite errors can happen on PyPy, as reported in issue 1010. An immediate retry seems to fix the problem, although it is an unsatisfying solution.
  • The HTML report now saves the sort order in a more widely supported way, fixing issue 986. Thanks, Sebastián Ramírez (pull request 1066).
  • The HTML report pages now have a Sleepy Snake favicon.
  • Wheels are now provided for manylinux2010, and for PyPy3 (pp36 and pp37).
  • Continuous integration has moved from Travis and AppVeyor to GitHub Actions.

coverage-5.3

  • The source setting has always been interpreted as either a file path or a module, depending on which existed. If both interpretations were valid, it was assumed to be a file path. The new source_pkgs setting can be used to name a package to disambiguate this case. Thanks, Thomas Grainger. Fixes issue 268.
  • If a plugin was disabled due to an exception, we used to still try to record its information, causing an exception, as reported in issue 1011. This is now fixed.

coverage-5.2.1

  • The dark mode HTML report still used light colors for the context listing, making them unreadable (issue 1009). This is now fixed.
  • The time stamp on the HTML report now includes the time zone. Thanks, Xie Yanbo (pull request 960).

coverage-5.2

  • The HTML report has been redesigned by Vince Salvino. There is now a dark mode, the code text is larger, and system sans serif fonts are used, in addition to other small changes (issue 858 and pull request 931).
  • The coverage report and coverage html commands now accept a --precision option to control the number of decimal points displayed. Thanks, Teake Nutma (pull request 982).
  • The coverage report and coverage html commands now accept a --no-skip-covered option to negate --skip-covered. Thanks, Anthony Sottile (issue 779 and pull request 932).
  • The --skip-empty option is now available for the XML report, closing issue 976.
  • The coverage report command now accepts a --sort option to specify how to sort the results. Thanks, Jerin Peter George (pull request 1005).
  • If coverage fails due to the coverage total not reaching the --fail-under value, it will now print a message making the condition clear. Thanks, Naveen Yadav (pull request 977).
  • TOML configuration files with non-ASCII characters would cause errors on Windows (issue 990). This is now fixed.
  • The output of --debug=trace now includes information about how the --source option is being interpreted, and the module names being considered.

coverage-5.1

  • The JSON report now includes counts of covered and missing branches. Thanks, Salvatore Zagaria.

... (truncated)

Changelog

Sourced from coverage's changelog.

Version 7.0.1 — 2022-12-23

  • When checking if a file mapping resolved to a file that exists, we weren't considering files in .whl files. This is now fixed, closing issue 1511_.

  • File pattern rules were too strict, forbidding plus signs and curly braces in directory and file names. This is now fixed, closing issue 1513_.

  • Unusual Unicode or control characters in source files could prevent reporting. This is now fixed, closing issue 1512_.

  • The PyPy wheel now installs on PyPy 3.7, 3.8, and 3.9, closing issue 1510_.

.. _issue 1510: nedbat/coveragepy#1510 .. _issue 1511: nedbat/coveragepy#1511 .. _issue 1512: nedbat/coveragepy#1512 .. _issue 1513: nedbat/coveragepy#1513

.. _changes_7-0-0:

Version 7.0.0 — 2022-12-18

Nothing new beyond 7.0.0b1.

.. _changes_7-0-0b1:

Version 7.0.0b1 — 2022-12-03

A number of changes have been made to file path handling, including pattern matching and path remapping with the [paths] setting (see :ref:config_paths). These changes might affect you, and require you to update your settings.

(This release includes the changes from 6.6.0b1 <changes_6-6-0b1_>_, since 6.6.0 was never released.)

  • Changes to file pattern matching, which might require updating your configuration:

    • Previously, * would incorrectly match directory separators, making precise matching difficult. This is now fixed, closing issue 1407_.

    • Now ** matches any number of nested directories, including none.

  • Improvements to combining data files when using the

... (truncated)

Commits
  • c5cda3a docs: releases take a little bit longer now
  • 9d4226e docs: latest sample HTML report
  • 8c77758 docs: prep for 7.0.1
  • da1b282 fix: also look into .whl files for source
  • d327a70 fix: more information when mapping rules aren't working right.
  • 35e249f fix: certain strange characters caused reporting to fail. #1512
  • 152cdc7 fix: don't forbid plus signs in file names. #1513
  • 31513b4 chore: make upgrade
  • 873b059 test: don't run tests on Windows PyPy-3.9
  • 5c5caa2 build: PyPy wheel now installs on 3.7, 3.8, and 3.9. #1510
  • 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)
codecov-commenter commented 1 year ago

Codecov Report

Base: 65.34% // Head: 76.44% // Increases project coverage by +11.10% :tada:

Coverage data is based on head (c88885d) compared to base (176df2c). Patch has no changes to coverable lines.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #214 +/- ## =========================================== + Coverage 65.34% 76.44% +11.10% =========================================== Files 13 13 Lines 453 416 -37 =========================================== + Hits 296 318 +22 + Misses 157 98 -59 ``` | [Impacted Files](https://codecov.io/gh/recruit-communications/pyqubo/pull/214?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=recruit-communications) | Coverage Δ | | |---|---|---| | [pyqubo/utils/solver.py](https://codecov.io/gh/recruit-communications/pyqubo/pull/214/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=recruit-communications#diff-cHlxdWJvL3V0aWxzL3NvbHZlci5weQ==) | `31.81% <0.00%> (+2.65%)` | :arrow_up: | | [pyqubo/array.py](https://codecov.io/gh/recruit-communications/pyqubo/pull/214/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=recruit-communications#diff-cHlxdWJvL2FycmF5LnB5) | `70.50% <0.00%> (+3.99%)` | :arrow_up: | | [pyqubo/integer/log\_encoded\_integer.py](https://codecov.io/gh/recruit-communications/pyqubo/pull/214/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=recruit-communications#diff-cHlxdWJvL2ludGVnZXIvbG9nX2VuY29kZWRfaW50ZWdlci5weQ==) | `100.00% <0.00%> (+5.26%)` | :arrow_up: | | [pyqubo/integer/unary\_encoded\_integer.py](https://codecov.io/gh/recruit-communications/pyqubo/pull/214/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=recruit-communications#diff-cHlxdWJvL2ludGVnZXIvdW5hcnlfZW5jb2RlZF9pbnRlZ2VyLnB5) | `100.00% <0.00%> (+6.25%)` | :arrow_up: | | [pyqubo/utils/asserts.py](https://codecov.io/gh/recruit-communications/pyqubo/pull/214/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=recruit-communications#diff-cHlxdWJvL3V0aWxzL2Fzc2VydHMucHk=) | `61.53% <0.00%> (+17.09%)` | :arrow_up: | | [pyqubo/logical\_constraint.py](https://codecov.io/gh/recruit-communications/pyqubo/pull/214/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=recruit-communications#diff-cHlxdWJvL2xvZ2ljYWxfY29uc3RyYWludC5weQ==) | `100.00% <0.00%> (+37.03%)` | :arrow_up: | | [pyqubo/integer/order\_enc\_integer.py](https://codecov.io/gh/recruit-communications/pyqubo/pull/214/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=recruit-communications#diff-cHlxdWJvL2ludGVnZXIvb3JkZXJfZW5jX2ludGVnZXIucHk=) | `100.00% <0.00%> (+42.50%)` | :arrow_up: | | [pyqubo/integer/one\_hot\_enc\_integer.py](https://codecov.io/gh/recruit-communications/pyqubo/pull/214/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=recruit-communications#diff-cHlxdWJvL2ludGVnZXIvb25lX2hvdF9lbmNfaW50ZWdlci5weQ==) | `100.00% <0.00%> (+43.33%)` | :arrow_up: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=recruit-communications). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=recruit-communications)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

dependabot[bot] commented 1 year ago

Superseded by #217.