Skip to content

Conversation

@Swendart
Copy link
Contributor

@Swendart Swendart commented Jan 28, 2025

DEVOPS-584 - POC on pixi env for HPC

@github-actions github-actions bot changed the title Devops 584 DEVOPS-584: POC on pixi env for HPC Jan 28, 2025
@sebhmg sebhmg self-requested a review February 3, 2025 14:49
@sebhmg sebhmg self-assigned this Feb 3, 2025
sebhmg
sebhmg previously approved these changes Sep 3, 2025
@sebhmg sebhmg marked this pull request as ready for review September 3, 2025 22:31
…-584

# Conflicts:
#	.github/workflows/reusable-python-pytest.yml
#	.github/workflows/reusable-python-static_analysis.yml
so that it fails in case the lock file is not up-to-date with the pyproject.toml
Can possibly move to hatch or uv later.
Building the pypi package does not rely on pixi,
even if pixi can be used to define a build environment or a task
sebhmg
sebhmg previously approved these changes Sep 4, 2025
@sebhmg sebhmg requested review from Copilot and saicheranb September 4, 2025 17:24

This comment was marked as outdated.

saicheranb
saicheranb previously approved these changes Sep 4, 2025
@sebhmg sebhmg dismissed stale reviews from saicheranb and themself via 4f97cd2 September 4, 2025 19:29

This comment was marked as outdated.

@sebhmg sebhmg force-pushed the DEVOPS-584 branch 4 times, most recently from 0e6f4a5 to fccb770 Compare September 4, 2025 21:18
@sebhmg sebhmg requested a review from Copilot September 4, 2025 22:19
Copy link
Contributor

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 introduces pixi as a new package manager option for HPC environments, extending the existing CI/CD workflows to support conda, poetry, hatch, and pixi package managers.

  • Adds pixi support to Python static analysis and pytest workflows
  • Creates a new reusable action for setting up pixi environments
  • Updates conda setup action to include cache-number parameter for better cache management

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/reusable-python-static_analysis.yml Adds pixi package manager support with conditional setup and pylint execution
.github/workflows/reusable-python-pytest.yml Integrates pixi package manager for pytest execution and updates description wording
.github/actions/reusable-python-setup_pixi/action.yml New action implementing pixi environment setup with caching and authentication
.github/actions/reusable-python-setup_conda/action.yml Adds cache-number input parameter for improved cache management

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

@sebhmg
Copy link
Contributor

sebhmg commented Sep 4, 2025

changes tested from here: MiraGeoscience/geoapps-utils#153

@sebhmg sebhmg merged commit 8440f27 into main Sep 4, 2025
4 checks passed
@sebhmg sebhmg deleted the DEVOPS-584 branch September 4, 2025 22:28
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.

4 participants