Sphinx 7.3.4__py3-none-any.whl → 7.3.5__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of Sphinx might be problematic. Click here for more details.

sphinx/__init__.py CHANGED
@@ -1,6 +1,6 @@
1
1
  """The Sphinx documentation toolchain."""
2
2
 
3
- __version__ = '7.3.4'
3
+ __version__ = '7.3.5'
4
4
  __display_version__ = __version__ # used for command line version
5
5
 
6
6
  # Keep this file executable as-is in Python 3!
@@ -28,7 +28,7 @@ warnings.filterwarnings(
28
28
  #:
29
29
  #: .. versionadded:: 1.2
30
30
  #: Before version 1.2, check the string ``sphinx.__version__``.
31
- version_info = (7, 3, 4, 'final', 0)
31
+ version_info = (7, 3, 5, 'final', 0)
32
32
 
33
33
  package_dir = path.abspath(path.dirname(__file__))
34
34
 
sphinx/config.py CHANGED
@@ -532,8 +532,10 @@ def _validate_valid_types(
532
532
  return ()
533
533
  if isinstance(valid_types, (frozenset, ENUM)):
534
534
  return valid_types
535
- if isinstance(valid_types, type) or valid_types is Any:
535
+ if isinstance(valid_types, type):
536
536
  return frozenset((valid_types,))
537
+ if valid_types is Any:
538
+ return frozenset({Any}) # type: ignore[arg-type]
537
539
  if isinstance(valid_types, set):
538
540
  return frozenset(valid_types)
539
541
  if not isinstance(valid_types, tuple):
@@ -36,6 +36,16 @@ if TYPE_CHECKING:
36
36
  from sphinx.environment import BuildEnvironment
37
37
  from sphinx.util.typing import ExtensionMetadata, OptionSpec
38
38
 
39
+ # re-export objects for backwards compatibility
40
+ # xref https://github.com/sphinx-doc/sphinx/issues/12295
41
+ from sphinx.domains.python._object import ( # NoQA: F401
42
+ PyField,
43
+ PyGroupedField,
44
+ PyTypedField,
45
+ PyXrefMixin,
46
+ py_sig_re,
47
+ )
48
+
39
49
  logger = logging.getLogger(__name__)
40
50
 
41
51
  pairindextypes = {
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: Sphinx
3
- Version: 7.3.4
3
+ Version: 7.3.5
4
4
  Summary: Python documentation generator
5
5
  Author-email: Georg Brandl <georg@python.org>
6
6
  Requires-Python: >=3.9
@@ -1,8 +1,8 @@
1
- sphinx/__init__.py,sha256=PlV-V0Gh4LhCJP3iMplLgHROhVuPR-X5b5bTNuLTIpE,1694
1
+ sphinx/__init__.py,sha256=xwB-1xnP8xOaVq3e22IK3dZVTFoHaiQIRPMHjH8pevM,1694
2
2
  sphinx/__main__.py,sha256=wIifwXlZHdi4gtQmkJ6KF0BsflvD9o0Wd5nARTdJc8A,127
3
3
  sphinx/addnodes.py,sha256=EQTIi9Zta6DaNa-2WGE3l9AVjdp7WzwwrfwRnax8vXE,18707
4
4
  sphinx/application.py,sha256=ICEmiMaOt4m0Wl2GBeHHulbZNcDvEpXMyfVuzDxcEhk,56266
5
- sphinx/config.py,sha256=W2zGcsDa-4icjUpZAbPlinz4NnHyjZ_JKm11cawShfA,30022
5
+ sphinx/config.py,sha256=g7XAMEnrqq66hwPbzSxnooyeJl_UrEagFQ0SPxnXEtw,30085
6
6
  sphinx/deprecation.py,sha256=ABIo1t4mSwCTT2uxpUKNcwQHb3X6qur_tziCWzIhqtE,2437
7
7
  sphinx/errors.py,sha256=mFyE7P1fmnVTeYtpP3wv8oXrKyTw1H0WcE46VypUPd0,3412
8
8
  sphinx/events.py,sha256=3GE0v6gIu81Llbed-6zBPDy9G1a-tY9Z1ujUIGBBN5M,4351
@@ -65,7 +65,7 @@ sphinx/domains/cpp/_ast.py,sha256=P2yAf7gCCtUSZrMdDn6m9dd6-MhhAcvRFQtDGwqO23w,13
65
65
  sphinx/domains/cpp/_ids.py,sha256=-h42RrmFnuq4AyZ0EVHtAk_H_9Umrca24Tu-w73TKCw,18028
66
66
  sphinx/domains/cpp/_parser.py,sha256=EaKoUzpUgZnAFKZYfOBl_-Iw8z2LdYxfZtdWglpSE3Q,88250
67
67
  sphinx/domains/cpp/_symbol.py,sha256=pyjUC0tvGs_3j8Qlafw5u9EUAQyPqj5ukbbE8LUkEUo,48775
68
- sphinx/domains/python/__init__.py,sha256=xruOErBdXnALEbfa00RTcNYSAU-1HolYpRZ3FzPePIc,33709
68
+ sphinx/domains/python/__init__.py,sha256=j51-9Pm7H0lrzQP9fO81rOpIce2A2VUdjv49kgju-iQ,33958
69
69
  sphinx/domains/python/_annotations.py,sha256=bLay4nHo1L7KxfX2exE2ttTLqwOnMBDVEg7r6v_YeSY,22302
70
70
  sphinx/domains/python/_object.py,sha256=Kds5Z-5bNNh2dIgStb6bEu0l9y-bC8Rga4jz1lzwGwU,17000
71
71
  sphinx/domains/std/__init__.py,sha256=rQ4gJSs74w7PQDjJ4Qu2vBcr0_kpXyUXA897BOjlEQc,46277
@@ -574,8 +574,8 @@ sphinx/writers/manpage.py,sha256=nLPgs3A5mVouhjiY2Olfoxh7PTFUZc1stHhThGDRSM4,161
574
574
  sphinx/writers/texinfo.py,sha256=YaVcaaK533HWd14FJkBJwkZZNL5Yh6rv2rcFrkhR4SU,53220
575
575
  sphinx/writers/text.py,sha256=HEiYXsWXO9QVOazg2V3D0ehGTnK38dAtYP9v0rst684,42964
576
576
  sphinx/writers/xml.py,sha256=NyDl82hCFSRiHrCZV6vBfn4AsAyXH6khtSJEfhOX8a0,1502
577
- sphinx-7.3.4.dist-info/entry_points.txt,sha256=KU_c9jqXj7yyZylSz11XRIXG3gAZApQa0d5DmcfyA7M,188
578
- sphinx-7.3.4.dist-info/LICENSE.rst,sha256=HdZPUFcmQaLySBc9fKvRC5aOUNkxL9Gz5py0p6XGDk4,3135
579
- sphinx-7.3.4.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
580
- sphinx-7.3.4.dist-info/METADATA,sha256=-bUMKdKlATMQhL5mUlq4ZYqUBFUGzvJCcJCnGmNM2mA,6021
581
- sphinx-7.3.4.dist-info/RECORD,,
577
+ sphinx-7.3.5.dist-info/entry_points.txt,sha256=KU_c9jqXj7yyZylSz11XRIXG3gAZApQa0d5DmcfyA7M,188
578
+ sphinx-7.3.5.dist-info/LICENSE.rst,sha256=HdZPUFcmQaLySBc9fKvRC5aOUNkxL9Gz5py0p6XGDk4,3135
579
+ sphinx-7.3.5.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
580
+ sphinx-7.3.5.dist-info/METADATA,sha256=Rf0VlooekrRJUqECzZzuf5EDmzbNI7KQQfiLXmhGr3U,6021
581
+ sphinx-7.3.5.dist-info/RECORD,,
File without changes