py2docfx 0.1.15.dev2038852__py3-none-any.whl → 0.1.16.dev2051338__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.
- py2docfx/docfx_yaml/process_doctree.py +21 -34
- py2docfx/docfx_yaml/tests/test_method_arguments.py +1 -7
- py2docfx/docfx_yaml/tests/test_process_doctree.py +120 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/_msvccompiler.py +11 -0
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/_distutils/command/__init__.py +8 -27
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/config/_apply_pyprojecttoml.py +3 -2
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/dist.py +53 -42
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/config/test_setupcfg.py +42 -29
- py2docfx/venv/basevenv/Lib/site-packages/setuptools/tests/integration/test_pip_install_sdist.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/__init__.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/any_pb2.py +2 -2
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/api_pb2.py +2 -2
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/compiler/plugin_pb2.py +2 -2
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/descriptor_pb2.py +2 -2
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/duration_pb2.py +2 -2
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/empty_pb2.py +2 -2
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/field_mask_pb2.py +2 -2
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/runtime_version.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/source_context_pb2.py +2 -2
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/struct_pb2.py +2 -2
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/timestamp_pb2.py +2 -2
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/type_pb2.py +2 -2
- py2docfx/venv/venv1/Lib/site-packages/google/protobuf/wrappers_pb2.py +2 -2
- py2docfx/venv/venv1/Lib/site-packages/pyasn1_modules/__init__.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/_msvccompiler.py +11 -0
- py2docfx/venv/venv1/Lib/site-packages/setuptools/_distutils/command/__init__.py +8 -27
- py2docfx/venv/venv1/Lib/site-packages/setuptools/config/_apply_pyprojecttoml.py +3 -2
- py2docfx/venv/venv1/Lib/site-packages/setuptools/dist.py +53 -42
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/config/test_setupcfg.py +42 -29
- py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/integration/test_pip_install_sdist.py +1 -1
- py2docfx/venv/venv1/Lib/site-packages/typing_extensions.py +999 -74
- {py2docfx-0.1.15.dev2038852.dist-info → py2docfx-0.1.16.dev2051338.dist-info}/METADATA +1 -1
- {py2docfx-0.1.15.dev2038852.dist-info → py2docfx-0.1.16.dev2051338.dist-info}/RECORD +35 -34
- {py2docfx-0.1.15.dev2038852.dist-info → py2docfx-0.1.16.dev2051338.dist-info}/WHEEL +0 -0
- {py2docfx-0.1.15.dev2038852.dist-info → py2docfx-0.1.16.dev2051338.dist-info}/top_level.txt +0 -0
@@ -2,7 +2,7 @@
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
3
|
# NO CHECKED-IN PROTOBUF GENCODE
|
4
4
|
# source: google/protobuf/empty.proto
|
5
|
-
# Protobuf Python Version: 6.30.
|
5
|
+
# Protobuf Python Version: 6.30.2
|
6
6
|
"""Generated protocol buffer code."""
|
7
7
|
from google.protobuf import descriptor as _descriptor
|
8
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
@@ -13,7 +13,7 @@ _runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
13
|
_runtime_version.Domain.PUBLIC,
|
14
14
|
6,
|
15
15
|
30,
|
16
|
-
|
16
|
+
2,
|
17
17
|
'',
|
18
18
|
'google/protobuf/empty.proto'
|
19
19
|
)
|
@@ -2,7 +2,7 @@
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
3
|
# NO CHECKED-IN PROTOBUF GENCODE
|
4
4
|
# source: google/protobuf/field_mask.proto
|
5
|
-
# Protobuf Python Version: 6.30.
|
5
|
+
# Protobuf Python Version: 6.30.2
|
6
6
|
"""Generated protocol buffer code."""
|
7
7
|
from google.protobuf import descriptor as _descriptor
|
8
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
@@ -13,7 +13,7 @@ _runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
13
|
_runtime_version.Domain.PUBLIC,
|
14
14
|
6,
|
15
15
|
30,
|
16
|
-
|
16
|
+
2,
|
17
17
|
'',
|
18
18
|
'google/protobuf/field_mask.proto'
|
19
19
|
)
|
@@ -2,7 +2,7 @@
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
3
|
# NO CHECKED-IN PROTOBUF GENCODE
|
4
4
|
# source: google/protobuf/source_context.proto
|
5
|
-
# Protobuf Python Version: 6.30.
|
5
|
+
# Protobuf Python Version: 6.30.2
|
6
6
|
"""Generated protocol buffer code."""
|
7
7
|
from google.protobuf import descriptor as _descriptor
|
8
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
@@ -13,7 +13,7 @@ _runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
13
|
_runtime_version.Domain.PUBLIC,
|
14
14
|
6,
|
15
15
|
30,
|
16
|
-
|
16
|
+
2,
|
17
17
|
'',
|
18
18
|
'google/protobuf/source_context.proto'
|
19
19
|
)
|
@@ -2,7 +2,7 @@
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
3
|
# NO CHECKED-IN PROTOBUF GENCODE
|
4
4
|
# source: google/protobuf/struct.proto
|
5
|
-
# Protobuf Python Version: 6.30.
|
5
|
+
# Protobuf Python Version: 6.30.2
|
6
6
|
"""Generated protocol buffer code."""
|
7
7
|
from google.protobuf import descriptor as _descriptor
|
8
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
@@ -13,7 +13,7 @@ _runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
13
|
_runtime_version.Domain.PUBLIC,
|
14
14
|
6,
|
15
15
|
30,
|
16
|
-
|
16
|
+
2,
|
17
17
|
'',
|
18
18
|
'google/protobuf/struct.proto'
|
19
19
|
)
|
@@ -2,7 +2,7 @@
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
3
|
# NO CHECKED-IN PROTOBUF GENCODE
|
4
4
|
# source: google/protobuf/timestamp.proto
|
5
|
-
# Protobuf Python Version: 6.30.
|
5
|
+
# Protobuf Python Version: 6.30.2
|
6
6
|
"""Generated protocol buffer code."""
|
7
7
|
from google.protobuf import descriptor as _descriptor
|
8
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
@@ -13,7 +13,7 @@ _runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
13
|
_runtime_version.Domain.PUBLIC,
|
14
14
|
6,
|
15
15
|
30,
|
16
|
-
|
16
|
+
2,
|
17
17
|
'',
|
18
18
|
'google/protobuf/timestamp.proto'
|
19
19
|
)
|
@@ -2,7 +2,7 @@
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
3
|
# NO CHECKED-IN PROTOBUF GENCODE
|
4
4
|
# source: google/protobuf/type.proto
|
5
|
-
# Protobuf Python Version: 6.30.
|
5
|
+
# Protobuf Python Version: 6.30.2
|
6
6
|
"""Generated protocol buffer code."""
|
7
7
|
from google.protobuf import descriptor as _descriptor
|
8
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
@@ -13,7 +13,7 @@ _runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
13
|
_runtime_version.Domain.PUBLIC,
|
14
14
|
6,
|
15
15
|
30,
|
16
|
-
|
16
|
+
2,
|
17
17
|
'',
|
18
18
|
'google/protobuf/type.proto'
|
19
19
|
)
|
@@ -2,7 +2,7 @@
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
3
|
# NO CHECKED-IN PROTOBUF GENCODE
|
4
4
|
# source: google/protobuf/wrappers.proto
|
5
|
-
# Protobuf Python Version: 6.30.
|
5
|
+
# Protobuf Python Version: 6.30.2
|
6
6
|
"""Generated protocol buffer code."""
|
7
7
|
from google.protobuf import descriptor as _descriptor
|
8
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
@@ -13,7 +13,7 @@ _runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
13
|
_runtime_version.Domain.PUBLIC,
|
14
14
|
6,
|
15
15
|
30,
|
16
|
-
|
16
|
+
2,
|
17
17
|
'',
|
18
18
|
'google/protobuf/wrappers.proto'
|
19
19
|
)
|
@@ -1,2 +1,2 @@
|
|
1
1
|
# http://www.python.org/dev/peps/pep-0396/
|
2
|
-
__version__ = '0.4.
|
2
|
+
__version__ = '0.4.2'
|
@@ -1,5 +1,16 @@
|
|
1
|
+
import warnings
|
2
|
+
|
1
3
|
from .compilers.C import msvc
|
2
4
|
|
3
5
|
__all__ = ["MSVCCompiler"]
|
4
6
|
|
5
7
|
MSVCCompiler = msvc.Compiler
|
8
|
+
|
9
|
+
|
10
|
+
def __getattr__(name):
|
11
|
+
if name == '_get_vc_env':
|
12
|
+
warnings.warn(
|
13
|
+
"_get_vc_env is private; find an alternative (pypa/distutils#340)"
|
14
|
+
)
|
15
|
+
return msvc._get_vc_env
|
16
|
+
raise AttributeError(name)
|
@@ -3,40 +3,21 @@
|
|
3
3
|
Package containing implementation of all the standard Distutils
|
4
4
|
commands."""
|
5
5
|
|
6
|
-
from . import (
|
7
|
-
bdist,
|
8
|
-
bdist_dumb,
|
9
|
-
bdist_rpm,
|
10
|
-
build,
|
11
|
-
build_clib,
|
12
|
-
build_ext,
|
13
|
-
build_py,
|
14
|
-
build_scripts,
|
15
|
-
check,
|
16
|
-
clean,
|
17
|
-
install,
|
18
|
-
install_data,
|
19
|
-
install_headers,
|
20
|
-
install_lib,
|
21
|
-
install_scripts,
|
22
|
-
sdist,
|
23
|
-
)
|
24
|
-
|
25
6
|
__all__ = [
|
26
|
-
'bdist',
|
27
|
-
'bdist_dumb',
|
28
|
-
'bdist_rpm',
|
29
7
|
'build',
|
30
|
-
'build_clib',
|
31
|
-
'build_ext',
|
32
8
|
'build_py',
|
9
|
+
'build_ext',
|
10
|
+
'build_clib',
|
33
11
|
'build_scripts',
|
34
|
-
'check',
|
35
12
|
'clean',
|
36
13
|
'install',
|
37
|
-
'install_data',
|
38
|
-
'install_headers',
|
39
14
|
'install_lib',
|
15
|
+
'install_headers',
|
40
16
|
'install_scripts',
|
17
|
+
'install_data',
|
41
18
|
'sdist',
|
19
|
+
'bdist',
|
20
|
+
'bdist_dumb',
|
21
|
+
'bdist_rpm',
|
22
|
+
'check',
|
42
23
|
]
|
@@ -100,7 +100,7 @@ def _apply_tool_table(dist: Distribution, config: dict, filename: StrPath):
|
|
100
100
|
pypa_guides = "guides/writing-pyproject-toml/#license-files"
|
101
101
|
SetuptoolsDeprecationWarning.emit(
|
102
102
|
"'tool.setuptools.license-files' is deprecated in favor of "
|
103
|
-
"'project.license-files'",
|
103
|
+
"'project.license-files' (available on setuptools>=77.0.0).",
|
104
104
|
see_url=f"https://packaging.python.org/en/latest/{pypa_guides}",
|
105
105
|
due_date=(2026, 2, 18), # Warning introduced on 2025-02-18
|
106
106
|
)
|
@@ -211,7 +211,8 @@ def _license(dist: Distribution, val: str | dict, root_dir: StrPath | None):
|
|
211
211
|
SetuptoolsDeprecationWarning.emit(
|
212
212
|
"`project.license` as a TOML table is deprecated",
|
213
213
|
"Please use a simple string containing a SPDX expression for "
|
214
|
-
"`project.license`. You can also use `project.license-files`."
|
214
|
+
"`project.license`. You can also use `project.license-files`. "
|
215
|
+
"(Both options available on setuptools>=77.0.0).",
|
215
216
|
see_url=f"https://packaging.python.org/en/latest/{pypa_guides}",
|
216
217
|
due_date=(2026, 2, 18), # Introduced on 2025-02-18
|
217
218
|
)
|
@@ -1,5 +1,6 @@
|
|
1
1
|
from __future__ import annotations
|
2
2
|
|
3
|
+
import functools
|
3
4
|
import io
|
4
5
|
import itertools
|
5
6
|
import numbers
|
@@ -595,8 +596,8 @@ class Distribution(_Distribution):
|
|
595
596
|
continue
|
596
597
|
|
597
598
|
val = parser.get(section, opt)
|
598
|
-
opt = self.
|
599
|
-
opt = self.
|
599
|
+
opt = self._enforce_underscore(opt, section)
|
600
|
+
opt = self._enforce_option_lowercase(opt, section)
|
600
601
|
opt_dict[opt] = (filename, val)
|
601
602
|
|
602
603
|
# Make the ConfigParser forget everything (so we retain
|
@@ -621,65 +622,63 @@ class Distribution(_Distribution):
|
|
621
622
|
except ValueError as e:
|
622
623
|
raise DistutilsOptionError(e) from e
|
623
624
|
|
624
|
-
def
|
625
|
-
if
|
626
|
-
'options.extras_require',
|
627
|
-
'options.data_files',
|
628
|
-
):
|
625
|
+
def _enforce_underscore(self, opt: str, section: str) -> str:
|
626
|
+
if "-" not in opt or self._skip_setupcfg_normalization(section):
|
629
627
|
return opt
|
630
628
|
|
631
629
|
underscore_opt = opt.replace('-', '_')
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
630
|
+
affected = f"(Affected: {self.metadata.name})." if self.metadata.name else ""
|
631
|
+
SetuptoolsDeprecationWarning.emit(
|
632
|
+
f"Invalid dash-separated key {opt!r} in {section!r} (setup.cfg), "
|
633
|
+
f"please use the underscore name {underscore_opt!r} instead.",
|
634
|
+
f"""
|
635
|
+
Usage of dash-separated {opt!r} will not be supported in future
|
636
|
+
versions. Please use the underscore name {underscore_opt!r} instead.
|
637
|
+
{affected}
|
638
|
+
""",
|
639
|
+
see_docs="userguide/declarative_config.html",
|
640
|
+
due_date=(2026, 3, 3),
|
641
|
+
# Warning initially introduced in 3 Mar 2021
|
637
642
|
)
|
638
|
-
if (
|
639
|
-
not section.startswith('options')
|
640
|
-
and section != 'metadata'
|
641
|
-
and section not in commands
|
642
|
-
):
|
643
|
-
return underscore_opt
|
644
|
-
|
645
|
-
if '-' in opt:
|
646
|
-
SetuptoolsDeprecationWarning.emit(
|
647
|
-
"Invalid dash-separated options",
|
648
|
-
f"""
|
649
|
-
Usage of dash-separated {opt!r} will not be supported in future
|
650
|
-
versions. Please use the underscore name {underscore_opt!r} instead.
|
651
|
-
""",
|
652
|
-
see_docs="userguide/declarative_config.html",
|
653
|
-
due_date=(2025, 3, 3),
|
654
|
-
# Warning initially introduced in 3 Mar 2021
|
655
|
-
)
|
656
643
|
return underscore_opt
|
657
644
|
|
658
|
-
def
|
659
|
-
|
660
|
-
entry_points = metadata.distribution('setuptools').entry_points
|
661
|
-
return {ep.name for ep in entry_points} # Avoid newer API for compatibility
|
662
|
-
except metadata.PackageNotFoundError:
|
663
|
-
# during bootstrapping, distribution doesn't exist
|
664
|
-
return []
|
665
|
-
|
666
|
-
def make_option_lowercase(self, opt: str, section: str) -> str:
|
667
|
-
if section != 'metadata' or opt.islower():
|
645
|
+
def _enforce_option_lowercase(self, opt: str, section: str) -> str:
|
646
|
+
if opt.islower() or self._skip_setupcfg_normalization(section):
|
668
647
|
return opt
|
669
648
|
|
670
649
|
lowercase_opt = opt.lower()
|
650
|
+
affected = f"(Affected: {self.metadata.name})." if self.metadata.name else ""
|
671
651
|
SetuptoolsDeprecationWarning.emit(
|
672
|
-
"Invalid uppercase
|
652
|
+
f"Invalid uppercase key {opt!r} in {section!r} (setup.cfg), "
|
653
|
+
f"please use lowercase {lowercase_opt!r} instead.",
|
673
654
|
f"""
|
674
655
|
Usage of uppercase key {opt!r} in {section!r} will not be supported in
|
675
656
|
future versions. Please use lowercase {lowercase_opt!r} instead.
|
657
|
+
{affected}
|
676
658
|
""",
|
677
659
|
see_docs="userguide/declarative_config.html",
|
678
|
-
due_date=(
|
660
|
+
due_date=(2026, 3, 3),
|
679
661
|
# Warning initially introduced in 6 Mar 2021
|
680
662
|
)
|
681
663
|
return lowercase_opt
|
682
664
|
|
665
|
+
def _skip_setupcfg_normalization(self, section: str) -> bool:
|
666
|
+
skip = (
|
667
|
+
'options.extras_require',
|
668
|
+
'options.data_files',
|
669
|
+
'options.entry_points',
|
670
|
+
'options.package_data',
|
671
|
+
'options.exclude_package_data',
|
672
|
+
)
|
673
|
+
return section in skip or not self._is_setuptools_section(section)
|
674
|
+
|
675
|
+
def _is_setuptools_section(self, section: str) -> bool:
|
676
|
+
return (
|
677
|
+
section == "metadata"
|
678
|
+
or section.startswith("options")
|
679
|
+
or section in _setuptools_commands()
|
680
|
+
)
|
681
|
+
|
683
682
|
# FIXME: 'Distribution._set_command_options' is too complex (14)
|
684
683
|
def _set_command_options(self, command_obj, option_dict=None): # noqa: C901
|
685
684
|
"""
|
@@ -1105,6 +1104,18 @@ class Distribution(_Distribution):
|
|
1105
1104
|
super().run_command(command)
|
1106
1105
|
|
1107
1106
|
|
1107
|
+
@functools.cache
|
1108
|
+
def _setuptools_commands() -> set[str]:
|
1109
|
+
try:
|
1110
|
+
# Use older API for importlib.metadata compatibility
|
1111
|
+
entry_points = metadata.distribution('setuptools').entry_points
|
1112
|
+
eps: Iterable[str] = (ep.name for ep in entry_points)
|
1113
|
+
except metadata.PackageNotFoundError:
|
1114
|
+
# during bootstrapping, distribution doesn't exist
|
1115
|
+
eps = []
|
1116
|
+
return {*distutils.command.__all__, *eps}
|
1117
|
+
|
1118
|
+
|
1108
1119
|
class DistDeprecationWarning(SetuptoolsDeprecationWarning):
|
1109
1120
|
"""Class for warning about deprecations in dist in
|
1110
1121
|
setuptools. Not ignored by default, unlike DeprecationWarning."""
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import configparser
|
2
2
|
import contextlib
|
3
3
|
import inspect
|
4
|
+
import re
|
4
5
|
from pathlib import Path
|
5
6
|
from unittest.mock import Mock, patch
|
6
7
|
|
@@ -420,36 +421,48 @@ class TestMetadata:
|
|
420
421
|
with get_dist(tmpdir):
|
421
422
|
pass
|
422
423
|
|
423
|
-
@pytest.mark.
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
424
|
+
@pytest.mark.parametrize(
|
425
|
+
("error_msg", "config", "invalid"),
|
426
|
+
[
|
427
|
+
(
|
428
|
+
"Invalid dash-separated key 'author-email' in 'metadata' (setup.cfg)",
|
429
|
+
DALS(
|
430
|
+
"""
|
431
|
+
[metadata]
|
432
|
+
author-email = test@test.com
|
433
|
+
maintainer_email = foo@foo.com
|
434
|
+
"""
|
435
|
+
),
|
436
|
+
{"author-email": "test@test.com"},
|
437
|
+
),
|
438
|
+
(
|
439
|
+
"Invalid uppercase key 'Name' in 'metadata' (setup.cfg)",
|
440
|
+
DALS(
|
441
|
+
"""
|
442
|
+
[metadata]
|
443
|
+
Name = foo
|
444
|
+
description = Some description
|
445
|
+
"""
|
446
|
+
),
|
447
|
+
{"Name": "foo"},
|
448
|
+
),
|
449
|
+
],
|
450
|
+
)
|
451
|
+
def test_invalid_options_previously_deprecated(
|
452
|
+
self, tmpdir, error_msg, config, invalid
|
453
|
+
):
|
454
|
+
# This test and related methods can be removed when no longer needed.
|
455
|
+
# Deprecation postponed due to push-back from the community in
|
456
|
+
# https://github.com/pypa/setuptools/issues/4910
|
457
|
+
fake_env(tmpdir, config)
|
458
|
+
with pytest.warns(SetuptoolsDeprecationWarning, match=re.escape(error_msg)):
|
459
|
+
dist = get_dist(tmpdir).__enter__()
|
460
|
+
|
461
|
+
tmpdir.join('setup.cfg').remove()
|
450
462
|
|
451
|
-
|
452
|
-
|
463
|
+
for field, value in invalid.items():
|
464
|
+
attr = field.replace("-", "_").lower()
|
465
|
+
assert getattr(dist.metadata, attr) == value
|
453
466
|
|
454
467
|
|
455
468
|
class TestOptions:
|
py2docfx/venv/venv1/Lib/site-packages/setuptools/tests/integration/test_pip_install_sdist.py
CHANGED
@@ -54,7 +54,7 @@ EXAMPLES = [
|
|
54
54
|
("pyyaml", LATEST), # cython + custom build_ext + custom distclass
|
55
55
|
("charset-normalizer", LATEST), # uses mypyc, used by aiohttp
|
56
56
|
("protobuf", LATEST),
|
57
|
-
("requests", LATEST),
|
57
|
+
# ("requests", LATEST), # XXX: https://github.com/psf/requests/pull/6920
|
58
58
|
("celery", LATEST),
|
59
59
|
# When adding packages to this list, make sure they expose a `__version__`
|
60
60
|
# attribute, or modify the tests below
|