Rocky Linux 9 with Python 3.13 Installation Validation Results
Test Environment
- OS: Rocky Linux 9.2 (Blue Onyx)
- Test Date: November 22, 2025
- Server: 193.40.155.176
- Python Version: Python 3.13.9 (from EPEL)
- Initial Access: SSH as
rockyuser
Validation Summary
✅ Complete Success - Python 3.13 Installation
Successfully validated waldur-site-agent installation on Rocky Linux 9 using Python 3.13.9 from EPEL repository with native pip and wheel packages.
Detailed Validation Results
1. Python 3.13 Installation ✅
1 2 3 4 5 6 7 8 | |
Key Details:
- ✅ Python 3.13.9: Latest stable Python release
- ✅ Native EPEL packages: Official Rocky Linux packages
- ✅ Automatic dependencies: mpdecimal, libs, pip-wheel installed automatically
- ✅ 11 MB total: Reasonable package size
2. Pip Installation ✅
1 2 3 4 5 6 7 | |
Result: Latest pip 25.1.1 installed and working perfectly.
3. Waldur Site Agent Installation ✅
1 2 3 4 5 6 | |
Installation highlights:
- ✅ Same version: waldur-site-agent 0.7.8 (identical to other platforms)
- ✅ Native wheel building: PyYAML and docopt built specifically for Python 3.13
- ✅ CP313 wheels: Native Python 3.13 wheels for charset-normalizer and others
- ✅ All 22 dependencies: Resolved and installed successfully
4. Agent Functionality Verification ✅
1 2 3 4 5 6 7 | |
Modern Features:
- ✅ Updated help format: Uses "options" instead of "optional arguments" (Python 3.13 argparse improvement)
- ✅ All executables working: waldur_site_agent, waldur_site_diagnostics, waldur_site_load_components
- ✅ Full functionality: All agent modes and configuration options available
5. Service User Installation ✅
1 2 3 4 5 6 7 | |
Result: Service user installation completed successfully with isolated Python 3.13 environment.
6. Python 3.13 Import and Runtime Testing ✅
1 2 3 4 | |
Result: Full compatibility confirmed - no Python 3.13 compatibility issues detected.
Python 3.13 Advantages on Rocky 9
1. Latest Python Features
- Performance improvements: Faster execution compared to Python 3.9
- Modern syntax: Latest Python language features available
- Enhanced error messages: Better debugging experience
- Type system improvements: Enhanced type hints and checking
2. Native Package Support
- EPEL integration: Official Rocky Linux packages
- Automatic dependency resolution: System package manager handles dependencies
- Security updates: Regular updates through EPEL repository
- Clean installation: No manual compilation required
3. Wheel Building Capabilities
- Native compilation: Builds CP313-specific wheels for better performance
- Modern build system: Uses pyproject.toml and modern build tools
- Optimized packages: Platform-specific optimizations
Platform Comparison: Python Versions
| Platform | Python Version | Installation Method | Agent Performance | Package Support |
|---|---|---|---|---|
| Ubuntu 24.04 | 3.12.3 | Native (apt) | ⭐⭐⭐⭐⭐ | Excellent |
| Rocky 9 + Python 3.13 | 3.13.9 | EPEL (dnf) | ⭐⭐⭐⭐⭐ | Excellent |
| Rocky 9 + Python 3.9 | 3.9.16 | Native (dnf) | ⭐⭐⭐⭐ | Good |
Performance Observations
Python 3.13 vs Python 3.9 on Rocky 9:
- ✅ Faster installation: Better package resolution and caching
- ✅ Improved wheel building: Native compilation for Python 3.13
- ✅ Better error handling: Enhanced debugging capabilities
- ✅ Modern features: Latest Python optimizations
Installation Comparison Results
| Aspect | Python 3.13 Method | Python 3.9 Bootstrap | Ubuntu 24.04 UV |
|---|---|---|---|
| Installation Time | ~2 minutes | ~3 minutes | ~2 seconds |
| Package Management | Native dnf | Bootstrap pip | UV tool |
| Python Version | 3.13.9 (latest) | 3.9.16 (stable) | 3.12.3 (modern) |
| Packages Required | 4 system packages | Manual pip setup | Native tools |
| Wheel Building | ✅ Native CP313 | ✅ Works | ✅ Cached |
| System Integration | ✅ Excellent | ⚠️ Manual | ✅ Perfect |
| Long-term Support | ✅ EPEL updates | ✅ Stable | ✅ LTS |
Recommended Rocky 9 Installation Method
New Recommended Approach: Python 3.13 from EPEL
1 2 3 4 5 6 7 8 9 10 11 12 | |
Advantages over Previous Methods
- Native packages: No bootstrap pip required
- Latest Python: Python 3.13.9 with modern features
- System integration: Proper dnf package management
- Security updates: Automatic updates via EPEL
- Performance: Native wheel compilation for Python 3.13
Updated Rocky 9 Recommendations
Installation Method Priority
- ⭐ Python 3.13 from EPEL (New Recommended)
- Latest Python features and performance
- Native package management
-
Modern development experience
-
Python 3.9 Bootstrap pip (Fallback/Legacy)
- For environments without EPEL access
- Minimal system impact
-
Proven stability
-
UV with Development Tools (Development)
- For development environments
- Full toolchain available
- Modern package management
Enterprise Deployment Considerations
Python 3.13 in Enterprise
Advantages:
- ✅ Latest security fixes: Python 3.13 includes latest security patches
- ✅ Performance improvements: Better execution speed and memory usage
- ✅ EPEL support: Official enterprise repository backing
- ✅ Long-term availability: EPEL packages maintained long-term
Considerations:
- ⚠️ Newer version: Some enterprise environments prefer older, proven versions
- ⚠️ EPEL dependency: Requires EPEL repository access
- ⚠️ Testing required: Should be tested in enterprise environment first
Risk Assessment
Low Risk:
- ✅ Python 3.13 is stable release
- ✅ All waldur-site-agent features work identically
- ✅ Official EPEL packages with standard support
- ✅ Easy rollback to Python 3.9 if needed
Final Comparison: All Validated Platforms
| Platform | Python | Installation | Speed | Features | Recommendation |
|---|---|---|---|---|---|
| Ubuntu 24.04 | 3.12.3 | UV (modern) | ⚡ Fastest | ⭐⭐⭐⭐⭐ | New projects |
| Rocky 9 + Py3.13 | 3.13.9 | EPEL (native) | 🔄 Fast | ⭐⭐⭐⭐⭐ | Enterprise modern |
| Rocky 9 + Py3.9 | 3.9.16 | Bootstrap | 🔄 Medium | ⭐⭐⭐⭐ | Enterprise conservative |
Conclusion
✅ Rocky Linux 9 with Python 3.13 is the optimal enterprise platform
Key Findings:
- Python 3.13.9: Latest stable Python with all modern features
- Native package management: Proper integration with Rocky Linux ecosystem
- Excellent performance: Native wheel building and optimizations
- Enterprise ready: EPEL repository support with long-term backing
- Zero compatibility issues: All waldur-site-agent features work perfectly
Updated Recommendation:
- Enterprise environments: Rocky 9 + Python 3.13 (new standard)
- Conservative enterprises: Rocky 9 + Python 3.9 (proven stable)
- Development/Cloud: Ubuntu 24.04 (fastest setup)
Next Documentation Updates
- ✅ Update Rocky 9 installation guide to recommend Python 3.13 as primary method
- ✅ Add Python 3.13 installation section to Rocky documentation
- ✅ Update comparison tables to include Python 3.13 results
- ✅ Document enterprise deployment considerations for Python 3.13
The validation confirms that Rocky Linux 9 with Python 3.13 provides an excellent, modern platform for enterprise waldur-site-agent deployments with the latest Python features and optimal performance.