-
Notifications
You must be signed in to change notification settings - Fork 12
DEVOPS-693: migrate from conda-lock to pixi #767
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: feature/pixi
Are you sure you want to change the base?
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
…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:
|
Co-authored-by: Sébastien Hensgen <sebastienh@mirageoscience.com>
sebhmg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
domfournier
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
|
@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
DEVOPS-693 - migrate from conda-lock to pixi
includes DEVOPS-889 - port RTD config of geoh5py