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
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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锁及版本一致性测试
同步使用该提交;旧发布标签保持原版本。

Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ 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",
"pyyaml>=6.0",
]

[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"
Expand Down
4 changes: 2 additions & 2 deletions requirements.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/test_release_metadata.py
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
Loading