Skip to content

Commit 3826502

Browse files
use Python 3.12 on windows
use py -3.12 -m to run pip call render.exe via Python312/Scripts dir
1 parent 26a4c44 commit 3826502

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.circleci/config.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: 2.1
22

33
orbs:
4-
win: circleci/windows@2.4.0
4+
win: circleci/windows@5.0.0
55
percy: percy/[email protected]
66
browser-tools: circleci/[email protected]
77

@@ -150,11 +150,16 @@ jobs:
150150
PERCY_ENABLE: 0
151151
steps:
152152
- checkout
153+
154+
- run:
155+
name: "Install Python"
156+
command: choco install -y python --version=3.12.1
157+
153158
- run:
154159
name: ️️🏗️ build core
155160
command: |
156-
pip install --no-cache-dir --upgrade -e .[dev,testing] --progress-bar off
157-
cd dash/dash-renderer && renderer build && cd ../../
161+
py -3.12 -m pip install --no-cache-dir --upgrade -e .[dev,testing] --progress-bar off
162+
cd dash/dash-renderer && C:/Python312/Scripts/renderer.exe build && cd ../../
158163
159164
test-312: &test
160165
working_directory: ~/dash

0 commit comments

Comments
 (0)