Skip to content

Commit bf0d668

Browse files
committed
Move pyinstaller to a real dev dependency instead of ad-hoc install
1 parent 2c54dac commit bf0d668

File tree

4 files changed

+2
-4
lines changed

4 files changed

+2
-4
lines changed

.github/workflows/release-codecov-cli.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,7 @@ jobs:
107107
pip install uv
108108
cd prevent-cli # codecov-cli is a dependency of prevent-cli
109109
# Need to build pyyaml and ijson from sdists to get universal2 macos build to work
110-
uv sync --no-binary-package pyyaml --no-binary-package ijson
111-
uv add --dev pyinstaller
110+
uv sync --no-binary-package pyyaml --no-binary-package ijson
112111
113112
- name: Build with pyinstaller for ${{matrix.TARGET}}
114113
run: cd codecov-cli && ${{matrix.CMD_BUILD}}

prevent-cli/uv.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/build_alpine.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ fi
88
cd prevent-cli
99
/root/.local/bin/uv python pin 3.9 # we need to build with python 3.9 to support systems with libpython >= 3.9
1010
/root/.local/bin/uv sync
11-
/root/.local/bin/uv add --dev pyinstaller
1211
/root/.local/bin/uv run pyinstaller -F src/prevent_cli/main.py
1312
mv ./dist/main ./dist/sentry-prevent-cli_$1
1413

scripts/build_linux.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ cd prevent-cli
66
python3.9 -m pip install uv --only-binary uv
77
uv python pin 3.9 # we need to build with python 3.9 to support systems with libpython >= 3.9
88
uv sync
9-
uv add --dev pyinstaller
109
uv run pyinstaller -F src/prevent_cli/main.py
1110
mv ./dist/main ./dist/sentry-prevent-cli_$1
1211
cd ../codecov-cli

0 commit comments

Comments
 (0)