Fix: in some cases, even with [run] relative_files=True, a data file
could be created with absolute path names. When combined with other relative
data files, it was random whether the absolute file names would be made
relative or not. If they weren't, then a file would be listed twice in
reports, as detailed in issue 1752_. This is now fixed: absolute file
names are always made relative when combining. Thanks to Bruno Rodrigues dos
Santos for support.
Fix: the last case of a match/case statement had an incorrect message if the
branch was missed. It said the pattern never matched, when actually the
branch is missed if the last case always matched.
Fix: clicking a line number in the HTML report now positions more accurately.
Fix: the report:format setting was defined as a boolean, but should be a
string. Thanks, Tanaydin Sirin <pull 1754_>_. It is also now documented
on the :ref:configuration page <config_report_format>.
Explicitly use encoding="locale" for .pth files whenever possible,
to reduce EncodingWarnings.
This avoid errors with UTF-8 (see discussion in python/cpython#77102). (#4265)
Bugfixes
Clarify some pkg_resources methods return bytes, not str. Also return an empty bytes in EmptyProvider._get -- by :user:Avasam (#4243)
Return an empty list by default in pkg_resources.ResourceManager.cleanup_resources -- by :user:Avasam (#4244)
Made pkg_resoursces.NullProvider's has_metadata and metadata_isdir methods return actual booleans like all other Providers. -- by :user:Avasam (#4254)
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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the all-dependencies group with 4 updates: pydantic, coverage, ruff and setuptools.
Updates
pydantic
from 2.6.3 to 2.6.4Release notes
Sourced from pydantic's releases.
Changelog
Sourced from pydantic's changelog.
Commits
6214a4b
2.6.4 prep (#8975)Updates
coverage
from 7.4.3 to 7.4.4Changelog
Sourced from coverage's changelog.
Commits
bc5e2d7
docs: sample HTML for 7.4.49b0008b
docs: prep for 7.4.4a536161
docs: thanks, Bruno Rodrigues dos Santose06e4f9
chore: make doc_upgradef30818e
chore: make upgrade1b19799
fix: ensure absolute paths are relative when combined #17521ef020d
build: more cheats for convenient URLs3d57a07
docs: document the report:format setting8e30221
fix: correct the type of report:format in config.py (#1754)6289be8
refactor: use dataclasses, no namedtupleUpdates
ruff
from 0.3.2 to 0.3.3Release notes
Sourced from ruff's releases.
... (truncated)
Changelog
Sourced from ruff's changelog.
Commits
608df9a
Bump version to 0.3.3 (#10425)740c08b
[pylint
] - implementredeclared-assigned-name
(W0128
) (#9268)7e652e8
[flake8_comprehensions
] Handled special case forC400
which also matches ...9675e18
Allow trailing ellipsis intyping.TYPE_CHECKING
(#10413)10ace88
Track conditional deletions in the semantic model (#10415)a8e50a7
[RUF008] Make it clearer that a mutable default in a dataclass is only valid ...e944c16
[pycodestyle
] Do not ignore lines before the first logical line in blank li...5f40371
UseExprFString
forStringLike::FString
variant (#10311)f7802ad
[pylint
] Extend docs and test ininvalid-str-return-type
(E307
) (#10400)e832327
Require --preview forruff server
(#10368)Updates
setuptools
from 69.1.1 to 69.2.0Changelog
Sourced from setuptools's changelog.
Commits
6ee23bf
Bump version: 69.1.1 → 69.2.035df7d0
Update upload-artefact action to v3 (#4274)50f0459
Update .github/workflows/ci-sage.ymlc9e6b2a
Update upload-artefact action to v49156fc0
Update cygwin-install-action to v4 (#4269)e0cb8e8
Update cygwin-install-action0badbf5
Update checkout action to v4 (#4272)fe64b70
Update setup-python action to v5 (#4271)b40a70b
Merge branch 'main' into update-setup-python-actionc3dc91e
CI: Update cache action to v4 (#4275)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 show