Skip to content

Warn about incompatible Debian template dependencies - #730

Merged
stebo85 merged 4 commits into
masterfrom
fix/debian-template-compatibility-728
Sep 23, 2026
Merged

stebo85 merged 4 commits into
masterfrom
fix/debian-template-compatibility-728

Conversation

@stebo85

@stebo85 stebo85 commented Sep 23, 2026 •

Copy link
Copy Markdown
Collaborator

Templates can request APT packages that do not exist in the selected Debian release. Generation now warns on stderr about known unavailable dependencies for official Debian 10–13 tags, using the current build stage. Custom images and floating tags remain unchecked; diagnostics do not contaminate generated recipes.

The change also corrects MRtrix binaries to request libtiff5, adds MATLAB Runtime 2010a's missing version mapping, and documents package and runtime compatibility limits. This addresses the early-warning and documentation portions of #728; it does not make the legacy SPM12/MATLAB stack compatible with newer Debian releases.

CI and repeated CLI calls now avoid two sources of shared state: tests isolate the template registry and renderer schema, and command lookup copies Click commands before adding dynamic options. The latter prevents duplicate-option warnings with current Click releases. APT integration fixtures and the Conda example use Bookworm because Bullseye security-package downloads return 404s. Rendering-only Bullseye coverage remains. pyproject.toml follows the configured formatter.

Validation:

  • All PR checks passed: full CI on Python 3.10–3.13, all type checks, formatting, and the Conda example. The Python 3.12 full-suite log reports 102 passed.
  • All repository hooks passed, including Ruff, YAML/TOML formatting, and mypy.
  • Combined renderer/CLI suite: 69 passed with Click 8.5.0, covering the issue's command for Docker and Singularity and repeated generation.
  • Checked package catalogs in Debian 11, 12, and 13 containers.
  • Built the generated MRtrix 3.0.4 image on Ubuntu 22.04 and successfully ran mrinfo -version.

Refs #728.

@stebo85
stebo85 merged commit 2087a0e into master Sep 23, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant