-
Notifications
You must be signed in to change notification settings - Fork 151
Add pixi config to pyproject.toml #1794
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: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,3 @@ | ||
| pytensor/_version.py export-subst | ||
| # SCM syntax highlighting & preventing 3-way merges | ||
| pixi.lock merge=binary linguist-language=YAML linguist-generated=true |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -55,3 +55,6 @@ pytensor-venv/ | |
| testing-report.html | ||
| coverage.xml | ||
| .coverage.* | ||
| # pixi environments | ||
| .pixi/* | ||
| !.pixi/config.toml | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -197,3 +197,21 @@ test-skip = ["*musllinux*", "*i686*"] | |
| # Testing seems to be running into issues locating libs where expected | ||
| # test-requires = ["pytest", "numba", "jax", "jaxlib"] | ||
| # test-command = "pytest {package}/tests" | ||
|
|
||
| [tool.pixi.workspace] | ||
| channels = ["conda-forge"] | ||
| platforms = ["linux-64"] | ||
|
|
||
| [tool.pixi.pypi-dependencies] | ||
| pytensor = { path = ".", editable = true } | ||
|
|
||
| [tool.pixi.environments] | ||
| default = { solve-group = "default" } | ||
| complete = { features = ["complete"], solve-group = "default" } | ||
| development = { features = ["development"], solve-group = "default" } | ||
| jax = { features = ["jax"], solve-group = "default" } | ||
| numba = { features = ["numba"], solve-group = "default" } | ||
| rtd = { features = ["rtd"], solve-group = "default" } | ||
| tests = { features = ["tests"], solve-group = "default" } | ||
|
Comment on lines
+208
to
+215
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does this work when you don't have anything defined under
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, that's correct! |
||
|
|
||
| [tool.pixi.tasks] | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why this empty entry?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
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 think this will only support development on linux?
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 suppose, but I wouldn't be able to test it on any other platform so I am thinking that it is easier if people who want support on other platforms add it themselves