Bump sphinx-rtd-theme from 1.3.0 to 2.0.0#135
Conversation
LabelsThe following labels could not be found: Please fix the above issues or remove invalid values from |
There was a problem hiding this comment.
Pull request overview
Updates the documentation/dev dependency sphinx-rtd-theme to resolve to v2.0.0 (per lockfile), aligning the project’s dev docs toolchain with the newer Read the Docs Sphinx theme release.
Changes:
- Relax
sphinx-rtd-themeconstraint inpyproject.tomland re-lock dependencies. - Update
poetry.lockto pinsphinx-rtd-themeat2.0.0(and refresh lock metadata/markers).
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| pyproject.toml | Updates the declared version constraint for sphinx-rtd-theme in dev dependencies. |
| poetry.lock | Pins sphinx-rtd-theme to 2.0.0 and updates lock metadata accordingly. |
| sphinx = "^5.0" | ||
| sphinx-autodoc-typehints = "^1.21" | ||
| sphinx-rtd-theme = "^1.2" | ||
| sphinx-rtd-theme = ">=1.2,<3.0" |
There was a problem hiding this comment.
The PR title/description says this bumps sphinx-rtd-theme to 2.0.0, but the updated constraint allows any 1.x version (and even 1.2). This can permit downgrades on future resolves and doesn’t accurately express the intended upgrade. Consider tightening the lower bound to >=2.0.0 (or using a caret constraint for 2.x) so the dependency spec matches the bump intent. Also note that ReadTheDocs installs from docs/requirements.txt, which is unpinned, so its docs build may still drift from the Poetry-resolved theme version unless that file is aligned.
Bumps [sphinx-rtd-theme](https://github.com/readthedocs/sphinx_rtd_theme) from 1.3.0 to 2.0.0. - [Changelog](https://github.com/readthedocs/sphinx_rtd_theme/blob/master/docs/changelog.rst) - [Commits](readthedocs/sphinx_rtd_theme@1.3.0...2.0.0) --- updated-dependencies: - dependency-name: sphinx-rtd-theme dependency-version: 2.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
64ea7d1 to
079cfc2
Compare
Bumps sphinx-rtd-theme from 1.3.0 to 2.0.0.
Changelog
Sourced from sphinx-rtd-theme's changelog.
Commits
7c9b1b5Release 2.0 final (#1544)c104410Bump for next potential release, 2.0.0rc5 (#1539)53ca116Release 2.0.0rc4 (#1538)4498e97Fix AttributeError when one ofcss_filesis a string (#1537)84aea9bIncrement for next potential release (#1536)febde39Release 2.0.0rc3 (#1535)32310a8Fix #1522: fix'str' object has no attribute 'attributes'(#1528)8ce23ceVersion bump for 2.0rc3 development (#1521)46f5307Release 2.0rc2 (#1520)5838e6aAdd support fordocutils==0.20.x(#1517)Note
Low Risk
Low risk dependency/lockfile update confined to dev-time documentation tooling; main runtime code is unaffected, with the main risk being doc build compatibility changes from the theme bump.
Overview
Updates the docs toolchain by bumping
sphinx-rtd-themeto2.0.0and widening the allowed version range inpyproject.toml.Regenerates
poetry.lock(Poetry generator version change), updating the resolved dependency set/markers (notablydocutils/sphinxconstraints for the theme) and adding thestandard-imghdrlock entry for Python3.13+.Written by Cursor Bugbot for commit 079cfc2. This will update automatically on new commits. Configure here.