跳到主内容
@wquguru
精选75Simon Willison 博客(RSS)技巧与观点

Python 3.15 RC2 发布,10月正式发行

Python 3.15.0 candidate 2 is here!

原文
发到 X

Python 3.15.0 candidate 2 is here!

Python 3.15.0 候选版本 2 来了!

Hugo van Kemenade (release manager for Python 3.14 and 3.15) announces the final release candidate for Python 3.15, scheduled for release in October:

Hugo van Kemenade(Python 3.14 和 3.15 的发布经理)宣布 Python 3.15 的最终候选版本,计划于十月发布:

Entering the release candidate phase, only reviewed code changes which are clear bug fixes are allowed between this release candidate and the final release. [...]

进入候选版本阶段后,在此候选版本与最终发布之间,仅允许经过审查且明确为 bug 修复的代码更改。[...]

We strongly encourage maintainers of third-party Python projects to prepare their projects for 3.15 during this phase, and publish Python 3.15 wheels on PyPI to be ready for the final release of 3.15.0, and to help other projects do their own testing. Any binary wheels built against Python 3.15.0 release candidates will work with future versions of Python 3.15.

我们强烈建议第三方 Python 项目的维护者在此阶段为 3.15 做好准备,并在 PyPI 上发布 Python 3.15 的 wheel 包,以便在 3.15.0 正式发布时做好准备,并帮助其他项目进行自己的测试。任何基于 Python 3.15.0 候选版本构建的二进制 wheel 包都将适用于未来的 Python 3.15 版本。

Back in 2021 I found a bug in Python 3.10 by running my test suites against it... but I hadn't done this during the RC period, so that bug had already shipped! Since then I've always paid much closer attention to these RCs.

早在 2021 年,我通过在我的测试套件中运行 Python 3.10 发现了一个 bug……但我当时没有在 RC 期间进行此操作,所以那个 bug 已经随正式版发布了!从那以后,我一直密切关注这些 RC 版本。

The new RC isn't available for GitHub Actions just yet - keep an eye on actions/python-versions for that. For the moment though you can add this to a testing matrix:

新的 RC 版本尚未在 GitHub Actions 上提供——请留意 actions/python-versions 以获取相关信息。不过目前,你可以将其添加到测试矩阵中:

代码 · 9
strategy:
  matrix:
    python-version: ["3.14", "3.15"]
steps:
  - uses: actions/setup-python@v7
    with:
      python-version: ${{ matrix.python-version }}
      allow-prereleases: true
      check-latest: true
代码 · 9
strategy:
  matrix:
    python-version: ["3.14", "3.15"]
steps:
  - uses: actions/setup-python@v7
    with:
      python-version: ${{ matrix.python-version }}
      allow-prereleases: true
      check-latest: true

And the allow-prereleases and check-latest flags should ensure that your test suite runs against RC2 as soon as it is added to GitHub.

allow-prereleases 和 check-latest 标志应确保一旦 RC2 添加到 GitHub,你的测试套件就会针对 RC2 运行。

Via @hugovk.dev

来源:@hugovk.dev

Tags: open-source, python, github-actions

标签:开源、python、github-actions

更进一步:量化金融体系

看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力

进入量化体系 →

相似阅读

另一事件,读法相近