v1.0.3
What's New
PyHC Environment Compatibility Checker Enhancement
When the PyHC Environment Compatibility check passes (no conflicts detected), the action now prints all resolved package versions from uv's dependency resolution.
Benefits
- Proof of compatibility: Shows exactly which versions uv resolved to
- Transparency: Verifies that no dependency conflicts would arise
- Debugging aid: Helps package maintainers understand compatible version ranges
- Documentation: Can be copied from CI logs for reference
Example Output
Before:
PyHC Environment Compatibility Check
====================================
Summary: 0 error(s), 0 warning(s)
Status: PASSED
After:
PyHC Environment Compatibility Check
====================================
Resolved Package Versions:
----------------------------------------
astropy==6.0.0
numpy==2.1.3
pandas>=2.0.0,<3.0.0
pysat==3.2.0
scipy==1.13.0
sunpy==6.0.1
... (50+ more PyHC packages)
Summary: 0 error(s), 0 warning(s)
Status: PASSED
Changes
- Add
parse_resolved_versions()function to parse uv pip compile output - Remove
--quietflag to capture resolution output - Print sorted list of resolved packages on success
- Add comprehensive tests for version parsing
Full Changelog
v1.0.3: v1.0.2...v1.0.3