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
8 changes: 4 additions & 4 deletions pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ requires-python = ">=3.14, <3.15"
dependencies = [
"pyside6>=6.10.2",
"packaging>=26.0",
"porringer>=0.2.1.dev79",
"porringer>=0.2.1.dev80",
"qasync>=0.28.0",
"velopack>=0.0.1444.dev49733",
"typer>=0.24.1",
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/qt/test_update_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
UpdateInfo,
)


# ---------------------------------------------------------------------------
# Helpers
# ---------------------------------------------------------------------------
Expand All @@ -43,6 +42,7 @@ def __init__(self, model: UpdateModel) -> None:
model.restart_visible_changed.connect(self.restart_visible.append)
model.last_checked_changed.connect(self.last_checked.append)


# ---------------------------------------------------------------------------
# Helpers
# ---------------------------------------------------------------------------
Expand Down
34 changes: 4 additions & 30 deletions tool/pyinstaller/synodic.spec
Original file line number Diff line number Diff line change
@@ -1,46 +1,20 @@
# -*- mode: python ; coding: utf-8 -*-

from pathlib import Path
from PyInstaller.utils.hooks import copy_metadata
from PyInstaller.utils.hooks import collect_submodules, copy_metadata

SPEC_DIR = Path(SPECPATH)
REPO_ROOT = SPEC_DIR.parent.parent

# Collect porringer and its plugins with metadata
datas = [(str(REPO_ROOT / 'data'), 'data')]
hiddenimports = []

# Add porringer metadata so entry points work
datas += copy_metadata('porringer')

# Porringer bundled plugins (discovered via entry points at runtime).
# Keep in sync with porringer's pyproject.toml [project.entry-points.*] groups.
hiddenimports += [
# porringer.environment
'porringer.plugin.apt.plugin',
'porringer.plugin.brew.plugin',
'porringer.plugin.bun.plugin',
'porringer.plugin.deno.plugin',
'porringer.plugin.npm.plugin',
'porringer.plugin.pim.plugin',
'porringer.plugin.pip.plugin',
'porringer.plugin.pipx.plugin',
'porringer.plugin.pnpm.plugin',
'porringer.plugin.pyenv.plugin',
'porringer.plugin.uv.plugin',
'porringer.plugin.winget.plugin',
# porringer.project_environment
'porringer.plugin.bun_project.plugin',
'porringer.plugin.deno_project.plugin',
'porringer.plugin.npm_project.plugin',
'porringer.plugin.pdm.plugin',
'porringer.plugin.pnpm_project.plugin',
'porringer.plugin.poetry.plugin',
'porringer.plugin.uv_project.plugin',
'porringer.plugin.yarn_project.plugin',
# porringer.scm
'porringer.plugin.git.plugin',
]
# Auto-discover all porringer plugin modules so new upstream plugins
# are bundled without manual spec updates.
hiddenimports = collect_submodules('porringer.plugin')

a = Analysis(
[str(REPO_ROOT / 'synodic_client' / 'application' / 'bootstrap.py')],
Expand Down
Loading