Skip to content

feat: add pixi build options#180

Merged
tsutterley merged 1 commit intomainfrom
dev
Oct 3, 2025
Merged

feat: add pixi build options#180
tsutterley merged 1 commit intomainfrom
dev

Conversation

@tsutterley
Copy link
Member

ci: use pixi for build
docs: use pixi for build

ci: use pixi for build
docs: use pixi for build
@tsutterley tsutterley requested a review from Copilot October 3, 2025 21:18
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR migrates the project's build and dependency management system from conda/mamba to pixi, providing a more streamlined workspace environment for development and documentation building.

  • Replaces conda environment files with pixi configuration in pyproject.toml
  • Updates CI/CD workflows to use pixi instead of mamba
  • Adds comprehensive documentation for pixi usage and installation

Reviewed Changes

Copilot reviewed 10 out of 12 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
readthedocs.yml Updates Read the Docs build configuration to use pixi instead of conda
pyproject.toml Adds pixi workspace configuration, tasks, and feature dependencies
environment.yml Removes conda environment file (replaced by pixi config)
doc/environment.yml Removes documentation-specific conda environment file
doc/source/project/Testing.rst Updates testing documentation to include pixi commands
doc/source/getting_started/Install.rst Adds pixi installation and usage documentation
doc/source/conf.py Adds ReadTheDocs detection and warning suppression
README.md Adds pixi installation and usage instructions
MANIFEST.in Updates file exclusions for new build system
.github/workflows/python-request.yml Migrates CI workflow from mamba to pixi

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment on lines +15 to +22
- asdf plugin add pixi
- asdf install pixi latest
- asdf global pixi latest
install:
- pixi install -e doc
build:
html:
- pixi run -e doc sphinx-build -T -b html doc/source $READTHEDOCS_OUTPUT/html
Copy link

Copilot AI Oct 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The pixi installation commands should be prefixed with proper YAML command formatting. Each command should be a single string in the list.

Suggested change
- asdf plugin add pixi
- asdf install pixi latest
- asdf global pixi latest
install:
- pixi install -e doc
build:
html:
- pixi run -e doc sphinx-build -T -b html doc/source $READTHEDOCS_OUTPUT/html
- "asdf plugin add pixi"
- "asdf install pixi latest"
- "asdf global pixi latest"
install:
- "pixi install -e doc"
build:
html:
- "pixi run -e doc sphinx-build -T -b html doc/source $READTHEDOCS_OUTPUT/html"

Copilot uses AI. Check for mistakes.
Comment on lines +21 to 23
html:
- pixi run -e doc sphinx-build -T -b html doc/source $READTHEDOCS_OUTPUT/html

Copy link

Copilot AI Oct 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The 'html' key should be at the same indentation level as 'build' since it's the build format specification, not a nested job step.

Suggested change
html:
- pixi run -e doc sphinx-build -T -b html doc/source $READTHEDOCS_OUTPUT/html
html:
- pixi run -e doc sphinx-build -T -b html doc/source $READTHEDOCS_OUTPUT/html

Copilot uses AI. Check for mistakes.
@tsutterley tsutterley merged commit 4289482 into main Oct 3, 2025
3 checks passed
@tsutterley tsutterley deleted the dev branch October 3, 2025 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant