Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/lint-and-fmt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
matrix:
# Only run linter and formatter on minimum supported Python version
python-version: ['3.10']
python-version: ['3.11']
architecture: ['x64']
name: lint and fmt - Python ${{ matrix.python-version }} on ${{ matrix.architecture }}
steps:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
python-version: ['3.11', '3.12', '3.13', '3.14', '3.15', '3.15t']
architecture: ['x64']
name: unittest - Python ${{ matrix.python-version }} on ${{ matrix.architecture }}
env:
UV_PYTHON: ${{ matrix.python-version }}

Copy link
Copy Markdown
Collaborator

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.

这两行需要保留:实测将 3.15t 放在 PATH 首位、使用全新虚拟环境,不设 UV_PYTHON 时 uv sync 仍选择 3.14;设为 3.15t 才选择 free-threaded 解释器。仅依靠 setup-python 的较小改法会测错版本。其余断言步骤和新增测试已在 4b81d96 删除;当前 CI 确认使用 3.15.0rc2+freethreaded,原有 89 项测试通过。

steps:
- name: Checkout
uses: actions/checkout@v7
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "expr-simplifier"
version = "0.1.1"
description = ""
readme = "README.md"
requires-python = ">=3.10"
requires-python = ">=3.11"
dependencies = ["typing-extensions>=4.12.2"]
authors = [{ name = "Nyakku Shigure", email = "sigure.qaq@gmail.com" }]
keywords = []
Expand All @@ -13,11 +13,11 @@ classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
"Programming Language :: Python :: Implementation :: CPython",
]

Expand All @@ -40,7 +40,7 @@ dev = [

[tool.ruff]
line-length = 120
target-version = "py310"
target-version = "py311"

[tool.ruff.lint]
select = [
Expand Down
22 changes: 1 addition & 21 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading