coverage 7.17.4__tar.gz → 7.17.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {coverage-7.17.4 → coverage-7.17.5}/.github/workflows/actions.lock +4 -7
- {coverage-7.17.4 → coverage-7.17.5}/.github/workflows/dependency-review.yml +2 -9
- {coverage-7.17.4 → coverage-7.17.5}/.github/workflows/publish.yml +4 -2
- {coverage-7.17.4 → coverage-7.17.5}/.github/workflows/python-nightly.yml +1 -0
- {coverage-7.17.4 → coverage-7.17.5}/.github/workflows/quality.yml +23 -2
- coverage-7.17.4/.github/workflows/coverage.yml → coverage-7.17.5/.github/workflows/testsuite.yml +169 -36
- {coverage-7.17.4 → coverage-7.17.5}/CHANGES.rst +41 -0
- {coverage-7.17.4 → coverage-7.17.5}/Makefile +1 -1
- {coverage-7.17.4 → coverage-7.17.5}/PKG-INFO +7 -7
- {coverage-7.17.4 → coverage-7.17.5}/coverage/cmdline.py +11 -5
- {coverage-7.17.4 → coverage-7.17.5}/coverage/collector.py +10 -13
- {coverage-7.17.4 → coverage-7.17.5}/coverage/control.py +4 -7
- {coverage-7.17.4 → coverage-7.17.5}/coverage/debug.py +4 -7
- {coverage-7.17.4 → coverage-7.17.5}/coverage/html.py +2 -1
- {coverage-7.17.4 → coverage-7.17.5}/coverage/parser.py +3 -9
- {coverage-7.17.4 → coverage-7.17.5}/coverage/pytracer.py +2 -2
- {coverage-7.17.4 → coverage-7.17.5}/coverage/sqldata.py +26 -4
- {coverage-7.17.4 → coverage-7.17.5}/coverage/sysmon.py +18 -8
- {coverage-7.17.4 → coverage-7.17.5}/coverage/templite.py +5 -5
- {coverage-7.17.4 → coverage-7.17.5}/coverage/version.py +1 -1
- {coverage-7.17.4 → coverage-7.17.5}/coverage.egg-info/PKG-INFO +7 -7
- {coverage-7.17.4 → coverage-7.17.5}/coverage.egg-info/SOURCES.txt +0 -1
- {coverage-7.17.4 → coverage-7.17.5}/doc/conf.py +3 -3
- {coverage-7.17.4 → coverage-7.17.5}/doc/requirements.txt +129 -156
- {coverage-7.17.4 → coverage-7.17.5}/pyproject.toml +0 -2
- {coverage-7.17.4 → coverage-7.17.5}/requirements/dev.txt +168 -183
- {coverage-7.17.4 → coverage-7.17.5}/requirements/js.txt +10 -21
- {coverage-7.17.4 → coverage-7.17.5}/requirements/kit.txt +19 -15
- {coverage-7.17.4 → coverage-7.17.5}/requirements/mypy.txt +101 -110
- coverage-7.17.5/requirements/pip.txt +36 -0
- {coverage-7.17.4 → coverage-7.17.5}/requirements/pytest.txt +87 -87
- {coverage-7.17.4 → coverage-7.17.5}/requirements/tox.txt +24 -24
- {coverage-7.17.4 → coverage-7.17.5}/setup.py +3 -2
- {coverage-7.17.4 → coverage-7.17.5}/tests/test_api.py +22 -1
- {coverage-7.17.4 → coverage-7.17.5}/tests/test_cmdline.py +10 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/test_collector.py +23 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/test_concurrency.py +58 -2
- {coverage-7.17.4 → coverage-7.17.5}/tests/test_data.py +54 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/test_debug.py +1 -1
- {coverage-7.17.4 → coverage-7.17.5}/tests/test_files.py +1 -1
- {coverage-7.17.4 → coverage-7.17.5}/tests/test_html.py +1 -1
- {coverage-7.17.4 → coverage-7.17.5}/tests/test_oddball.py +1 -1
- {coverage-7.17.4 → coverage-7.17.5}/tests/test_plugins.py +32 -1
- {coverage-7.17.4 → coverage-7.17.5}/tests/test_process.py +12 -14
- {coverage-7.17.4 → coverage-7.17.5}/tests/test_setup.py +3 -2
- {coverage-7.17.4 → coverage-7.17.5}/tests/test_xml.py +31 -35
- {coverage-7.17.4 → coverage-7.17.5}/tools/igor.py +6 -3
- {coverage-7.17.4 → coverage-7.17.5}/tools/metacov.ini +1 -1
- {coverage-7.17.4 → coverage-7.17.5}/tox.ini +1 -3
- coverage-7.17.4/.github/workflows/testsuite.yml +0 -271
- coverage-7.17.4/requirements/pip.txt +0 -36
- {coverage-7.17.4 → coverage-7.17.5}/.editorconfig +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/.git-blame-ignore-revs +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/.github/CODE_OF_CONDUCT.md +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/.github/CONTRIBUTING.rst +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/.github/FUNDING.yml +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/.github/ISSUE_TEMPLATE/support.md +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/.github/SECURITY.md +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/.github/dependabot.yml +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/.github/workflows/codeql-analysis.yml +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/.github/workflows/kit.yml +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/.gitignore +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/.ignore +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/.pre-commit-config.yaml +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/.readthedocs.yaml +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/AGENTS.md +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/CITATION.cff +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/CONTRIBUTORS.txt +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/LICENSE.txt +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/MANIFEST.in +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/NOTICE.txt +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/README.rst +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/__main__.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/a1_coverage.pth +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/__init__.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/__main__.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/annotate.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/bytecode.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/config.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/context.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/core.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/ctracer/datastack.c +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/ctracer/datastack.h +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/ctracer/filedisp.c +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/ctracer/filedisp.h +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/ctracer/module.c +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/ctracer/stats.h +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/ctracer/tracer.c +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/ctracer/tracer.h +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/ctracer/util.h +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/data.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/disposition.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/env.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/exceptions.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/execfile.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/files.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/htmlfiles/coverage_html.js +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/htmlfiles/favicon_32.png +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/htmlfiles/index.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/htmlfiles/keybd_closed.png +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/htmlfiles/pyfile.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/htmlfiles/style.css +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/htmlfiles/style.scss +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/inorout.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/jsonreport.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/lcovreport.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/misc.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/multiproc.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/numbits.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/patch.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/phystokens.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/plugin.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/plugin_support.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/pth_file.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/py.typed +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/python.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/regions.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/report.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/report_core.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/results.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/sqlitedb.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/tomlconfig.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/tracer.pyi +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/types.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage/xmlreport.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage.egg-info/dependency_links.txt +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage.egg-info/entry_points.txt +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage.egg-info/not-zip-safe +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage.egg-info/requires.txt +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/coverage.egg-info/top_level.txt +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/doc/_static/coverage.css +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/doc/api.rst +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/doc/api_coverage.rst +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/doc/api_coveragedata.rst +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/doc/api_exceptions.rst +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/doc/api_module.rst +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/doc/api_plugin.rst +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/doc/branch.rst +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/doc/changes.rst +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/doc/cog_helpers.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/doc/commands/cmd_annotate.rst +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/doc/commands/cmd_combine.rst +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/doc/commands/cmd_debug.rst +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/doc/commands/cmd_erase.rst +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/doc/commands/cmd_html.rst +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/doc/commands/cmd_json.rst +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/doc/commands/cmd_lcov.rst +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/doc/commands/cmd_report.rst +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/doc/commands/cmd_reporting.rst +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/doc/commands/cmd_run.rst +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/doc/commands/cmd_xml.rst +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/doc/commands/index.rst +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/doc/config.rst +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/doc/contexts.rst +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/doc/contributing.rst +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/doc/dbschema.rst +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/doc/dict.txt +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/doc/excluding.rst +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/doc/faq.rst +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/doc/howitworks.rst +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/doc/index.rst +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/doc/install.rst +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/doc/media/Tidelift_Logos_RGB_Tidelift_Shorthand_On-White.png +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/doc/media/Tidelift_Logos_RGB_Tidelift_Shorthand_On-White_small.png +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/doc/media/sleepy-snake-600.png +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/doc/media/sleepy-snake-circle-150.png +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/doc/messages.rst +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/doc/migrating.rst +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/doc/other.rst +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/doc/plugins.rst +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/doc/python-coverage.1.txt +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/doc/requirements.in +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/doc/sleepy.rst +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/doc/source.rst +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/doc/subprocess.rst +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/doc/trouble.rst +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/doc/whatsnew5x.rst +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/lab/README.txt +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/lab/branches.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/lab/compare_times.sh +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/lab/coverage-04.dtd +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/lab/extract_code.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/lab/goals.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/lab/hack_pyc.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/lab/notes/arcs-to-branches.txt +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/lab/notes/bug1303.txt +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/lab/notes/pypy-738-decorated-functions.txt +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/lab/parse_all.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/lab/parser.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/lab/pick.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/lab/platform_info.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/lab/run_sysmon.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/lab/run_trace.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/lab/select_contexts.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/lab/show_platform.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/lab/show_pyc.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/lab/treetopy.sh +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/lab/warn_executed.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/lab/warn_executed.toml +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/news/README.txt +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/news/new_fragment.rst.j2 +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/requirements/dev.in +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/requirements/js.in +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/requirements/kit.in +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/requirements/light-threads.in +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/requirements/light-threads.txt +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/requirements/mypy.in +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/requirements/pins.txt +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/requirements/pip.in +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/requirements/pytest.in +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/requirements/tox.in +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/setup.cfg +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/__init__.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/conftest.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/coveragetest.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/covmodzip1.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/README.rst +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/annotate/anno_dir/multi.py,cover +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/annotate/anno_dir/z_80084bf2fba02475___init__.py,cover +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/annotate/anno_dir/z_80084bf2fba02475_a.py,cover +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/annotate/anno_dir/z_b039179a8a4ce2c2___init__.py,cover +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/annotate/anno_dir/z_b039179a8a4ce2c2_b.py,cover +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/annotate/encodings/utf8.py,cover +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/annotate/mae/mae.py,cover +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/annotate/multi/a/__init__.py,cover +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/annotate/multi/a/a.py,cover +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/annotate/multi/b/__init__.py,cover +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/annotate/multi/b/b.py,cover +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/annotate/multi/multi.py,cover +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/annotate/white/white.py,cover +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/Makefile +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/a/a_py.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/a/class_index.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/a/function_index.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/a/index.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/b_branch/b_py.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/b_branch/class_index.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/b_branch/function_index.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/b_branch/index.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/bom/bom_py.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/bom/class_index.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/bom/function_index.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/bom/index.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/contexts/class_index.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/contexts/function_index.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/contexts/index.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/contexts/two_tests_py.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/isolatin1/class_index.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/isolatin1/function_index.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/isolatin1/index.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/isolatin1/isolatin1_py.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/multiline/class_index.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/multiline/function_index.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/multiline/index.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/multiline/multiline_py.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/omit_1/class_index.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/omit_1/function_index.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/omit_1/index.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/omit_1/m1_py.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/omit_1/m2_py.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/omit_1/m3_py.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/omit_1/main_py.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/omit_2/class_index.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/omit_2/function_index.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/omit_2/index.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/omit_2/m2_py.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/omit_2/m3_py.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/omit_2/main_py.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/omit_3/class_index.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/omit_3/function_index.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/omit_3/index.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/omit_3/m3_py.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/omit_3/main_py.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/omit_4/class_index.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/omit_4/function_index.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/omit_4/index.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/omit_4/m1_py.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/omit_4/m3_py.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/omit_4/main_py.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/omit_5/class_index.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/omit_5/function_index.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/omit_5/index.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/omit_5/m1_py.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/omit_5/main_py.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/other/blah_blah_other_py.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/other/class_index.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/other/function_index.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/other/here_py.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/other/index.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/partial/class_index.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/partial/function_index.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/partial/index.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/partial/partial_py.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/styled/a_py.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/styled/class_index.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/styled/function_index.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/styled/index.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/styled/myextra.css +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/styled/style.css +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/support/coverage_html_cb_dd2e7eb5.js +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/support/favicon_32_cb_c827f16f.png +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/support/keybd_closed_cb_900cfef5.png +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/support/style_cb_a90a112a.css +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/unicode/class_index.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/unicode/function_index.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/unicode/index.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/html/unicode/unicode_py.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/testing/getty/gettysburg.txt +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/testing/xml/output.xml +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/xml/x_xml/coverage.xml +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/gold/xml/y_xml_branch/coverage.xml +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/goldtest.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/helpers.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/hypo.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/js/collect_results.js +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/js/index.html +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/js/run_js_tests.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/js/tests.js +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/mixins.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/modules/aa/__init__.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/modules/aa/afile.odd.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/modules/aa/afile.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/modules/aa/bb/__init__.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/modules/aa/bb/bfile.odd.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/modules/aa/bb/bfile.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/modules/aa/bb/cc/__init__.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/modules/aa/bb/cc/cfile.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/modules/aa/bb.odd/bfile.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/modules/aa/zfile.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/modules/ambiguous/__init__.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/modules/ambiguous/pkg1/__init__.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/modules/ambiguous/pkg1/ambiguous.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/modules/checkspec.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/modules/covmod1.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/modules/namespace_420/sub1/__init__.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/modules/pkg1/__init__.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/modules/pkg1/__main__.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/modules/pkg1/p1a.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/modules/pkg1/p1b.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/modules/pkg1/p1c.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/modules/pkg1/runmod2.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/modules/pkg1/sub/__init__.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/modules/pkg1/sub/__main__.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/modules/pkg1/sub/ps1a.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/modules/pkg1/sub/runmod3.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/modules/pkg2/__init__.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/modules/pkg2/p2a.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/modules/pkg2/p2b.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/modules/plugins/__init__.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/modules/plugins/a_plugin.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/modules/plugins/another.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/modules/process_test/__init__.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/modules/process_test/try_execfile.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/modules/runmod1.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/modules/usepkgs.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/moremodules/namespace_420/sub2/__init__.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/moremodules/othermods/__init__.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/moremodules/othermods/othera.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/moremodules/othermods/otherb.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/moremodules/othermods/sub/__init__.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/moremodules/othermods/sub/osa.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/moremodules/othermods/sub/osb.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/osinfo.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/oss-scanner/Dockerfile +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/oss-scanner/README.rst +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/oss-scanner/local_run.sh +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/oss-scanner/project.yaml +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/oss-scanner/threat_model.md +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/plugin1.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/plugin2.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/plugin_config.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/select_plugin.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/smoke.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/strategies.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/stress_phystoken.tok +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/stress_phystoken_dos.tok +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/test_annotate.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/test_arcs.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/test_bytecode.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/test_config.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/test_context.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/test_core.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/test_coverage.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/test_execfile.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/test_filereporter.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/test_goldtest.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/test_json.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/test_lcov.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/test_misc.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/test_mixins.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/test_numbits.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/test_parser.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/test_phystokens.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/test_python.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/test_regions.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/test_report.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/test_report_common.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/test_report_core.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/test_results.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/test_sqlitedb.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/test_sysmon.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/test_templite.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/test_testing.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/test_venv.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/test_version.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/testenv.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/zipsrc/zip1/__init__.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tests/zipsrc/zip1/zip1.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tools/README.txt +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tools/comment_on_fixes.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tools/gh_release.toml +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tools/release.txt +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tools/session.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tools/trigger_action.py +0 -0
- {coverage-7.17.4 → coverage-7.17.5}/tools/update_rtfd.py +0 -0
|
@@ -6,13 +6,6 @@ workflows:
|
|
|
6
6
|
'.github/workflows/codeql-analysis.yml':
|
|
7
7
|
- 'actions/checkout@v7.0.1'
|
|
8
8
|
- 'github/codeql-action@v4.39.3'
|
|
9
|
-
'.github/workflows/coverage.yml':
|
|
10
|
-
- 'actions/checkout@v7.0.1'
|
|
11
|
-
- 'actions/download-artifact@v8.0.2'
|
|
12
|
-
- 'actions/setup-python@v7.1.0'
|
|
13
|
-
- 'actions/upload-artifact@v7.0.2'
|
|
14
|
-
- 'dorny/paths-filter@v4.0.3'
|
|
15
|
-
- 'schneegans/dynamic-badges-action@v1.9.0'
|
|
16
9
|
'.github/workflows/dependency-review.yml':
|
|
17
10
|
- 'actions/checkout@v7.0.1'
|
|
18
11
|
- 'actions/dependency-review-action@v5.0.0'
|
|
@@ -36,11 +29,15 @@ workflows:
|
|
|
36
29
|
- 'actions/setup-python@v7.1.0'
|
|
37
30
|
- 'dorny/paths-filter@v4.0.3'
|
|
38
31
|
- 'j178/prek-action@v3.1.0'
|
|
32
|
+
- 're-actors/alls-green@v1.3.0'
|
|
39
33
|
'.github/workflows/testsuite.yml':
|
|
40
34
|
- 'actions/checkout@v7.0.1'
|
|
35
|
+
- 'actions/download-artifact@v8.0.2'
|
|
41
36
|
- 'actions/setup-python@v7.1.0'
|
|
37
|
+
- 'actions/upload-artifact@v7.0.2'
|
|
42
38
|
- 'dorny/paths-filter@v4.0.3'
|
|
43
39
|
- 're-actors/alls-green@v1.3.0'
|
|
40
|
+
- 'schneegans/dynamic-badges-action@v1.9.0'
|
|
44
41
|
dependencies:
|
|
45
42
|
'actions/attest-build-provenance@v4.2.2':
|
|
46
43
|
ref: 'v4.2.2'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Dependency Review Action
|
|
2
2
|
#
|
|
3
|
-
# This Action will scan dependency manifest files that change as part of a Pull
|
|
3
|
+
# This Action will scan dependency manifest files that change as part of a Pull Request, surfacing known-vulnerable versions of the packages declared or updated in the PR. Once installed, if the workflow run is marked as required, PRs introducing known-vulnerable packages will be blocked from merging.
|
|
4
4
|
#
|
|
5
5
|
# Source repository: https://github.com/actions/dependency-review-action
|
|
6
6
|
# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement
|
|
@@ -8,12 +8,8 @@
|
|
|
8
8
|
name: "Dependency Review"
|
|
9
9
|
|
|
10
10
|
on:
|
|
11
|
-
push
|
|
12
|
-
branches:
|
|
13
|
-
- main
|
|
14
|
-
- nedbat/*
|
|
11
|
+
# The action compares a PR's base and head. On a push there's nothing to compare.
|
|
15
12
|
pull_request:
|
|
16
|
-
workflow_dispatch:
|
|
17
13
|
|
|
18
14
|
permissions:
|
|
19
15
|
contents: read
|
|
@@ -35,6 +31,3 @@ jobs:
|
|
|
35
31
|
|
|
36
32
|
- name: "Dependency Review"
|
|
37
33
|
uses: actions/dependency-review-action@v5.0.0
|
|
38
|
-
with:
|
|
39
|
-
base-ref: ${{ github.event.pull_request.base.sha || 'main' }}
|
|
40
|
-
head-ref: ${{ github.event.pull_request.head.sha || github.ref }}
|
|
@@ -24,7 +24,8 @@ permissions:
|
|
|
24
24
|
|
|
25
25
|
concurrency:
|
|
26
26
|
group: "${{ github.workflow }}-${{ github.ref }}"
|
|
27
|
-
|
|
27
|
+
# Don't interrupt an upload that's underway.
|
|
28
|
+
cancel-in-progress: false
|
|
28
29
|
|
|
29
30
|
jobs:
|
|
30
31
|
find-run:
|
|
@@ -38,7 +39,8 @@ jobs:
|
|
|
38
39
|
id: runs
|
|
39
40
|
uses: octokit/request-action@v3.0.0
|
|
40
41
|
with:
|
|
41
|
-
|
|
42
|
+
# Only our own `make build_kits` runs, never pull request runs.
|
|
43
|
+
route: GET /repos/coveragepy/coveragepy/actions/workflows/kit.yml/runs?event=repository_dispatch&branch=main
|
|
42
44
|
env:
|
|
43
45
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
44
46
|
|
|
@@ -170,8 +170,6 @@ jobs:
|
|
|
170
170
|
zizmor:
|
|
171
171
|
name: "Zizmor GHA security check"
|
|
172
172
|
runs-on: ubuntu-latest
|
|
173
|
-
permissions:
|
|
174
|
-
contents: read
|
|
175
173
|
|
|
176
174
|
needs: changed
|
|
177
175
|
if:
|
|
@@ -203,3 +201,26 @@ jobs:
|
|
|
203
201
|
run: |
|
|
204
202
|
gh extension install github/gh-actions-lock --pin v0.4.1
|
|
205
203
|
gh actions-lock --verify
|
|
204
|
+
|
|
205
|
+
# This job aggregates quality results. It's the required check for branch protection.
|
|
206
|
+
# https://github.com/marketplace/actions/alls-green#why
|
|
207
|
+
# https://github.com/orgs/community/discussions/33579
|
|
208
|
+
success:
|
|
209
|
+
name: "Quality successful"
|
|
210
|
+
needs:
|
|
211
|
+
- changed
|
|
212
|
+
- lint
|
|
213
|
+
- mypy
|
|
214
|
+
- doc
|
|
215
|
+
- zizmor
|
|
216
|
+
# Without this, GitHub skips this job when a needed job doesn't succeed, so
|
|
217
|
+
# the gate reports "skipped" instead of failing. `allowed-skips` keeps the
|
|
218
|
+
# deliberate skips (no relevant files changed) passing.
|
|
219
|
+
if: always()
|
|
220
|
+
runs-on: ubuntu-latest
|
|
221
|
+
steps:
|
|
222
|
+
- name: "Decide success or failure"
|
|
223
|
+
uses: re-actors/alls-green@v1.3.0
|
|
224
|
+
with:
|
|
225
|
+
jobs: ${{ toJSON(needs) }}
|
|
226
|
+
allowed-skips: lint, mypy, doc, zizmor
|
coverage-7.17.4/.github/workflows/coverage.yml → coverage-7.17.5/.github/workflows/testsuite.yml
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
|
|
2
2
|
# For details: https://github.com/coveragepy/coveragepy/blob/main/NOTICE.txt
|
|
3
3
|
|
|
4
|
-
name: "
|
|
4
|
+
name: "Tests"
|
|
5
5
|
|
|
6
6
|
on:
|
|
7
|
-
pull_request:
|
|
8
7
|
push:
|
|
9
8
|
branches:
|
|
10
9
|
- main
|
|
11
|
-
-
|
|
10
|
+
- nedbat/*
|
|
11
|
+
pull_request:
|
|
12
12
|
workflow_dispatch:
|
|
13
13
|
|
|
14
14
|
defaults:
|
|
@@ -35,8 +35,8 @@ jobs:
|
|
|
35
35
|
permissions:
|
|
36
36
|
pull-requests: read # Needed for this check to run on pull requests
|
|
37
37
|
outputs:
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
run_tests: ${{ steps.filter.outputs.run_tests }}
|
|
39
|
+
run_js_tests: ${{ steps.filter.outputs.run_js_tests }}
|
|
40
40
|
steps:
|
|
41
41
|
- name: "Check out the repo"
|
|
42
42
|
uses: actions/checkout@v7.0.1
|
|
@@ -48,32 +48,44 @@ jobs:
|
|
|
48
48
|
id: filter
|
|
49
49
|
with:
|
|
50
50
|
filters: |
|
|
51
|
-
|
|
52
|
-
- "*.py"
|
|
51
|
+
run_tests:
|
|
53
52
|
- "coverage/**.py"
|
|
53
|
+
- "coverage/ctracer/*.h"
|
|
54
|
+
- "coverage/ctracer/*.c"
|
|
54
55
|
- "tests/**.py"
|
|
55
|
-
- "
|
|
56
|
-
- "
|
|
57
|
-
- "
|
|
58
|
-
- "
|
|
56
|
+
- "tests/gold/**"
|
|
57
|
+
- "requirements/*.txt"
|
|
58
|
+
- "*.py"
|
|
59
|
+
- "lab/goals.py"
|
|
60
|
+
- ".github/workflows/testsuite.yml"
|
|
59
61
|
- "tox.ini"
|
|
62
|
+
- "pyproject.toml"
|
|
63
|
+
- "tools/igor.py"
|
|
60
64
|
- "tools/metacov.ini"
|
|
61
|
-
|
|
62
|
-
- "
|
|
65
|
+
run_js_tests:
|
|
66
|
+
- "coverage/htmlfiles/*.js"
|
|
67
|
+
- "tests/js/**"
|
|
68
|
+
- ".github/workflows/testsuite.yml"
|
|
69
|
+
- "tox.ini"
|
|
70
|
+
- "requirements/js.txt"
|
|
63
71
|
|
|
64
|
-
|
|
72
|
+
tests:
|
|
65
73
|
name: "${{ matrix.python-version }} on ${{ matrix.os }}"
|
|
66
74
|
runs-on: "${{ matrix.os }}-${{ matrix.os-version }}"
|
|
67
|
-
timeout-minutes:
|
|
75
|
+
timeout-minutes: 30
|
|
68
76
|
|
|
69
|
-
#
|
|
77
|
+
# Don't run tests if the branch name includes "-notests".
|
|
78
|
+
# Only run tests if files that affect tests have changed.
|
|
70
79
|
needs: changed
|
|
71
80
|
if:
|
|
72
|
-
needs.changed.outputs.
|
|
81
|
+
needs.changed.outputs.run_tests == 'true'
|
|
82
|
+
&& !contains(github.ref, '-notests')
|
|
73
83
|
|
|
74
84
|
env:
|
|
75
85
|
MATRIX_ID: "${{ matrix.python-version }}.${{ matrix.os }}"
|
|
76
86
|
TOX_GH_MAJOR_MINOR: "${{ matrix.python-version }}"
|
|
87
|
+
COVERAGE_COVERAGE: "${{ matrix.skip-coverage && 'no' || 'yes' }}"
|
|
88
|
+
COVERAGE_CONTEXT: "${{ matrix.python-version }}.${{ matrix.os }}"
|
|
77
89
|
|
|
78
90
|
strategy:
|
|
79
91
|
matrix:
|
|
@@ -88,6 +100,7 @@ jobs:
|
|
|
88
100
|
# tox.ini so that tox will run properly. PYVERSIONS
|
|
89
101
|
# Available versions:
|
|
90
102
|
# https://github.com/actions/python-versions/blob/main/versions-manifest.json
|
|
103
|
+
# https://github.com/actions/setup-python/blob/main/docs/advanced-usage.md#available-versions-of-python-and-pypy
|
|
91
104
|
- "3.11"
|
|
92
105
|
- "3.12"
|
|
93
106
|
- "3.13"
|
|
@@ -98,10 +111,21 @@ jobs:
|
|
|
98
111
|
- "3.16"
|
|
99
112
|
- "3.16t"
|
|
100
113
|
- "pypy-3.11"
|
|
101
|
-
|
|
102
|
-
|
|
114
|
+
|
|
115
|
+
include:
|
|
116
|
+
# Mac PyPy is the slowest to measure, and adds nothing to the
|
|
117
|
+
# coverage data, so only run its tests.
|
|
103
118
|
- os: macos
|
|
104
119
|
python-version: "pypy-3.11"
|
|
120
|
+
skip-coverage: true
|
|
121
|
+
|
|
122
|
+
#
|
|
123
|
+
# If we need to exclude any combinations, do it like this:
|
|
124
|
+
# exclude:
|
|
125
|
+
# # Windows pypy 3.9 and 3.10 get stuck with PyPy 7.3.15.
|
|
126
|
+
# - os: windows
|
|
127
|
+
# python-version: "pypy-3.10"
|
|
128
|
+
#
|
|
105
129
|
# If we need to tweak the os version we can do it with an include like
|
|
106
130
|
# this:
|
|
107
131
|
# include:
|
|
@@ -109,8 +133,7 @@ jobs:
|
|
|
109
133
|
# os: "macos"
|
|
110
134
|
# os-version: "15"
|
|
111
135
|
|
|
112
|
-
|
|
113
|
-
fail-fast: true
|
|
136
|
+
fail-fast: false
|
|
114
137
|
|
|
115
138
|
steps:
|
|
116
139
|
- name: "Check out the repo"
|
|
@@ -135,22 +158,33 @@ jobs:
|
|
|
135
158
|
echo matrix id: "$MATRIX_ID"
|
|
136
159
|
python -VV
|
|
137
160
|
python -m site
|
|
161
|
+
# For extreme debugging:
|
|
162
|
+
# python -c "import urllib.request as r; exec(r.urlopen('https://bit.ly/pydoctor').read())"
|
|
138
163
|
env | sort
|
|
164
|
+
# Ideally, the system Python wouldn't have writable sitepackages so
|
|
165
|
+
# try to make it not writable. We can't always always change the
|
|
166
|
+
# permissions (Ubuntu & Windows yes, Mac no), so be ready for it to fail.
|
|
167
|
+
chmod u-w "$(python -c "import site; print(site.getsitepackages()[0])")" || echo "Couldn't lock down site-packages"
|
|
168
|
+
ls -ld "$(python -c "import site; print(site.getsitepackages()[0])")"
|
|
169
|
+
whoami
|
|
139
170
|
|
|
140
171
|
- name: "Install dependencies"
|
|
141
172
|
run: |
|
|
142
173
|
set -xe
|
|
143
174
|
python -m pip install -r requirements/tox.txt
|
|
144
175
|
|
|
145
|
-
- name: "Run tox
|
|
146
|
-
env:
|
|
147
|
-
COVERAGE_COVERAGE: "yes"
|
|
148
|
-
COVERAGE_CONTEXT: "${{ env.MATRIX_ID }}"
|
|
176
|
+
- name: "Run tox for ${{ matrix.python-version }}"
|
|
149
177
|
run: |
|
|
150
|
-
|
|
151
|
-
|
|
178
|
+
python -m tox -- -rfsEX
|
|
179
|
+
|
|
180
|
+
- name: "Retry tox for ${{ matrix.python-version }}"
|
|
181
|
+
if: failure()
|
|
182
|
+
run: |
|
|
183
|
+
# `exit 1` makes sure that the job remains red with flaky runs
|
|
184
|
+
python -m tox -- -rfsEX --lf -vvvvv && exit 1
|
|
152
185
|
|
|
153
186
|
- name: "Combine data"
|
|
187
|
+
if: ${{ !matrix.skip-coverage }}
|
|
154
188
|
env:
|
|
155
189
|
COVERAGE_RCFILE: "tools/metacov.ini"
|
|
156
190
|
run: |
|
|
@@ -158,15 +192,96 @@ jobs:
|
|
|
158
192
|
mv .metacov ".metacov.$MATRIX_ID"
|
|
159
193
|
|
|
160
194
|
- name: "Upload coverage data"
|
|
195
|
+
if: ${{ !matrix.skip-coverage }}
|
|
161
196
|
uses: actions/upload-artifact@v7.0.2
|
|
162
197
|
with:
|
|
163
198
|
name: metacov-${{ env.MATRIX_ID }}
|
|
164
199
|
path: .metacov.*
|
|
165
200
|
include-hidden-files: true
|
|
166
201
|
|
|
202
|
+
js_tests:
|
|
203
|
+
name: "JavaScript tests"
|
|
204
|
+
runs-on: ubuntu-latest
|
|
205
|
+
timeout-minutes: 30
|
|
206
|
+
|
|
207
|
+
# Don't run tests if the branch name includes "-notests".
|
|
208
|
+
# Only run tests if files that affect the JavaScript tests have changed.
|
|
209
|
+
needs: changed
|
|
210
|
+
if:
|
|
211
|
+
needs.changed.outputs.run_js_tests == 'true'
|
|
212
|
+
&& !contains(github.ref, '-notests')
|
|
213
|
+
|
|
214
|
+
steps:
|
|
215
|
+
- name: "Check out the repo"
|
|
216
|
+
uses: actions/checkout@v7.0.1
|
|
217
|
+
with:
|
|
218
|
+
persist-credentials: false
|
|
219
|
+
|
|
220
|
+
- name: "Set up Python"
|
|
221
|
+
uses: actions/setup-python@v7.1.0
|
|
222
|
+
with:
|
|
223
|
+
python-version: "3.11" # Minimum of PYVERSIONS
|
|
224
|
+
cache: pip
|
|
225
|
+
cache-dependency-path: 'requirements/*.txt'
|
|
226
|
+
|
|
227
|
+
- name: "Install dependencies"
|
|
228
|
+
run: |
|
|
229
|
+
set -xe
|
|
230
|
+
python -m pip install -r requirements/tox.txt
|
|
231
|
+
|
|
232
|
+
- name: "Run the JavaScript tests"
|
|
233
|
+
run: |
|
|
234
|
+
python -m tox -e js
|
|
235
|
+
|
|
236
|
+
old_sqlite:
|
|
237
|
+
# SQLite before 3.34.0 behaves differently in ways that have broken us:
|
|
238
|
+
# https://github.com/coveragepy/coveragepy/issues/2357
|
|
239
|
+
# Rocky 8 has SQLite 3.26.0 and a Python new enough to run coverage.py.
|
|
240
|
+
name: "3.12 on old SQLite 3.26"
|
|
241
|
+
runs-on: ubuntu-latest
|
|
242
|
+
container: rockylinux:8@sha256:9794037624aaa6212aeada1d28861ef5e0a935adaf93e4ef79837119f2a2d04c
|
|
243
|
+
timeout-minutes: 30
|
|
244
|
+
|
|
245
|
+
# Don't run tests if the branch name includes "-notests".
|
|
246
|
+
# Only run tests if files that affect tests have changed.
|
|
247
|
+
needs: changed
|
|
248
|
+
if:
|
|
249
|
+
needs.changed.outputs.run_tests == 'true'
|
|
250
|
+
&& !contains(github.ref, '-notests')
|
|
251
|
+
|
|
252
|
+
steps:
|
|
253
|
+
# Git has to be installed before checkout, or checkout downloads a
|
|
254
|
+
# tarball instead of making a repo.
|
|
255
|
+
- name: "Install system packages"
|
|
256
|
+
run: |
|
|
257
|
+
set -xe
|
|
258
|
+
dnf -y install python3.12 python3.12-pip python3.12-devel gcc git
|
|
259
|
+
|
|
260
|
+
- name: "Check out the repo"
|
|
261
|
+
uses: actions/checkout@v7.0.1
|
|
262
|
+
with:
|
|
263
|
+
persist-credentials: false
|
|
264
|
+
|
|
265
|
+
- name: "Show environment"
|
|
266
|
+
run: |
|
|
267
|
+
set -xe
|
|
268
|
+
python3.12 -VV
|
|
269
|
+
python3.12 -c "import sqlite3; print(sqlite3.sqlite_version)"
|
|
270
|
+
env | sort
|
|
271
|
+
whoami
|
|
272
|
+
|
|
273
|
+
- name: "Install dependencies"
|
|
274
|
+
run: |
|
|
275
|
+
set -xe
|
|
276
|
+
python3.12 -m pip install -r requirements/tox.txt
|
|
277
|
+
|
|
278
|
+
- name: "Run tox for 3.12"
|
|
279
|
+
run: |
|
|
280
|
+
python3.12 -m tox -e py312 -- -rfsEX
|
|
281
|
+
|
|
167
282
|
combine:
|
|
168
283
|
name: "Combine coverage data"
|
|
169
|
-
needs:
|
|
284
|
+
needs: tests
|
|
170
285
|
runs-on: ubuntu-latest
|
|
171
286
|
outputs:
|
|
172
287
|
total: ${{ steps.total.outputs.total }}
|
|
@@ -286,9 +401,35 @@ jobs:
|
|
|
286
401
|
fi
|
|
287
402
|
exit "${status:-0}"
|
|
288
403
|
|
|
404
|
+
# This job aggregates test results. It's the required check for branch protection.
|
|
405
|
+
# https://github.com/marketplace/actions/alls-green#why
|
|
406
|
+
# https://github.com/orgs/community/discussions/33579
|
|
407
|
+
success:
|
|
408
|
+
name: "Tests successful"
|
|
409
|
+
needs:
|
|
410
|
+
- changed
|
|
411
|
+
- tests
|
|
412
|
+
- js_tests
|
|
413
|
+
- old_sqlite
|
|
414
|
+
- combine
|
|
415
|
+
# Without this, GitHub skips this job when `tests` doesn't succeed, so the
|
|
416
|
+
# gate reports "skipped" instead of failing. `allowed-skips` keeps the
|
|
417
|
+
# deliberate skips (-notests branches, no test-relevant files) passing.
|
|
418
|
+
if: always()
|
|
419
|
+
runs-on: ubuntu-latest
|
|
420
|
+
steps:
|
|
421
|
+
- name: "Decide success or failure"
|
|
422
|
+
uses: re-actors/alls-green@v1.3.0
|
|
423
|
+
with:
|
|
424
|
+
jobs: ${{ toJSON(needs) }}
|
|
425
|
+
allowed-skips: tests, js_tests, old_sqlite, combine
|
|
426
|
+
|
|
289
427
|
publish:
|
|
290
428
|
name: "Publish coverage report"
|
|
291
429
|
needs: combine
|
|
430
|
+
if: |
|
|
431
|
+
github.repository_owner == 'coveragepy'
|
|
432
|
+
&& github.ref == 'refs/heads/main'
|
|
292
433
|
runs-on: ubuntu-latest
|
|
293
434
|
environment:
|
|
294
435
|
name: "publish report"
|
|
@@ -317,7 +458,6 @@ jobs:
|
|
|
317
458
|
echo "branch=${REF#refs/heads/}" >> "$GITHUB_ENV"
|
|
318
459
|
|
|
319
460
|
- name: "Checkout reports repo"
|
|
320
|
-
if: ${{ github.ref == 'refs/heads/main' }}
|
|
321
461
|
env:
|
|
322
462
|
# Fine-grained, with write access to coveragepy/metacov-reports
|
|
323
463
|
TOKEN: ${{ secrets.COVERAGE_REPORTS_TOKEN }}
|
|
@@ -332,16 +472,12 @@ jobs:
|
|
|
332
472
|
git checkout main
|
|
333
473
|
|
|
334
474
|
- name: "Download coverage HTML report"
|
|
335
|
-
if: ${{ github.ref == 'refs/heads/main' }}
|
|
336
475
|
uses: actions/download-artifact@v8.0.2
|
|
337
476
|
with:
|
|
338
477
|
name: html_report
|
|
339
478
|
path: reports_repo/${{ env.report_dir }}
|
|
340
479
|
|
|
341
480
|
- name: "Push to report repo"
|
|
342
|
-
if: |
|
|
343
|
-
github.repository_owner == 'coveragepy'
|
|
344
|
-
&& github.ref == 'refs/heads/main'
|
|
345
481
|
env:
|
|
346
482
|
COMMIT_MESSAGE: ${{ github.event.head_commit.message }}
|
|
347
483
|
TOTAL: ${{ needs.combine.outputs.total }}
|
|
@@ -366,9 +502,6 @@ jobs:
|
|
|
366
502
|
echo "[${url}](${url})" >> "$GITHUB_STEP_SUMMARY"
|
|
367
503
|
|
|
368
504
|
- name: "Create badge"
|
|
369
|
-
if: |
|
|
370
|
-
github.repository_owner == 'coveragepy'
|
|
371
|
-
&& github.ref == 'refs/heads/main'
|
|
372
505
|
# https://gist.githubusercontent.com/nedbat/8c6980f77988a327348f9b02bbaf67f5
|
|
373
506
|
uses: schneegans/dynamic-badges-action@v1.9.0
|
|
374
507
|
with:
|
|
@@ -28,6 +28,47 @@ See ``news/*.rst`` files for upcoming changelog fragments.
|
|
|
28
28
|
|
|
29
29
|
.. scriv-insert-here
|
|
30
30
|
|
|
31
|
+
.. _changelog-7.17.5:
|
|
32
|
+
|
|
33
|
+
Version 7.17.5 — 2026-11-23
|
|
34
|
+
---------------------------
|
|
35
|
+
|
|
36
|
+
- Fix: the reporting commands (``report``, ``html``, ``xml``, ``json``,
|
|
37
|
+
``lcov``, and ``annotate``) used to put the current directory first on
|
|
38
|
+
``sys.path``, to let plugins import local files. Now the current directory
|
|
39
|
+
is added only if plugins are configured, and at the end of ``sys.path``, so
|
|
40
|
+
local files can't replace other modules.
|
|
41
|
+
|
|
42
|
+
- Fix: local plugins interfered with ``erase`` and ``combine`` as reported in
|
|
43
|
+
`issue 1726`_. This is now fixed (`pull 2253`_).
|
|
44
|
+
|
|
45
|
+
- Fix: with the sysmon core on Python 3.14, starting and stopping a second
|
|
46
|
+
Coverage object stopped the first one from measuring code it had already
|
|
47
|
+
run. Closes `issue 2302`_.
|
|
48
|
+
|
|
49
|
+
- Fix: combining data files failed with "Conflicting file tracer name" when
|
|
50
|
+
one data file only listed a file without measuring it (as unexecuted source
|
|
51
|
+
files are) and another measured the same file with a plugin. This happened
|
|
52
|
+
in pytest-cov's distributed testing. Now a file with no measurements doesn't
|
|
53
|
+
conflict with a plugin's measurements. Fixes `issue 2358`_.
|
|
54
|
+
|
|
55
|
+
- Fix: saving data while another thread started measuring a new file handled
|
|
56
|
+
by a plugin could fail with "dictionary changed size during iteration".
|
|
57
|
+
Fixed in `pull 2382`_.
|
|
58
|
+
|
|
59
|
+
- Fix: a keyboard interrupt at just the wrong moment could leave a lock locked
|
|
60
|
+
and prevent saving data, as reported in `issue 2383`_. This is now fixed
|
|
61
|
+
(`pull 2396`_).
|
|
62
|
+
|
|
63
|
+
.. _issue 1726: https://github.com/coveragepy/coveragepy/issues/1726
|
|
64
|
+
.. _pull 2253: https://github.com/coveragepy/coveragepy/pull/2253
|
|
65
|
+
.. _issue 2302: https://github.com/coveragepy/coveragepy/issues/2302
|
|
66
|
+
.. _issue 2358: https://github.com/coveragepy/coveragepy/issues/2358
|
|
67
|
+
.. _pull 2382: https://github.com/coveragepy/coveragepy/pull/2382
|
|
68
|
+
.. _issue 2383: https://github.com/coveragepy/coveragepy/issues/2383
|
|
69
|
+
.. _pull 2396: https://github.com/coveragepy/coveragepy/pull/2396
|
|
70
|
+
|
|
71
|
+
|
|
31
72
|
.. _changelog-7.17.4:
|
|
32
73
|
|
|
33
74
|
Version 7.17.4 — 2026-11-20
|
|
@@ -48,7 +48,7 @@ mypy: #- Run the type checker.
|
|
|
48
48
|
tox -q -e mypy
|
|
49
49
|
|
|
50
50
|
precommit: #- Run the pre-commit checks.
|
|
51
|
-
|
|
51
|
+
pre-commit run --all-files --show-diff-on-failure
|
|
52
52
|
|
|
53
53
|
quality: lint mypy precommit #- Run all the quality checks.
|
|
54
54
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: coverage
|
|
3
|
-
Version: 7.17.
|
|
3
|
+
Version: 7.17.5
|
|
4
4
|
Summary: Code coverage measurement for Python
|
|
5
5
|
Home-page: https://github.com/coveragepy/coveragepy
|
|
6
6
|
Author: Ned Batchelder and many others
|
|
7
7
|
Author-email: ned@nedbatchelder.com
|
|
8
8
|
License: Apache-2.0
|
|
9
|
-
Project-URL: Documentation, https://coverage.readthedocs.io/en/7.17.
|
|
9
|
+
Project-URL: Documentation, https://coverage.readthedocs.io/en/7.17.5
|
|
10
10
|
Project-URL: Funding, https://tidelift.com/subscription/pkg/pypi-coverage?utm_source=pypi-coverage&utm_medium=referral&utm_campaign=pypi
|
|
11
11
|
Project-URL: Issues, https://github.com/coveragepy/coveragepy/issues
|
|
12
12
|
Project-URL: Mastodon, https://hachyderm.io/@coveragepy
|
|
@@ -81,7 +81,7 @@ Coverage.py runs on these versions of Python:
|
|
|
81
81
|
Documentation is on `Read the Docs`_. Code repository and issue tracker are on
|
|
82
82
|
`GitHub`_.
|
|
83
83
|
|
|
84
|
-
.. _Read the Docs: https://coverage.readthedocs.io/en/7.17.
|
|
84
|
+
.. _Read the Docs: https://coverage.readthedocs.io/en/7.17.5/
|
|
85
85
|
.. _GitHub: https://github.com/coveragepy/coveragepy
|
|
86
86
|
|
|
87
87
|
|
|
@@ -110,7 +110,7 @@ Getting Started
|
|
|
110
110
|
Looking to run ``coverage`` on your test suite? See the `Quick Start section`_
|
|
111
111
|
of the docs.
|
|
112
112
|
|
|
113
|
-
.. _Quick Start section: https://coverage.readthedocs.io/en/7.17.
|
|
113
|
+
.. _Quick Start section: https://coverage.readthedocs.io/en/7.17.5/#quick-start
|
|
114
114
|
|
|
115
115
|
|
|
116
116
|
Change History
|
|
@@ -118,7 +118,7 @@ Change History
|
|
|
118
118
|
|
|
119
119
|
The complete history of changes is on the `change history page`_.
|
|
120
120
|
|
|
121
|
-
.. _change history page: https://coverage.readthedocs.io/en/7.17.
|
|
121
|
+
.. _change history page: https://coverage.readthedocs.io/en/7.17.5/changes.html
|
|
122
122
|
|
|
123
123
|
|
|
124
124
|
Code of Conduct
|
|
@@ -142,7 +142,7 @@ coverage.py, but importantly:
|
|
|
142
142
|
- Include tests but don't over-mock.
|
|
143
143
|
- Describe user-visible changes in a scriv changelog fragment.
|
|
144
144
|
|
|
145
|
-
.. _Contributing section: https://coverage.readthedocs.io/en/7.17.
|
|
145
|
+
.. _Contributing section: https://coverage.readthedocs.io/en/7.17.5/contributing.html
|
|
146
146
|
|
|
147
147
|
|
|
148
148
|
Security
|
|
@@ -170,7 +170,7 @@ Licensed under the `Apache 2.0 License`_. For details, see `NOTICE.txt`_.
|
|
|
170
170
|
:target: https://github.com/coveragepy/coveragepy/actions/workflows/quality.yml
|
|
171
171
|
:alt: Quality check status
|
|
172
172
|
.. |docs| image:: https://readthedocs.org/projects/coverage/badge/?version=latest&style=flat
|
|
173
|
-
:target: https://coverage.readthedocs.io/en/7.17.
|
|
173
|
+
:target: https://coverage.readthedocs.io/en/7.17.5/
|
|
174
174
|
:alt: Documentation
|
|
175
175
|
.. |kit| image:: https://img.shields.io/pypi/v/coverage
|
|
176
176
|
:target: https://pypi.org/project/coverage/
|
|
@@ -774,7 +774,7 @@ def show_help(
|
|
|
774
774
|
print(help_msg.format(**help_params))
|
|
775
775
|
else:
|
|
776
776
|
print(f"Don't know topic {topic!r}")
|
|
777
|
-
print("Full documentation is at {__url__}"
|
|
777
|
+
print(f"Full documentation is at {__url__}")
|
|
778
778
|
|
|
779
779
|
|
|
780
780
|
OK, ERR, FAIL_UNDER = 0, 1, 2
|
|
@@ -852,6 +852,16 @@ class CoverageScript:
|
|
|
852
852
|
messages=not options.quiet,
|
|
853
853
|
)
|
|
854
854
|
|
|
855
|
+
# We need to be able to import from the current directory, because
|
|
856
|
+
# plugins may try to, for example, to read Django settings. The "run"
|
|
857
|
+
# command is excluded: PyRunner.prepare() owns sys.path[0] there.
|
|
858
|
+
if options.action != "run":
|
|
859
|
+
if self.coverage.get_option("run:plugins"):
|
|
860
|
+
# It goes last: reporting shouldn't run the code being reported
|
|
861
|
+
# on, so files in the current directory must not be found
|
|
862
|
+
# instead of stdlib or installed modules.
|
|
863
|
+
sys.path.append("")
|
|
864
|
+
|
|
855
865
|
if options.action == "debug":
|
|
856
866
|
return self.do_debug(args)
|
|
857
867
|
|
|
@@ -879,10 +889,6 @@ class CoverageScript:
|
|
|
879
889
|
contexts=contexts,
|
|
880
890
|
)
|
|
881
891
|
|
|
882
|
-
# We need to be able to import from the current directory, because
|
|
883
|
-
# plugins may try to, for example, to read Django settings.
|
|
884
|
-
sys.path.insert(0, "")
|
|
885
|
-
|
|
886
892
|
self.coverage.load()
|
|
887
893
|
self.coverage.combine(strict=False, keep=bool(options.keep_combined))
|
|
888
894
|
|
|
@@ -218,22 +218,17 @@ class Collector:
|
|
|
218
218
|
# Our active Tracers.
|
|
219
219
|
self.tracers: list[Tracer] = []
|
|
220
220
|
|
|
221
|
-
def lock_data(self) -> None:
|
|
222
|
-
"""Lock self.data_lock, for use by tracers."""
|
|
223
|
-
if self.data_lock is not None:
|
|
224
|
-
self.data_lock.acquire()
|
|
225
|
-
|
|
226
|
-
def unlock_data(self) -> None:
|
|
227
|
-
"""Unlock self.data_lock, for use by tracers."""
|
|
228
|
-
if self.data_lock is not None:
|
|
229
|
-
self.data_lock.release()
|
|
230
|
-
|
|
231
221
|
def _start_tracer(self) -> TTraceFn | None:
|
|
232
222
|
"""Start a new Tracer object, and store it in self.tracers."""
|
|
233
223
|
tracer = self.core.tracer_class(**self.core.tracer_kwargs)
|
|
234
224
|
tracer.data = self.data
|
|
235
|
-
tracer
|
|
236
|
-
|
|
225
|
+
# Hand the tracer the lock's own C methods, so no Python code (and no
|
|
226
|
+
# signal handler) can run while the lock is held.
|
|
227
|
+
if self.data_lock is not None:
|
|
228
|
+
tracer.lock_data = self.data_lock.acquire
|
|
229
|
+
tracer.unlock_data = self.data_lock.release
|
|
230
|
+
else:
|
|
231
|
+
tracer.lock_data = tracer.unlock_data = lambda: None
|
|
237
232
|
tracer.trace_arcs = self.branch
|
|
238
233
|
tracer.should_trace = self.should_trace
|
|
239
234
|
tracer.should_trace_cache = self.should_trace_cache
|
|
@@ -474,9 +469,11 @@ class Collector:
|
|
|
474
469
|
line_data = cast(dict[str, Collection[int]], snapshots)
|
|
475
470
|
self.covdata.add_lines(self.mapped_file_dict(line_data))
|
|
476
471
|
|
|
472
|
+
# Tracers in other threads add to file_tracers too, so iterate a
|
|
473
|
+
# snapshot of it, like the data above.
|
|
477
474
|
file_tracers = {
|
|
478
475
|
self.cached_mapped_file(k): v
|
|
479
|
-
for k, v in self.file_tracers.items()
|
|
476
|
+
for k, v in self.file_tracers.copy().items()
|
|
480
477
|
if v not in self.disabled_plugins
|
|
481
478
|
}
|
|
482
479
|
self.covdata.add_file_tracers(file_tracers)
|
|
@@ -626,14 +626,11 @@ class Coverage(TConfigurable):
|
|
|
626
626
|
|
|
627
627
|
# Early warning if we aren't going to be able to support plugins.
|
|
628
628
|
if self._plugins.file_tracers and not self._core.supports_plugins:
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
", ".join(
|
|
632
|
-
plugin._coverage_plugin_name for plugin in self._plugins.file_tracers
|
|
633
|
-
),
|
|
634
|
-
self._collector.tracer_name(),
|
|
635
|
-
),
|
|
629
|
+
plug_names = ", ".join(
|
|
630
|
+
plugin._coverage_plugin_name for plugin in self._plugins.file_tracers
|
|
636
631
|
)
|
|
632
|
+
tracer = self._collector.tracer_name()
|
|
633
|
+
self._warn(f"Plugin file tracers ({plug_names}) aren't supported with {tracer}")
|
|
637
634
|
for plugin in self._plugins.file_tracers:
|
|
638
635
|
plugin._coverage_enabled = False
|
|
639
636
|
|