feat: 升级 V3 默认运行时至 Python 3.14 与 Debian Trixie (#6382)

This commit is contained in:
InfinityPacer
2026-08-22 07:16:35 +08:00
committed by GitHub
parent 3b1c0bb93d
commit 3a5947cc88
36 changed files with 149 additions and 1030 deletions
+4 -4
View File
@@ -65,12 +65,12 @@ class LocalSetupConfigDirTests(unittest.TestCase):
with patch.object(module, "get_python_version", return_value=(3, 15, 0)):
module.ensure_supported_python("python3.15")
def test_supported_python_rejects_versions_below_3_12(self):
def test_supported_python_rejects_versions_below_3_14(self):
module = load_local_setup_module()
with patch.object(module, "get_python_version", return_value=(3, 11, 9)):
with self.assertRaisesRegex(RuntimeError, r"Python 3\.12\+"):
module.ensure_supported_python("python3.11")
with patch.object(module, "get_python_version", return_value=(3, 13, 9)):
with self.assertRaisesRegex(RuntimeError, r"Python 3\.14\+"):
module.ensure_supported_python("python3.13")
def test_install_deps_installs_browser_runtime(self):
module = load_local_setup_module()