DEVOPS-693: migrate from conda-lock to pixi#767
Draft
saicheranb wants to merge 83 commits intofeature/pixifrom
Draft
DEVOPS-693: migrate from conda-lock to pixi#767saicheranb wants to merge 83 commits intofeature/pixifrom
saicheranb wants to merge 83 commits intofeature/pixifrom
Conversation
- Removed dynamic dependencies for 'dependencies' in favor of explicit listing. - Consolidated dependencies under a single section for clarity. - Added pixi configuration for project management and testing tasks. - Updated dependency versions for h5py, numpy, Pillow, and pydantic. - Introduced tasks for local dependency management and testing.
for more information, see https://pre-commit.ci
sebhmg
reviewed
Sep 4, 2025
sebhmg
reviewed
Sep 4, 2025
sebhmg
requested changes
Sep 4, 2025
…nalysis and pytest
…iple Python versions
…in pyproject.toml
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## feature/pixi #767 +/- ##
================================================
+ Coverage 90.96% 90.99% +0.03%
================================================
Files 113 113
Lines 9844 9844
Branches 1831 1831
================================================
+ Hits 8955 8958 +3
+ Misses 482 478 -4
- Partials 407 408 +1
🚀 New features to boost your workflow:
|
sebhmg
reviewed
Sep 5, 2025
Co-authored-by: Sébastien Hensgen <sebastienh@mirageoscience.com>
sebhmg
requested changes
Sep 5, 2025
Contributor
sebhmg
left a comment
There was a problem hiding this comment.
please see some adjustments
- Adjusted version constraints for h5py, numpy, Pillow, and pydantic to use more specific versioning. - Updated pixi dependencies to align with the new version specifications. - Modified environment configurations to include 'dev' feature instead of 'dev-git'. - Streamlined task arguments for pip commands in the pixi tasks section.
- Added jinja2 as a dependency in pyproject.toml. - Updated the 'docs' feature group to include the 'doc' feature for Python 3.10.
sebhmg
reviewed
Sep 5, 2025
sebhmg
reviewed
Sep 5, 2025
and avoid a sphinx warning
domfournier
reviewed
Sep 22, 2025
Contributor
domfournier
left a comment
There was a problem hiding this comment.
I am ok with it if @saicheranb is ok with.
jupyter-book always creates a `_build` subfolder Move html content to the location expected by RTD From what I read: - jupyter-book does not provide any option not to create that _build sub-folder - RTD does not provide any option to tell where to look for index.html
Contributor
|
@domfournier, the doc is finally building: https://mirageoscience-geoh5py.readthedocs-hosted.com/en/devops-693/ |
…OPS-693 # Conflicts: # poetry.lock # pyproject.toml
347986f to
047b75a
Compare
resort to execution of sphinx-build after generation of conf.py `sphinx-build` decides correctly about using ANSI colors, while `jupyter-book build` always want them Also needed to set PYTHONPATH from task declared in pixi: The conf.py file generated by `jupyter-book config` does have _ext folder added to Python path and thus loading local extension fails.
for easier debugging, as it will tell first if env can install
but cannot use it in RTD due to ANSI color codes which clutter the RTD log
not full matplotlib
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.
DEVOPS-693 - migrate from conda-lock to pixi
includes DEVOPS-889 - port RTD config of geoh5py