Skip to content

Use Pixi for CI/CD setup#264

Closed
kylecarow wants to merge 5 commits into
fastsim-3from
f3/pixi-workflows
Closed

Use Pixi for CI/CD setup#264
kylecarow wants to merge 5 commits into
fastsim-3from
f3/pixi-workflows

Conversation

@kylecarow

@kylecarow kylecarow commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator

Affects deploy_docs and build_and_test, not release (yet)

Changes to pyproject.toml

  • Reorganize optional-dependencies into dependency-groups, this aligns better with the philosophy here
    https://pydevtools.com/handbook/explanation/what-are-optional-dependencies-and-dependency-groups/
    • no end users should be using pip install '.[dev]'/pip install fastsim[dev] so I'm not fussed about compatibility changes. You can still install these deps by doing pip install --group dev . or pip install --group dev -e . anyway.
    • I left a pymoo optional-dependency in there commented out, it seems like that would be a sensible optional dependency. The way we reference pymoo in this repo is messy anyway and should generally be cleaned up.
  • project.requires-python bumped to allow Python 3.10 through 3.14
  • New Pixi environments to facilitate Python version matrix

Workflows use pixi for Rust setup:

  • Each currently supported Python version gets its own pixi env with specified dependency
  • Reorganized deploy_docs and build_and_test workflows to use pixi for Rust installation, Python installation, FASTSim, and extra dependencies. docs workflow uses new docs pixi env that does not include any extra deps beyond what is required.
  • Is Rust caching step necessary? The robots thought that line ought to go, but perhaps it's still useful?

…-facing pip optional deps, instead install those with --group dev
@kylecarow kylecarow requested a review from jhoshiko June 29, 2026 22:53
@kylecarow kylecarow force-pushed the f3/pixi-workflows branch from 49331fe to 107e7c9 Compare June 29, 2026 23:35
@kylecarow kylecarow marked this pull request as ready for review June 30, 2026 00:05
…akenly run jupyter book start from the top level dir)
@kylecarow

Copy link
Copy Markdown
Collaborator Author

Superseded by #265

@kylecarow kylecarow closed this Jul 7, 2026
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