Skip to content

fix: Check system libraries on any distribution P3M supports (0.7.6) - #67

Merged
csgillespie merged 3 commits into
mainfrom
fix/58-sys-deps-distributions
Oct 16, 2026
Merged

csgillespie merged 3 commits into
mainfrom
fix/58-sys-deps-distributions

Conversation

@csgillespie

@csgillespie csgillespie commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

0.7.5 → 0.7.6

  • check_sys_deps() reads the distribution from os-release ID and ID_LIKE, and passes VERSION_ID to Posit Package Manager, so Ubuntu 26.04, RHEL 10, Debian, Rocky Linux and AlmaLinux work. If P3M or the package listing doesn't support a system, it warns with the reason and returns NA rather than stopping the audit.
  • System requirements come from packagemanager.posit.co, Posit Package Manager's current address.

Rocky and AlmaLinux use P3M's redhat lists: P3M rejects rockylinux&release=8 and has no almalinux. SUSE maps to P3M, but listing its installed packages needs rpm, which is #59's change, so for now it warns. get_quarto_sys_deps() treats NA as an empty table so the reports still render.

Closes #58

🤖 Generated with Claude Code

https://claude.ai/code/session_01BEZ4ZUv51gFQjAe1WePbJF

csgillespie and others added 2 commits October 16, 2026 17:33
- Map os-release ID, then ID_LIKE, to P3M's names, so Ubuntu 26.04, RHEL 10, Debian, Rocky, AlmaLinux and SUSE no longer stop the audit
- Drop the hardcoded release list
- Check P3M's response and warn with its reason; return NA instead of aborting for a system it can't handle

Closes #58

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BEZ4ZUv51gFQjAe1WePbJF
@csgillespie csgillespie self-assigned this Oct 16, 2026
@csgillespie
csgillespie merged commit 2a4f8b0 into main Oct 16, 2026
3 checks passed
@csgillespie
csgillespie deleted the fix/58-sys-deps-distributions branch October 16, 2026 16:42
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.

Sys-deps check aborts on Ubuntu 26.04, RHEL 10, Rocky, AlmaLinux and Debian

1 participant