Skip to content

📦 build: require Python 3.11 and support 3.15/3.15t - #43

Merged
SigureMo merged 2 commits into
ShigureLab:mainfrom
ShigureNyako:session/sess_dev_neko_upgrade_shigurelab_gh_slate_python_support_in_on
Sep 28, 2026
Merged

SigureMo merged 2 commits into
ShigureLab:mainfrom
ShigureNyako:session/sess_dev_neko_upgrade_shigurelab_gh_slate_python_support_in_on

Conversation

@ShigureNyako

@ShigureNyako ShigureNyako commented Sep 28, 2026 •

Copy link
Copy Markdown
Member

Changes

  • Require Python 3.11, update classifiers/Ruff's target, and remove the Python 3.10 TOML backport.
  • Adjust the existing CI matrices to 3.11–3.15 and 3.15t. UV_PYTHON makes uv explicitly select the matrix interpreter, including the free-threaded build.
  • Regenerate the lock for the new minimum. No remaining package versions were upgraded; the large deletion removes obsolete Python 3.10 artifacts, the older 3.10-only rpds-py, and unused backports.

After review, the extra runtime-check step, fail-fast override, all justfile changes, and README elaboration have been removed. No tests or new workflows were added. Final diff: 6 files, +12/-265; excluding the generated lock: +9/-14.

Validation

  • uv lock --check, type checking, lint, and formatting passed.
  • Full suites rerun on macOS arm64 with 3.11.16, 3.15.0rc2, and 3.15.0rc2 free-threaded: 883 passed, 6 existing skips each.
  • Normal production installs, wheel/sdist builds, installed CLI rendering, and GIL-disabled dependency imports were verified during compatibility testing. Runtime dependencies remain stable releases; MarkupSafe 3.0.3 builds normally from its sdist on 3.15.

Drop Python 3.10 and its TOML backport, refresh the lock, and validate Python 3.15 and 3.15t with the normal locked dependency graph and test suite.

Co-authored-by: Codex <noreply@openai.com>
Comment thread .github/workflows/unit-test.yml Outdated
run: |
just ci-install

- name: Verify free-threaded runtime

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

删

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已在 09b7ea1 删除整个额外检查步骤,也撤回了 fail-fast 设置。保留原有测试流程。

Comment thread justfile

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

改动有必要?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不是版本兼容所必需,已在 09b7ea1 全部撤回,justfile 现在与 main 一致。

Comment thread README.md Outdated
Requirements:

- Python 3.10 or newer;
- Python 3.11 or newer (including Python 3.15 and its free-threaded build);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Python 3.11 or newer (including Python 3.15 and its free-threaded build);
- Python 3.11 or newer;

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已在 09b7ea1 按建议简化,仅将最低版本改为 3.11。

Remove the extra runtime-check step and fail-fast override, restore the original just recipes, and simplify the documented minimum version.

Co-authored-by: Nyakku Shigure <sigure.qaq@gmail.com>
Co-authored-by: Codex <noreply@openai.com>
@SigureMo
SigureMo merged commit 0291a2a into ShigureLab:main Sep 28, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants