Advanced Computing Platform for Theoretical Physics

Skip to content
  • ZhangXin8069's avatar
    f986a34e
    dev38: pyqcd 0.2.3 — 支持 Python 3.8+ · f986a34e
    ZhangXin8069 authored
    
    
    原因:要求以最小改动支持 3.8+。3.8 语法本身无问题(271 模块 0 语法错误),阻碍在
    运行时求值的类型别名与构建元数据。
    
    改动:
    - 5 个模块补 from __future__ import annotations
    - _plan_py.Step 模块级运行时表达式 tuple[...] | None → 移入 TYPE_CHECKING
    - PEP 639 license 字符串需 setuptools>=77(不支持 3.8)→ 改经典 license 表 +
      setuptools>=61;requires-python=3.8,classifiers 增 3.8/3.9
    - 修复 --gpu-probe 在无 cupy 时 kernel_status=None 的 TypeError
    - 文档/README 标注 Python 3.8+ 与验证口径;版本 0.2.3
    
    验证:Python 3.8.20 从 PyPI sdist 现场构建(native_available=True),8 类收缩与
    核子 2pt/γ 夹心正确;3.12 全量 121 passed/1 skipped/0 failed。
    
    Co-authored-by: default avatarCommandCodeBot <noreply@commandcode.ai>
    f986a34e
    dev38: pyqcd 0.2.3 — 支持 Python 3.8+
    ZhangXin8069 authored
    
    
    原因:要求以最小改动支持 3.8+。3.8 语法本身无问题(271 模块 0 语法错误),阻碍在
    运行时求值的类型别名与构建元数据。
    
    改动:
    - 5 个模块补 from __future__ import annotations
    - _plan_py.Step 模块级运行时表达式 tuple[...] | None → 移入 TYPE_CHECKING
    - PEP 639 license 字符串需 setuptools>=77(不支持 3.8)→ 改经典 license 表 +
      setuptools>=61;requires-python=3.8,classifiers 增 3.8/3.9
    - 修复 --gpu-probe 在无 cupy 时 kernel_status=None 的 TypeError
    - 文档/README 标注 Python 3.8+ 与验证口径;版本 0.2.3
    
    验证:Python 3.8.20 从 PyPI sdist 现场构建(native_available=True),8 类收缩与
    核子 2pt/γ 夹心正确;3.12 全量 121 passed/1 skipped/0 failed。
    
    Co-authored-by: default avatarCommandCodeBot <noreply@commandcode.ai>
Loading