Skip to content

Commit 7976db2

Browse files
committed
fix: Resolve GitHub Actions dependency installation for PyInstaller builds
1 parent 78692fc commit 7976db2

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,16 @@ jobs:
3939
run: |
4040
python -m pip install --upgrade pip
4141
pip install pyinstaller
42-
# Install project dependencies from pyproject.toml
43-
pip install .
42+
# Install project dependencies directly from pyproject.toml without building the package
43+
python -c "
44+
import tomllib
45+
with open('pyproject.toml', 'rb') as f:
46+
data = tomllib.load(f)
47+
deps = data['project']['dependencies']
48+
print('Installing dependencies:', deps)
49+
import subprocess
50+
subprocess.run(['pip', 'install'] + deps, check=True)
51+
"
4452
4553
- name: Install frontend dependencies
4654
run: |

0 commit comments

Comments
 (0)