Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
15 changes: 13 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,21 @@ jobs:
shell: bash
run: |
uv run pyside6-deploy --init --name groupselect2 app/main.py
# groupselect-lib's groupselect.algorithms.__init__ resolves its algorithm
# implementations (DREAM, HERMES, ...) via a runtime-constructed
# importlib.import_module() call, not a static "from ... import" -- Nuitka's
# standalone mode only bundles modules it can find via static import analysis,
# so those submodules were silently left out of the build (ModuleNotFoundError
# at runtime, e.g. "No module named groupselect.algorithms.algorithm_dream").
# --include-package forces the whole groupselect package in regardless of how
# it's imported. groupselect-lib is tiny, so we deliberately go one level wider
# than strictly necessary (the whole package, not just .algorithms) to guard
# against the same pattern showing up elsewhere in it later.
include_args="--include-package=groupselect"
if [ "${{ runner.os }}" = "Windows" ]; then
extra_args="--msvc=latest --noinclude-qt-translations"
extra_args="--msvc=latest --noinclude-qt-translations $include_args"
else
extra_args="--noinclude-qt-translations"
extra_args="--noinclude-qt-translations $include_args"
fi
sed -i.bak "s/^extra_args = .*/extra_args = $extra_args/" app/pysidedeploy.spec
rm -f app/pysidedeploy.spec.bak
Expand Down
2 changes: 1 addition & 1 deletion app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def main():
"""Set up the application context and launch the app."""
app_ctx = AppContext(
app_name="GroupSelect",
app_version="v2.1.1",
app_version="v2.1.2",
project_file_ending=".gspr",
main_window_cls=GSMainWindow,
model_manager_cls=GSModelManager,
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "groupselect-app"
version = "2.1.1"
version = "2.1.2"
description = "The GroupSelect App developed by the Sortition Foundation."
authors = [
{ name = "Philipp C. Verpoort", email = "pcv@sortitionfoundation.org" }
Expand Down
Loading