-
-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support Sphinx 8.2.0 - drop 3.10 support because Sphinx does (#525)
* chore(deps): update dependency sphinx to v8.2.0 * refactor: patch stringify_annotation with arbitrary *args and **kwargs * fix: derive annotation for TypeAliasForwardRef from its name attribute TypeAliasForwardRef.__repr__ was changed in sphinx v8.2.0 to not only yield the name, but also the class name. * test: update warning message "unpickable" was renamed to "unpickleable" in sphinx v8.2.0 * feat: respect configuration option python_display_short_literal_types https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-python_display_short_literal_types * Sphinx 8.2 drops 3.10 support Signed-off-by: Bernát Gábor <[email protected]> --------- Signed-off-by: Bernát Gábor <[email protected]> Co-authored-by: Bernát Gábor <[email protected]>
- Loading branch information
1 parent
f09eb89
commit ca5fcc0
Showing
9 changed files
with
91 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,6 @@ jobs: | |
- "3.13" | ||
- "3.12" | ||
- "3.11" | ||
- "3.10" | ||
- type | ||
- dev | ||
- pkg_meta | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,7 @@ repos: | |
hooks: | ||
- id: prettier | ||
additional_dependencies: | ||
- prettier@3.4.2 | ||
- prettier@3.5.1 | ||
- "@prettier/[email protected]" | ||
- repo: meta | ||
hooks: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,15 +23,14 @@ maintainers = [ | |
authors = [ | ||
{ name = "Bernát Gábor", email = "[email protected]" }, | ||
] | ||
requires-python = ">=3.10" | ||
requires-python = ">=3.11" | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Framework :: Sphinx :: Extension", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: MIT License", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Programming Language :: Python :: 3.13", | ||
|
@@ -41,16 +40,16 @@ dynamic = [ | |
"version", | ||
] | ||
dependencies = [ | ||
"sphinx>=8.1.3", | ||
"sphinx>=8.2", | ||
] | ||
optional-dependencies.docs = [ | ||
"furo>=2024.8.6", | ||
] | ||
optional-dependencies.testing = [ | ||
"covdefaults>=2.3", | ||
"coverage>=7.6.10", | ||
"coverage>=7.6.12", | ||
"defusedxml>=0.7.1", # required by sphinx.testing | ||
"diff-cover>=9.2.1", | ||
"diff-cover>=9.2.3", | ||
"pytest>=8.3.4", | ||
"pytest-cov>=6", | ||
"sphobjinv>=2.3.1.2", | ||
|
@@ -142,7 +141,7 @@ run.plugins = [ | |
] | ||
|
||
[tool.mypy] | ||
python_version = "3.10" | ||
python_version = "3.11" | ||
strict = true | ||
exclude = "^(.*/roots/.*)|(tests/test_integration.*.py)$" | ||
overrides = [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters