mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-16 02:51:28 +08:00
Support compatible version specifiers (#12771)
This commit is contained in:
1 parent
56078f574f
commit
36fb63ebc8
3 files changed
+41
-33
No files matched your search
@@ -73,7 +73,7 @@ def run_stubtest(
|
||||
pip_exe = str(venv_dir / "bin" / "pip")
|
||||
python_exe = str(venv_dir / "bin" / "python")
|
||||
dist_extras = ", ".join(stubtest_settings.extras)
|
||||
dist_req = f"{dist_name}[{dist_extras}]=={metadata.version}"
|
||||
dist_req = f"{dist_name}[{dist_extras}]{metadata.version_spec}"
|
||||
|
||||
# If tool.stubtest.stubtest_requirements exists, run "pip install" on it.
|
||||
if stubtest_settings.stubtest_requirements:
|
||||
|
||||
Reference in new issue
Block a user