Skip to content

Commit 310b7d3

Browse files
Apply remaining changes
Co-authored-by: PierreRaybaut <1311787+PierreRaybaut@users.noreply.github.com>
1 parent 22506b3 commit 310b7d3

4 files changed

Lines changed: 43 additions & 2 deletions

File tree

‎.github/workflows/perf.yml‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,23 @@ jobs:
5151
node-version: "20"
5252
cache: npm
5353

54+
- name: Set up Python
55+
uses: actions/setup-python@v5
56+
with:
57+
python-version: "3.12"
58+
5459
- name: Install npm dependencies
5560
run: npm ci
5661

62+
- name: Build Sigima wheel
63+
run: |
64+
mkdir -p .wheels
65+
python -m pip wheel --no-deps --wheel-dir .wheels \
66+
"$(grep '^sigima @ ' requirements-dev.txt)"
67+
wheel_path=$(find "$GITHUB_WORKSPACE/.wheels" -name 'sigima-*.whl' -print -quit)
68+
test -n "$wheel_path"
69+
echo "VITE_SIGIMA_INSTALL_SPEC=/@fs/$wheel_path" >> "$GITHUB_ENV"
70+
5771
- name: Install Playwright browser
5872
run: npx playwright install --with-deps chromium
5973

‎.github/workflows/release.yml‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,22 @@ jobs:
7777
node-version: 20
7878
cache: npm
7979

80+
- uses: actions/setup-python@v5
81+
with:
82+
python-version: "3.12"
83+
8084
- name: Install npm dependencies
8185
run: npm ci
8286

87+
- name: Build Sigima wheel
88+
run: |
89+
mkdir -p .wheels
90+
python -m pip wheel --no-deps --wheel-dir .wheels \
91+
"$(grep '^sigima @ ' requirements-dev.txt)"
92+
wheel_path=$(find "$GITHUB_WORKSPACE/.wheels" -name 'sigima-*.whl' -print -quit)
93+
test -n "$wheel_path"
94+
echo "VITE_SIGIMA_INSTALL_SPEC=/@fs/$wheel_path" >> "$GITHUB_ENV"
95+
8396
- name: Install Playwright browsers
8497
run: npx playwright install --with-deps chromium
8598

‎.github/workflows/tests.yml‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,23 @@ jobs:
9393
node-version: "20"
9494
cache: npm
9595

96+
- name: Set up Python
97+
uses: actions/setup-python@v5
98+
with:
99+
python-version: "3.12"
100+
96101
- name: Install npm dependencies
97102
run: npm ci
98103

104+
- name: Build Sigima wheel
105+
run: |
106+
mkdir -p .wheels
107+
python -m pip wheel --no-deps --wheel-dir .wheels \
108+
"$(grep '^sigima @ ' requirements-dev.txt)"
109+
wheel_path=$(find "$GITHUB_WORKSPACE/.wheels" -name 'sigima-*.whl' -print -quit)
110+
test -n "$wheel_path"
111+
echo "VITE_SIGIMA_INSTALL_SPEC=/@fs/$wheel_path" >> "$GITHUB_ENV"
112+
99113
- name: Install Playwright browsers
100114
run: npx playwright install --with-deps chromium
101115

‎requirements-dev.txt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ pylint>=3.0
1919
pre-commit>=3.7
2020

2121
# Sigima (= computation engine) and its mandatory dependencies.
22-
# Pinning floors only — exact versions come from each project's pyproject.
23-
sigima>=1.3.0
22+
# Pin the unreleased revision that provides the annotation APIs used here.
23+
sigima @ https://github.com/DataLab-Platform/Sigima/archive/4442ada873655f63fabd14369fd11170f75a28b4.zip
2424
guidata>=3.15.0
2525
numpy>=1.22
2626
scipy>=1.10.1

0 commit comments

Comments
 (0)