Skip to content

Feature/improve slim setup#82

Merged
rdinnager merged 2 commits intodevelopfrom
feature/improve-slim-setup
Oct 18, 2025
Merged

Feature/improve slim setup#82
rdinnager merged 2 commits intodevelopfrom
feature/improve-slim-setup

Conversation

@rdinnager
Copy link
Owner

This commit implements comprehensive improvements to the slim_setup() function to make SLiM installation more reliable and user-friendly.

Major improvements:

  1. Version Selection: Added slim_version parameter to choose between "stable" (SLiM 4.x, fully compatible) and "latest" (SLiM 5.x+, may have issues). Default is "stable" for better out-of-box experience.

  2. Automatic Conda TOS Acceptance: New accept_conda_tos() helper automatically accepts Terms of Service for conda channels, eliminating installation failures and manual intervention.

  3. Robust Error Handling: Added structured, actionable error messages with platform-specific guidance (macOS/Linux/Windows) and troubleshooting steps for all failure scenarios.

  4. Download Retry Logic: New download_with_retry() helper implements exponential backoff retry logic for more reliable binary downloads.

  5. Installation Progress Feedback: Added informative progress messages throughout installation process with time estimates.

  6. Post-Installation Verification: Automatically runs slim_test() and reports installed version, catching issues immediately with helpful guidance.

  7. SLiM 5.x Compatibility Warning: Detects SLiM 5.x installations and warns users about potential compatibility issues with slimr.

  8. Graceful Conda Environment Handling: Improved logic handles existing conda installations, TOS requirements, and edge cases robustly.

All changes maintain full backward compatibility. The only behavioral change is that conda method now defaults to installing SLiM 4.x instead of 5.x, improving compatibility with slimr.

🤖 Generated with Claude Code

rdinnager and others added 2 commits November 7, 2024 15:31
This commit implements comprehensive improvements to the slim_setup() function
to make SLiM installation more reliable and user-friendly.

Major improvements:

1. **Version Selection**: Added slim_version parameter to choose between
   "stable" (SLiM 4.x, fully compatible) and "latest" (SLiM 5.x+, may have
   issues). Default is "stable" for better out-of-box experience.

2. **Automatic Conda TOS Acceptance**: New accept_conda_tos() helper
   automatically accepts Terms of Service for conda channels, eliminating
   installation failures and manual intervention.

3. **Robust Error Handling**: Added structured, actionable error messages
   with platform-specific guidance (macOS/Linux/Windows) and troubleshooting
   steps for all failure scenarios.

4. **Download Retry Logic**: New download_with_retry() helper implements
   exponential backoff retry logic for more reliable binary downloads.

5. **Installation Progress Feedback**: Added informative progress messages
   throughout installation process with time estimates.

6. **Post-Installation Verification**: Automatically runs slim_test() and
   reports installed version, catching issues immediately with helpful
   guidance.

7. **SLiM 5.x Compatibility Warning**: Detects SLiM 5.x installations and
   warns users about potential compatibility issues with slimr.

8. **Graceful Conda Environment Handling**: Improved logic handles existing
   conda installations, TOS requirements, and edge cases robustly.

All changes maintain full backward compatibility. The only behavioral change
is that conda method now defaults to installing SLiM 4.x instead of 5.x,
improving compatibility with slimr.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@rdinnager rdinnager merged commit ff19f61 into develop Oct 18, 2025
1 of 9 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

Comments