| |
@@ -1,23 +0,0 @@
|
| |
- From a314927e7451c255f7d4678feef32048dab5f9b2 Mon Sep 17 00:00:00 2001
|
| |
- From: Adam Turner <9087854+aa-turner@users.noreply.github.com>
|
| |
- Date: Sat, 9 Apr 2022 20:38:47 +0100
|
| |
- Subject: [PATCH] Fix test_restify
|
| |
-
|
| |
- ---
|
| |
- sphinx/util/typing.py | 3 +++
|
| |
- 1 file changed, 3 insertions(+)
|
| |
-
|
| |
- diff --git a/sphinx/util/typing.py b/sphinx/util/typing.py
|
| |
- index 1534b2c8ee..8e48b184bc 100644
|
| |
- --- a/sphinx/util/typing.py
|
| |
- +++ b/sphinx/util/typing.py
|
| |
- @@ -215,6 +215,9 @@ def _restify_py37(cls: Optional[Type], mode: str = 'fully-qualified-except-typin
|
| |
- return text
|
| |
- elif isinstance(cls, typing._SpecialForm):
|
| |
- return ':py:obj:`~%s.%s`' % (cls.__module__, cls._name)
|
| |
- + elif sys.version_info >= (3, 11) and cls is typing.Any:
|
| |
- + # handle bpo-46998
|
| |
- + return f':py:obj:`~{cls.__module__}.{cls.__name__}`'
|
| |
- elif hasattr(cls, '__qualname__'):
|
| |
- if cls.__module__ == 'typing':
|
| |
- return ':py:class:`~%s.%s`' % (cls.__module__, cls.__qualname__)
|
| |
Impact check ongoing: https://copr.fedorainfracloud.org/coprs/ksurma/sphinx-5/
Biggest blocker so far: python-breathe (10 more packages FTB because of it)
Packages with pinned deps to Sphinx < 5:
Sphinx < 5:
python-breathe-0:4.33.1-2.fc37.src
python-h2-0:4.1.0-7.fc37.src
python-myst-parser-0:0.17.2-2.fc37.src- PR to update to 0.18.0 in dist-gitpython-priority-0:2.0.0-7.fc37.src
python-sphinx-panels-0:0.6.0-3.fc37.src
python-sphinx-tabs-0:3.1.0-7.fc37.src
python3-sphinxcontrib-zopeext-0:0.3.2-3.fc37.noarch