-
Notifications
You must be signed in to change notification settings - Fork 24
✨ Introduce pixi for project management
#489
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
base: development
Are you sure you want to change the base?
Conversation
Add pixi manifest file and git-related files which are automatically generated by `pixi`
|
Hi @munechika-koyo, I like pixi and now I'm in the middle of switching from uv to it, so forgive me if my questions/comments are out of the line. What do we gain by adding pixi.toml and not integrating pixi into pyproject.toml? Isn't the disadvantage of having pixi.toml the need to keep requirements in the two toml files synchronised? Since pipy is Cherab's main package source, wouldn't it be better to prefer pipy packages in the toml file for now? Having only pyproject.toml and preferring pipy source, we can still keep the rest of the pixi features while not forcing users to migrate to pixi/conda. At least for some time. |
|
@Mateasek Thanks for your thoughtful question!
I used to manage a Python project similarly. However, because of integrating them into one toml file, it has relatively long lines, resulting in less readability. So I switched to this style, considering each file's role like:
Currently, cherab's
The reason why I prefer using conda packages for Although I believe this kind of thing should be okay for CI, we need to verify if the pypi package works well during deployment to pypi. I think users, even those who want to install |
|
Thank you for the explanation. |
Mateasek
left a comment
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.
Hi @munechika-koyo ,
I would be happy to merge this if @jacklovell and @skuba31 agree. I think Pixi is the right step forward. Last year I tested Poetry, UV and Pixi and for me Pixi is the winner so far. As I said earlier, it significantly improves the packaging experience to a bearable level
|
@Mateasek, Thank you for supporting this PR, and I apologize for not providing an example use case yet. |
Developer Tasks GuideThis document provides an overview of available development tasks configured in Basic Tasks (Default Environment without
|
|
Simply amazing @munechika-koyo , thanks! |
Summary
I am introducing the package management tool,
pixi, to manage:package dependencies
development tools (linter, formatter, etc.)
task runners (building docs, testing, linting/formatting, etc.)
within each isolated virtual environment.
Key changes:
Added
piximanifest file forprojectworkspace configuration.Included git-related files for version control.
Updated
.gitignoreto accommodatepixienvironments and lock files.