Version-aware galgebra detection and CI modernization#23
Open
Version-aware galgebra detection and CI modernization#23
Conversation
- deps/build.jl: detect existing galgebra, check version range [0.6.0, 0.7.0), install controlled version only when needed - src/GAlgebra.jl: replace pyimport_conda with pyimport, add GALGEBRA_DEBUG env var for diagnostics - ci.yml: explicit pip install galgebra==0.6.0, PYTHON env var for PyCall, bump Actions (checkout v4, setup-python v5, setup-julia v2, codecov v4) - README: add Python dependency and diagnostics documentation Supersedes #22. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #23 +/- ##
==========================================
- Coverage 80.43% 78.12% -2.31%
==========================================
Files 4 4
Lines 92 96 +4
==========================================
+ Hits 74 75 +1
- Misses 18 21 +3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Supersedes #22. Implements a coherent Python dependency management strategy:
deps/build.jl: Detects existing galgebra in the user's Python environment, checks version against range [0.6.0, 0.7.0), and only installs a controlled version when galgebra is missing or out of rangesrc/GAlgebra.jl: Replacespyimport_condawith plainpyimport(no more Conda fallback), addsGALGEBRA_DEBUGenv var for diagnostics outputpip install galgebra==0.6.0withPYTHONenv var, bumped Actions (checkout v4, setup-python v5, setup-julia v2, codecov v4)Design decisions
GALGEBRA_DEBUG=1: prints galgebra version and Python path at load time for troubleshootingTest plan
GALGEBRA_DEBUG=1output shows version and Python path🤖 Generated with Claude Code