Newshot
Account

Python 3.15 现已作为 Vercel Managed Image 提供

AI summary

Python 3.15 现已作为 Vercel Sandbox 的 Vercel Managed Image 提供。要在 Python 3.15 上运行沙箱,可在任一 SDK 中通过 image 选项选择 vercel/sandbox/python:3.15,或在 CLI 中使用 --image 标志。默认通用镜像(vercel/sandbox/universal:latest)仍附带 Python 3.14,并计划于 2026 年 12 月 16 日切换到 Python 3.15。

Translation(model translation, not the source's own text)

Python 3.15 现已作为 Vercel Managed Image 提供给 Vercel Sandbox 使用。

要运行使用 Python 3.15 的 sandbox,可在任一 SDK 中通过 image 选项选择 vercel/sandbox/python:3.15,或在 CLI 中使用 --image 标志。


        import { Sandbox } from '@vercel/sandbox';
const sandbox = await Sandbox.create({ image: 'vercel/sandbox/python:3.15' });const version = await sandbox.runCommand('python', ['--version']);console.log(`Python version: ${await version.stdout()}`);
      

创建一个使用 Python 3.15 的 sandbox 并打印其版本。

默认通用镜像(vercel/sandbox/universal:latest)仍附带 Python 3.14,并计划于 December 16, 2026 切换至 Python 3.15。

更多信息请参阅 Vercel Sandbox images 文档。

Only about 592 characters could be extracted — the rest did not come through (common on sites that need scrolling or a login). Read the original for the full piece.

Published by Vercel Blog
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗