Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
1b31e13
Move to sortition-algorithms library
foobacca Jun 17, 2025
b501ff3
gsheet version is working
foobacca Jun 18, 2025
e3b9188
upgrade dependencies
foobacca Jun 18, 2025
959a9d8
upgrade github actions
foobacca Jun 18, 2025
68e9ac8
Change macos build to use onedir argument
foobacca Jul 1, 2025
03b4fca
Fix macos app generation to only use x86_64
foobacca Jul 1, 2025
dc92f74
Change to older macos for building x86_64 app bundle
foobacca Jul 1, 2025
1c8f52f
Fix bug with changing spreadsheet
foobacca Sep 9, 2025
e7f863c
fix some api calls following upgrade to sortition-algorithms library
foobacca Sep 9, 2025
f0f5b77
update to sortition-algorithms 0.10.1
foobacca Sep 21, 2025
a5df9ea
update eel to avoid pkg_resources warning
foobacca Oct 3, 2025
31b328a
add explicit message to say feature and people loading succeeded
foobacca Oct 3, 2025
6069fc9
Stop treating generated report as list
foobacca Oct 3, 2025
ed5dbaa
Upgrade to sortition-algorithms 0.10.2
foobacca Oct 6, 2025
df2faca
Improve handling of panel_size in the code
foobacca Oct 6, 2025
f776c4d
Don't try to write selection when selection failed
foobacca Oct 6, 2025
7b895ed
Respect the "generate remaining tab" checkbox
foobacca Oct 6, 2025
7acaeea
Catch all errors that come out of sorition algorithms
foobacca Oct 6, 2025
0a659c3
Improved output to user
foobacca Oct 6, 2025
f0153b6
upgrade sortition-algorithms to 0.10.4
foobacca Oct 6, 2025
ce612be
Disable run button while loading the spreadsheet
foobacca Oct 8, 2025
6bd4a19
Improve reporting when error in feature/people loading
foobacca Oct 8, 2025
2c7a48a
Slightly improve messages in central box
foobacca Oct 8, 2025
5ae668b
update sortition-algorithms package to get fixes
foobacca Oct 30, 2025
093314c
upgrade sortition-algorithms, and a few other packages
foobacca Dec 3, 2025
32f8670
Update sortition-algorithms to 0.11.5
foobacca Jan 30, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 25 additions & 19 deletions .github/workflows/build-executables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ jobs:
# 1. Build Windows Executable
#
build-windows-exe:
name: 'script.exe creation using python 3.11 on Windows'
runs-on: 'windows-latest'
name: "script.exe creation using python 3.11 on Windows"
runs-on: "windows-latest"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
uses: astral-sh/setup-uv@v6
with:
version: "0.6.2"
python-version: '3.11'
version: "latest"
python-version: "3.11"
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: "Install dependencies"
Expand All @@ -49,26 +49,32 @@ jobs:
# Note that this produces an ARM based build, so won't work on older
# intel based Macs.
build-macos-executable:
name: 'script.app creation using python 3.11 on MacOS'
runs-on: 'macos-latest'
name: "script.app creation using python 3.11 on MacOS"
# we use 13 to build x86_64 apps
runs-on: "macos-13"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
uses: astral-sh/setup-uv@v6
with:
version: "0.6.2"
python-version: '3.11'
version: "latest"
python-version: "3.11"
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: "Install dependencies"
run: |
uv run python -VV
uv run python -m site
uv sync
# notes:
# --onedir rather than --onefile is required for app bundle
# --target-arch=x86_64 is required for python-mip 1.15.0 - revisit once 1.16.0 is properly released
# See https://groups.google.com/g/python-mip/c/0R2NC_URD6M
- name: "Build MacOS package"
run: |
uv run python -m eel script.py web -n strat-select-macos --additional-hooks-dir=./pyinstallerhooks/ --onefile --windowed
uv run python -m eel script.py web -n strat-select-macos --additional-hooks-dir=./pyinstallerhooks/ --onedir --windowed --target-arch=x86_64
mkdir -p target/release
ls -l dist/strat-select-macos.app
mv dist/strat-select-macos target/release
cd dist && zip -r ../target/release/strat-select-macos.app.zip strat-select-macos.app
ls -l ../target/release/
Expand All @@ -84,15 +90,15 @@ jobs:
# 3. Build Linux Executable
#
build-linux-executable:
name: 'executable creation using python 3.11 on Linux'
runs-on: 'ubuntu-24.04'
name: "executable creation using python 3.11 on Linux"
runs-on: "ubuntu-24.04"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
uses: astral-sh/setup-uv@v6
with:
version: "0.6.2"
python-version: '3.11'
version: "latest"
python-version: "3.11"
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: "Install dependencies"
Expand Down
52 changes: 0 additions & 52 deletions .github/workflows/run-tests.yml

This file was deleted.

Loading
Loading