Skip to content
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

Merged
merged 4 commits into from
Nov 19, 2024

Conversation

deepyaman
Copy link
Contributor

@deepyaman deepyaman commented Nov 16, 2024

Description of changes

Share how I set up my development environment using Pixi.

@github-actions github-actions bot added the docs Documentation related issues or PRs label Nov 16, 2024
@deepyaman deepyaman force-pushed the docs/contribute/pixi-setup branch from cbbbba8 to 1022a89 Compare November 16, 2024 23:43
@deepyaman deepyaman changed the title docs(contribute): include instructures to use Pixi docs(contribute): include instructions to use Pixi Nov 16, 2024
if manager == "conda" or manager == "mamba":
print(f" {manager} install -c conda-forge gh")
elif manager == "pixi":
print(f" {manager} global install gh")
Copy link
Contributor Author

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...

print()
if manager == "pixi":
print(" ::: {.callout-note}")
print(" This command will initialize a `pixi.toml` file and also modify ")
Copy link
Contributor Author

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.

@deepyaman deepyaman added the docs-preview Add this label to trigger a docs preview label Nov 16, 2024
@ibis-docs-bot ibis-docs-bot bot removed the docs-preview Add this label to trigger a docs preview label Nov 16, 2024
@deepyaman deepyaman added the docs-preview Add this label to trigger a docs preview label Nov 17, 2024
@ibis-docs-bot ibis-docs-bot bot removed the docs-preview Add this label to trigger a docs preview label Nov 17, 2024
@deepyaman deepyaman added the docs-preview Add this label to trigger a docs preview label Nov 17, 2024
@ibis-docs-bot ibis-docs-bot bot removed the docs-preview Add this label to trigger a docs preview label Nov 17, 2024
@deepyaman deepyaman force-pushed the docs/contribute/pixi-setup branch from fbf85af to 95e8c44 Compare November 17, 2024 03:34
@deepyaman deepyaman added the docs-preview Add this label to trigger a docs preview label Nov 17, 2024
@ibis-docs-bot ibis-docs-bot bot removed the docs-preview Add this label to trigger a docs preview label Nov 17, 2024
@deepyaman deepyaman marked this pull request as ready for review November 17, 2024 04:06
@gforsyth
Copy link
Member

Dunno about that nix job CI is waiting on but I'm going to merge this

@gforsyth gforsyth merged commit db8af10 into ibis-project:main Nov 19, 2024
20 checks passed
@deepyaman deepyaman deleted the docs/contribute/pixi-setup branch December 5, 2024 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation related issues or PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants