Skip to content

Add pixi#412

Open
maresb wants to merge 6 commits intopymc-labs:mainfrom
maresb:add-pixi
Open

Add pixi#412
maresb wants to merge 6 commits intopymc-labs:mainfrom
maresb:add-pixi

Conversation

@maresb
Copy link
Copy Markdown
Contributor

@maresb maresb commented Sep 16, 2024

With this you can

pixi run init-jupyter-kernel
pixi shell
jupyter lab

Side note:

I'm working on a guide for migrating to pixi, and a tool to do it automatically via conda-lock.

The guide is here: conda/conda-lock#708: (preview)

Note that because things are unreleased, to follow the guide you need to install conda-lock via

pipx install --force git+https://github.com/conda/conda-lock@main

📚 Documentation preview 📚: https://causalpy--412.org.readthedocs.build/en/412/

Generated with:

```bash
conda-lock render-lock-spec --kind=pixi.toml --stdout \
    --file=pyproject.toml \
    --channel=conda-forge \
    --pixi-project-name=CausalPy \
    --editable causalpy=. \
    > pixi.toml
```
Some PyPI packages aren't available on conda-forge
This is useful for Docker on Apple Silicon
@codecov
Copy link
Copy Markdown

codecov bot commented Sep 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.40%. Comparing base (66c2623) to head (c12df48).
Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #412      +/-   ##
==========================================
+ Coverage   94.35%   94.40%   +0.05%     
==========================================
  Files          30       31       +1     
  Lines        1967     1985      +18     
==========================================
+ Hits         1856     1874      +18     
  Misses        111      111              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@drbenvincent drbenvincent self-requested a review September 17, 2024 07:48
@maresb
Copy link
Copy Markdown
Contributor Author

maresb commented Sep 17, 2024

I should add @aseyboldt's CUDA stuff here too. But that shouldn't block us from reviewing the rest of this.

Copy link
Copy Markdown
Collaborator

@juanitorduz juanitorduz left a comment

Choose a reason for hiding this comment

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

I love Pixi!

Copy link
Copy Markdown
Collaborator

@drbenvincent drbenvincent left a comment

Choose a reason for hiding this comment

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

Think this is great, though not had a chance to play with it. Think it could be worth adding some instructions to CONTRIBUTING.md for those who are new to pixi? Or is the idea to build that out in the future?

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.

3 participants