Rename requires to dependencies in METADATA files (#15594)

This commit is contained in:
lev-blit
2026-04-01 19:15:12 +02:00
committed by GitHub
parent 8b31f2639e
commit fc7a5448ff
70 changed files with 97 additions and 97 deletions
+1 -1
View File
@@ -125,7 +125,7 @@ def setup_testcase_dir(package: DistributionTests, tempdir: Path, verbosity: Ver
return
# HACK: we want to run these test cases in an isolated environment --
# we want mypy to see all stub packages listed in the "requires" field of METADATA.toml
# we want mypy to see all stub packages listed in the "dependencies" field of METADATA.toml
# (and all stub packages required by those stub packages, etc. etc.),
# but none of the other stubs in typeshed.
#
+1 -1
View File
@@ -83,7 +83,7 @@ def run_stubtest(dist: Path, *, verbose: bool = False, ci_platforms_only: bool =
dists_to_install = [dist_req, get_mypy_req()]
# Internal requirements are added to MYPYPATH
dists_to_install.extend(str(r) for r in requirements.external_pkgs)
dists_to_install.extend(stubtest_settings.stubtest_requirements)
dists_to_install.extend(stubtest_settings.stubtest_dependencies)
# Since the "gdb" Python package is available only inside GDB, it is not
# possible to install it through pip, so stub tests cannot install it.