Skip to content

Commit

Permalink
ci: remove pyinstaller build
Browse files Browse the repository at this point in the history
This seems like a waste of resources and only validates the build works.
  • Loading branch information
yagebu committed Feb 8, 2025
1 parent 06f04ba commit 576cc37
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 28 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,3 @@ jobs:
cache-dependency-path: "constraints*.txt"
- run: python -m pip install -c constraints.txt tox tox-uv
- run: tox -e lint
build-pyinstaller:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.13"
cache: "pip"
cache-dependency-path: "constraints*.txt"
- run: python -m pip install -c constraints.txt tox tox-uv
- run: tox -e pyinstaller
15 changes: 1 addition & 14 deletions constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
# uv pip compile --extra excel --extra dev --python-version 3.9 --output-file constraints.txt pyproject.toml
alabaster==0.7.16
# via sphinx
altgraph==0.17.4
# via pyinstaller
anyio==4.8.0
# via watchfiles
babel==2.17.0
Expand Down Expand Up @@ -98,8 +96,6 @@ importlib-metadata==8.6.1
# build
# flask
# keyring
# pyinstaller
# pyinstaller-hooks-contrib
# sphinx
# twine
iniconfig==2.0.0
Expand Down Expand Up @@ -163,8 +159,6 @@ openpyxl==3.1.5
packaging==24.2
# via
# build
# pyinstaller
# pyinstaller-hooks-contrib
# pyproject-api
# pytest
# sphinx
Expand Down Expand Up @@ -204,10 +198,6 @@ pygments==2.19.1
# readme-renderer
# rich
# sphinx
pyinstaller==6.11.1
# via fava (pyproject.toml)
pyinstaller-hooks-contrib==2025.1
# via pyinstaller
pyproject-api==1.9.0
# via tox
pyproject-hooks==1.2.0
Expand Down Expand Up @@ -248,10 +238,7 @@ rich==13.9.4
secretstorage==3.3.3
# via keyring
setuptools==75.8.0
# via
# fava (pyproject.toml)
# pyinstaller
# pyinstaller-hooks-contrib
# via fava (pyproject.toml)
simplejson==3.19.3
# via fava (pyproject.toml)
six==1.17.0
Expand Down
4 changes: 3 additions & 1 deletion contrib/pyinstaller_spec.spec
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# vim: set ft=python:
"""Pyinstaller spec file for building a binary from fava's cli.py"""

from PyInstaller.utils.hooks import collect_submodules
from __future__ import annotations

from PyInstaller.utils.hooks import collect_data_files
from PyInstaller.utils.hooks import collect_submodules
from PyInstaller.utils.hooks import copy_metadata

# Data files and version info for Fava:
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ dev = [
"furo>=2024",
"mypy>=1.14",
"pre-commit>=4",
"pyinstaller>=6",
"pytest>=8",
"pytest-cov>=6",
"requests>=2",
Expand Down
1 change: 0 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ commands =
[testenv:pyinstaller]
deps =
pyinstaller
pytest
-c constraints.txt
allowlist_externals = {toxinidir}/dist/fava
commands =
Expand Down

0 comments on commit 576cc37

Please sign in to comment.