Skip to content

add pixi configure in python gitignore #4471

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

Merged
merged 2 commits into from
Jun 20, 2025
Merged

add pixi configure in python gitignore #4471

merged 2 commits into from
Jun 20, 2025

Conversation

kasi-x
Copy link
Contributor

@kasi-x kasi-x commented Jun 20, 2024

Reasons for making this change:

pixi is a package manager.
I want to append pixi support for this project.
This appendix is almost same as previous ones, pyenv, pipenv(#2977) pdm(##3976), poetry(#3853).

This change include two type of changes for pixi's support.

First one is for pixi.lock. It just follows precedent cases(pipenv, poetry, pdm).
I don't think there is any problem to append this line.

Second one is for .pixi.
pixi create .pixi directory, just like Python's venv module creates one in the .venv directory. .pixi is a directory for setting up virtualenv.
It is recommended not to include this directory in version control in pixi system.

Why .pixi is needed in gitignore.

When initialize pixi project (by running pixi init command), pixi automatically add the line of .pixi to .gitignore file. (If already exist .pixi in user's .gitignore file, pixi doesn't change anything.)
But user may use this project's template after initialized pixi.
This change doesn't cause any breaking change. Appending .pixi in this project's template is reasonable.

@pavelzw pavelzw mentioned this pull request Mar 6, 2025
3 tasks
Copy link

This PR is stale because there have been no updates in 90 days. It will close after 180 days of inactivity. Leave a comment if you want to keep it open 😄

Copy link
Collaborator

@wirecat wirecat left a comment

Choose a reason for hiding this comment

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

Thank you for contributing!

@wirecat wirecat merged commit 820563a into github:main Jun 20, 2025
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.

2 participants