Fix: the LCOV report code assumed that a branch line that took no branches
meant that the entire line was unexecuted. This isn't true in a few cases:
the line might always raise an exception, or might have been optimized away.
Fixes issue 1896_.
Fix: similarly, the HTML report will now explain that a line that jumps to
none of its expected destinations must have always raised an exception.
Previously, it would say something nonsensical like, "line 4 didn't jump to
line 5 because line 4 was never true, and it didn't jump to line 7 because
line 4 was always true." This was also shown in issue 1896_.
pydoclint diagnostics now point to the first-line of the problematic docstring. Previously, this was not the case.
If you've opted into these preview rules but have them suppressed using
noqa comments in
some places, this change may mean that you need to move the noqa suppression
comments. Most users should be unaffected by this change.
Use XDG (i.e. ~/.local/bin) instead of the Cargo home directory in the standalone installer
Previously, Ruff's installer used $CARGO_HOME or ~/.cargo/bin for its target install directory. Now, Ruff will be installed into $XDG_BIN_HOME, $XDG_DATA_HOME/../bin, or ~/.local/bin (in that order).
This change is only relevant to users of the standalone Ruff installer (using the shell or PowerShell script). If you installed Ruff using uv or pip, you should be unaffected.
Changes to the line width calculation
Ruff now uses a new version of the unicode-width Rust crate to calculate the line width. In very rare cases, this may lead to lines containing Unicode characters being reformatted, or being considered too long when they were not before (E501).
pydoclint diagnostics now point to the first-line of the problematic docstring. Previously, this was not the case.
If you've opted into these preview rules but have them suppressed using
noqa comments in
some places, this change may mean that you need to move the noqa suppression
comments. Most users should be unaffected by this change.
Use XDG (i.e. ~/.local/bin) instead of the Cargo home directory in the standalone installer
Previously, Ruff's installer used $CARGO_HOME or ~/.cargo/bin for its target install directory. Now, Ruff will be installed into $XDG_BIN_HOME, $XDG_DATA_HOME/../bin, or ~/.local/bin (in that order).
This change is only relevant to users of the standalone Ruff installer (using the shell or PowerShell script). If you installed Ruff using uv or pip, you should be unaffected.
Changes to the line width calculation
Ruff now uses a new version of the unicode-width Rust crate to calculate the line width. In very rare cases, this may lead to lines containing Unicode characters being reformatted, or being considered too long when they were not before (E501).
Regression from 0.24.1 and 0.24.0 where sorting inline tables would throw a ValueError if the key in the table had trailing spaces. Resolves pappasam/toml-sort#76
Regression from 0.24.1 and 0.24.0 where sorting inline tables would throw a ValueError if the key in the table had trailing spaces. Resolves pappasam/toml-sort#76
Added a redirection from wheel.bdist_wheel.bdist_wheel to
setuptools.command.bdist_wheel.bdist_wheel to improve compatibility with
setuptools' latest fixes.
Projects are still advised to migrate away from the deprecated module and import
the setuptools' implementation explicitly. (PR by @abravalheri)
0.44.0 (2024-08-04)
Canonicalized requirements in METADATA file (PR by Wim Jeantine-Glenn)
Deprecated the bdist_wheel module, as the code was migrated to setuptools
itself
0.43.0 (2024-03-11)
Dropped support for Python 3.7
Updated vendored packaging to 24.0
0.42.0 (2023-11-26)
Allowed removing build tag with wheel tags --build ""
Fixed wheel pack and wheel tags writing updated WHEEL fields after a
blank line, causing other tools to ignore them
Fixed wheel pack and wheel tags writing WHEEL with CRLF line endings or
a mix of CRLF and LF
Fixed wheel pack --build-number "" not removing build tag from WHEEL
(above changes by Benjamin Gilbert)
0.41.3 (2023-10-30)
Updated vendored packaging to 23.2
Fixed ABI tag generation for CPython 3.13a1 on Windows (PR by Sam Gross)
0.41.2 (2023-08-22)
Fixed platform tag detection for GraalPy and 32-bit python running on an aarch64
kernel (PR by Matthieu Darbois)
Fixed wheel tags to not list directories in RECORD files
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 dependencies group in /.config with 5 updates:
7.6.7
7.6.8
9.5.44
9.5.45
0.7.4
0.8.0
0.24.0
0.24.2
0.45.0
0.45.1
Updates
coverage
from 7.6.7 to 7.6.8Changelog
Sourced from coverage's changelog.
Commits
6134266
docs: sample HTML for 7.6.8041f963
docs: prep for 7.6.87fe48b6
build: don't search generated report filesf219144
docs: start changelog entries with capital lettersd1a916a
fix: a line that branches nowhere must always raise an exception2ace7a2
fix: don't assume 'no branches' means 'not executed' #18963ed5915
style: all of ci should use underscores0db86f2
build: automate updating readthedocs2a89551
chore: make upgrade (not sure why files became absolute)ba9c157
chore: make doc_upgradeUpdates
mkdocs-material
from 9.5.44 to 9.5.45Release notes
Sourced from mkdocs-material's releases.
Changelog
Sourced from mkdocs-material's changelog.
... (truncated)
Commits
0947f73
Prepare 9.5.45 releasea08809a
Fixed blog plugin crashing on dates with timezones (#7708)d4f0b66
Added Caption extension to JSON schema (#7718)51c9f9a
Updated dependencies596aeea
Updated link for Material Design Icons5c9ee60
Revert "Temporarily pin hatchling to fix build"c4edbbc
Updated READMEd56a9dd
Temporarily pin hatchling to fix build1cec53f
Documentation (#7693)01585d1
Updated dependenciesUpdates
ruff
from 0.7.4 to 0.8.0Release notes
Sourced from ruff's releases.
... (truncated)
Changelog
Sourced from ruff's changelog.
... (truncated)
Commits
a90e404
[red-knot] PEP 695 type aliases (#14357)8358ad8
Ruff 0.8 release (#14486)2b8b1ef
Improve docs for some pycodestyle rules (#14517)2efa3fb
[flake8-import-conventions
] Syntax check aliases supplied in configuration ...b9da430
doc(B024): #14455 add annotated but unassgined class variables (#14502)87043a2
Limit type size assertion to 64bit (#14514)f684b6f
[red-knot] Fix: Infer type for typing.Union[..] tuple expression (#14510)47f39ed
[red-knot] Meta data forType::Todo
(#14500)aecdb8c
[red-knot] supporttyping.Union
in type annotations (#14499)3c52d2d
Improve the performance of the formatter instability check job (#14471)Updates
toml-sort
from 0.24.0 to 0.24.2Release notes
Sourced from toml-sort's releases.
Changelog
Sourced from toml-sort's changelog.
Commits
4ec2489
Bump version, update changelog, readme tweaks1d986cc
Merge pull request #77 from vfazio/vfazio-inline-first-sort9027991
Fix sorting "first" keys for inline tables4ba1cbd
tests: add new "first" key test caseba64498
Make gha consistent99d0943
gha: setup-python@v4 -> setup-python@v5463d576
Bump version, update changelogb6b9d56
Remove asdf recommendation4c30075
Remove pre-commit install step05572d1
Re-add pre-commit-hooksUpdates
wheel
from 0.45.0 to 0.45.1Release notes
Sourced from wheel's releases.
Changelog
Sourced from wheel's changelog.
... (truncated)
Commits
7855525
Created a new released343391
Fixed wrong wheel file names in converted pure-Python eggs/wininstsDependabot 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