diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 35d96ec..c85fd58 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,14 +11,18 @@ permissions: jobs: windows: + name: ${{ matrix.python-version == '3.12' && 'windows' || format('windows ({0})', matrix.python-version) }} runs-on: windows-latest + strategy: + matrix: + python-version: ["3.10", "3.11", "3.12"] steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 with: - python-version: "3.12" + python-version: ${{ matrix.python-version }} - name: Install locked dependencies run: | python -m pip install --no-deps -r requirements.lock diff --git a/README.md b/README.md index 0e2dc43..375f1b3 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ python -m pip check It is not part of the default factor set. The historical `downside_vol_20d` retains its clipped-return standard-deviation formula for reproducible old runs. -本版本将QDK固定到`ad3440700b226497c40093197f1df4321b49d1e8`, +本版本将QDK固定到`a84c7306a2f3ad6d2f2c90901d6525d091ab49d6`, 包含共享不可变快照与CAS接口。依赖声明、Python3.10–3.12锁及版本一致性测试 同步使用该提交;旧发布标签保持原版本。 diff --git a/pyproject.toml b/pyproject.toml index 0f4f190..8128cb3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,7 @@ readme = "README.md" license = { text = "MIT" } requires-python = ">=3.10" dependencies = [ - "quant-data-kit @ git+https://github.com/PureSaber/quant-data-kit.git@ad3440700b226497c40093197f1df4321b49d1e8", + "quant-data-kit @ git+https://github.com/PureSaber/quant-data-kit.git@a84c7306a2f3ad6d2f2c90901d6525d091ab49d6", "pandas>=2.0", "numpy>=1.24", "pyarrow>=14.0", @@ -18,8 +18,8 @@ dependencies = [ ] [project.optional-dependencies] -research = ["quant-lab[statistics] @ git+https://github.com/PureSaber/quant-lab.git@e189eaf7004fe6749d9dd675870e32ae51c45a7a"] -dev = ["pytest>=7.4", "pytest-cov>=5.0", "ruff>=0.9.0", "exceptiongroup>=1", "tomli>=1", "setuptools>=68", "wheel>=0.46", "quant-lab[statistics] @ git+https://github.com/PureSaber/quant-lab.git@e189eaf7004fe6749d9dd675870e32ae51c45a7a"] +research = ["quant-lab[statistics] @ git+https://github.com/PureSaber/quant-lab.git@930ef60467b3ef94261eba4057dc995c681da655"] +dev = ["pytest>=7.4", "pytest-cov>=5.0", "ruff>=0.9.0", "exceptiongroup>=1", "tomli>=1", "setuptools>=68", "wheel>=0.46", "quant-lab[statistics] @ git+https://github.com/PureSaber/quant-lab.git@930ef60467b3ef94261eba4057dc995c681da655"] [tool.quant-workspace] layer = "strategy" diff --git a/requirements.lock b/requirements.lock index d90a830..c44f57e 100644 --- a/requirements.lock +++ b/requirements.lock @@ -78,9 +78,9 @@ pyyaml==6.0.3 # quant-factors (pyproject.toml) # quant-data-kit # quant-lab -quant-data-kit @ git+https://github.com/PureSaber/quant-data-kit.git@ad3440700b226497c40093197f1df4321b49d1e8 +quant-data-kit @ git+https://github.com/PureSaber/quant-data-kit.git@a84c7306a2f3ad6d2f2c90901d6525d091ab49d6 # via quant-factors (pyproject.toml) -quant-lab @ git+https://github.com/PureSaber/quant-lab.git@e189eaf7004fe6749d9dd675870e32ae51c45a7a +quant-lab @ git+https://github.com/PureSaber/quant-lab.git@930ef60467b3ef94261eba4057dc995c681da655 # via quant-factors (pyproject.toml) referencing==0.37.0 # via diff --git a/tests/test_release_metadata.py b/tests/test_release_metadata.py index d35a612..3e9716f 100644 --- a/tests/test_release_metadata.py +++ b/tests/test_release_metadata.py @@ -1,7 +1,7 @@ from pathlib import Path ROOT = Path(__file__).resolve().parents[1] -QDK_COMMIT = "ad3440700b226497c40093197f1df4321b49d1e8" +QDK_COMMIT = "a84c7306a2f3ad6d2f2c90901d6525d091ab49d6" def test_cross_interpreter_constraint_is_applied_to_generated_lock() -> None: