-
Notifications
You must be signed in to change notification settings - Fork 598
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
docs(contribute): include instructions to use Pixi #10504
docs(contribute): include instructions to use Pixi #10504
Conversation
cbbbba8
to
1022a89
Compare
if manager == "conda" or manager == "mamba": | ||
print(f" {manager} install -c conda-forge gh") | ||
elif manager == "pixi": | ||
print(f" {manager} global install gh") |
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 didn't do this because I don't use gh
, but wanted to keep things consistent...
docs/contribute/01_environment.qmd
Outdated
print() | ||
if manager == "pixi": | ||
print(" ::: {.callout-note}") | ||
print(" This command will initialize a `pixi.toml` file and also modify ") |
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.
Alternatively, we could provide Pixi configuration in pyproject.toml
(or pixi.toml
), but this would be more involved to keep in sync; this approach worked well enough for me so far, with minimal effort.
fbf85af
to
95e8c44
Compare
print(" ```") | ||
print() | ||
print( | ||
f"1. Install your local copy of `ibis` into the {manager.capitalize()} environment" | ||
) | ||
print() | ||
print(" ```sh") | ||
print(" pip install -e .") | ||
print(" uv pip install -e .") |
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.
Where'd uv
come from? Should this just be pip
still?
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.
pip
isn't installed by default in the environment created this way (I could, but...)- Since chore(dev-deps): move to
uv
for development #10424,uv
is included inconda/environment.yml
anyway, so why not useuv
overpip
? Seems there was a decision to generally move touv
, and it's what's being used in CI.
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.
Ah, I didn't realize that uv
had also been added to the yml files. All good, then!
Dunno about that nix job CI is waiting on but I'm going to merge this |
Description of changes
Share how I set up my development environment using Pixi.