Check out the blog post for a migration guide and overview of the changes!
Breaking changes
The pytest rules PT001 and PT023 now default to omitting the decorator parentheses when there are no arguments
(#12838, #13292).
This was a change that we attempted to make in Ruff v0.6.0, but only partially made due to an error on our part.
See the blog post for more details.
The useless-try-except rule (in our tryceratops category) has been recoded from TRY302 to
TRY203 (#13502). This ensures Ruff's code is consistent with
the same rule in the tryceratops linter.
[flake8-simplify] Stabilize preview behavior for SIM115 so that the rule can detect files
being opened from a wider range of standard-library functions (#12959).
CLI
Add explanation of fixable in --statistics command (#13774)
Check out the blog post for a migration guide and overview of the changes!
Breaking changes
The pytest rules PT001 and PT023 now default to omitting the decorator parentheses when there are no arguments
(#12838, #13292).
This was a change that we attempted to make in Ruff v0.6.0, but only partially made due to an error on our part.
See the blog post for more details.
The useless-try-except rule (in our tryceratops category) has been recoded from TRY302 to
TRY203 (#13502). This ensures Ruff's code is consistent with
the same rule in the tryceratops linter.
[flake8-simplify] Stabilize preview behavior for SIM115 so that the rule can detect files
being opened from a wider range of standard-library functions (#12959).
CLI
Add explanation of fixable in --statistics command (#13774)
#13013: Restore support for :func:!cut_lines with no object type.
Patch by Adam Turner.
Release 8.1.2 (released Oct 12, 2024)
Bugs fixed
#13012: Expose :exc:sphinx.errors.ExtensionError in sphinx.util
for backwards compatibility.
This will be removed in Sphinx 9, as exposing the exception
in sphinx.util was never intentional.
:exc:!ExtensionError has been part of sphinx.errors since Sphinx 0.9.
Patch by Adam Turner.
Release 8.1.1 (released Oct 11, 2024)
Bugs fixed
#13006: Use the preferred https://www.cve.org/ URL for
the :rst:role::cve: <cve> role.
Patch by Hugo van Kemenade.
#13007: LaTeX: Improve resiliency when the required
fontawesome or fontawesome5 packages are not installed.
Patch by Jean-François B.
Release 8.1.0 (released Oct 10, 2024)
Dependencies
#12756: Add lower-bounds to the sphinxcontrib-* dependencies.
Patch by Adam Turner.
#12833: Update the LaTeX parskip package from 2001 to 2018.
Patch by Jean-François B.
Incompatible changes
#12763: Remove unused internal class sphinx.util.Tee.
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
Updates the requirements on ruff, radon, pylint, sphinx, sphinx-autoapi and sphinx-immaterial to permit the latest version. Updates
ruff
to 0.7.0Release notes
Sourced from ruff's releases.
... (truncated)
Changelog
Sourced from ruff's changelog.
... (truncated)
Commits
5e6de4e
Changelog for Ruff v0.7 (#13794)70e5c4a
RecodeTRY302
toTRY203
(#13502)9218d6b
Removeallow-unused-imports
setting from the common lint options (#13677)1b79ae9
[ruff-0.7] Stabilise the expansion ofopen-file-with-context-handler
to wor...2b87587
[flake8-pytest-style
] Fix defaults whenlint.flake8-pytest-style
config s...d1e15f6
Remove tab-size setting (#12835)89a8215
Remove error messages for removed CLI aliases (#12833)202c6a6
Removeoutput-format=text
setting (#12836)5c3c0c4
[red-knot] Inference for comparison of union types (#13781)6b7a738
Add explanation of fixable in--statistics
command (#13774)Updates
radon
to 6.0.1Changelog
Sourced from radon's changelog.
... (truncated)
Commits
5061d86
chore(release): bump to v6.0.11be986d
fix: tomllib name error when not supported864c461
chore(release): bump to v6.0.0e6e5152
chore: add pyproject.toml and poetry.lock786ac37
fix: tests across versionsa2359ce
chore: improve documentation around pyproject.toml usage5f65de3
feat: pyproject.toml support (#236)4ac025c
feat: add support for match pattern (#227)84db767
chore: mando 0.7 support (#237)27b78d1
fix: HCHarvester JSON results format (#240)Updates
pylint
to 3.3.1Commits
76bce72
Bump pylint to 3.3.1, update changelog (#9954)55ee816
Bump astroid to 3.3.4 (#9951) (#9952)6350dfa
Bump pylint to 3.3.0, update changelog78f3dfa
Bump astroid to 3.3.3 (#9939)b28c1f6
Add check forunnecessary-default-type-args
(#9938)bd97b93
[doc framework] Assert that the good and bad example exists in the doc (#9936)7aa4436
Fix duplicate workflow step ids (#9934)0950916
[pre-commit] Add codespell, and fix some existing typos (#9912)3b4a7f9
Add details.rst for c-extension-no-member (#9933)7d60c27
Explicitly save cache in primer jobsUpdates
sphinx
to 8.1.3Release notes
Sourced from sphinx's releases.
Changelog
Sourced from sphinx's changelog.
... (truncated)
Commits
a1510de
Bump to 8.1.3 final62e9606
Restore support forcut_lines()
with no object type (#13015)5ae32ce
Bump versiona72b47b
Bump to 8.1.2 final39a45ad
ExposeExtensionError
insphinx.util
for backwards compatibility.5a4859a
Add docs about sphinx-autobuild (#13011)05679ef
Type-check the 'autodoc_intenum' example (#12827)86d1d31
Prune CHANGES of unneeded sectionsb6269d3
Improve documentation for the Builder API (#13008)c46abc4
Improve clarity formaster_doc
androot_doc
Updates
sphinx-autoapi
to 3.3.2Release notes
Sourced from sphinx-autoapi's releases.
Changelog
Sourced from sphinx-autoapi's changelog.
... (truncated)
Commits
b9b2a95
Version 3.3.2b14c0cc
Fix types missing from documentation generated by autodoc-style directives841ce10
Version 3.3.16877c81
Tests pass when ssl module is not included in the Python distribution367cd96
Update all github actions5d53f92
Fix all class members missing when documenting a module with the same name as...74770d3
Fix some typo and minor formatting issues in the docs06780e3
Version 3.3.01a0db7d
Fix missing future import for Python 3.81d1aa29
Fix instance attributes not being documented by inherited-membersUpdates
sphinx-immaterial
to 0.12.4Release notes
Sourced from sphinx-immaterial's releases.
Commits
da75ebe
fix: support for sphinx v8.1.0 (#393)0aabb88
revert trusted publisher release config in CI3800ad4
add CI permission for trusted publisher attestationc22d74a
Bump pypa/gh-action-pypi-publish from 1.9.0 to 1.10.3 (#391)3c5d985
format_signatures: Fix whitespace issues and add tests (#381)7852e3b
Fix incorrect name for myst-example directive in docs0a57b77
fix: support for graphviz v12.1.0 (#390)3c8fe16
python/apigen: Fix support for pybind11 overloaded functionsc05be47
Fix C/C++ domain support for :node-id: and :symbol-ids:cbbf71f
cpp/apigen: Fix handling of unnamed template parametersDependabot 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