Relax Python requirement 3.11 → 3.10

Why:
- Ubuntu 22.04(广州云服务器 dev1 的发行版)自带 python3.10。之前要求 3.11
  会让 uv 去下载独立 Python 解释器,从国内拉 Astral 的 python-build
  release 很慢。放到 3.10 直接用系统 Python,sync 秒完成。
- 代码没有用任何 3.11+ 特性(用了 `from __future__ import annotations`
  支持 PEP 604/585 在 3.10 上下文),降版本零代价。

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Zhang Jiahao
2026-04-23 23:34:54 +08:00
parent b0ddcf3f14
commit fb7c0488bc

View File

@@ -2,7 +2,7 @@
name = "facere-dataset"
version = "0.0.1"
description = "Open hardware design dataset for Facere."
requires-python = ">=3.11"
requires-python = ">=3.10"
dependencies = [
"httpx[http2]>=0.27",
"jsonschema>=4.26.0",
@@ -10,7 +10,7 @@ dependencies = [
[tool.ruff]
line-length = 100
target-version = "py311"
target-version = "py310"
[tool.uv]
package = false