feat: Add start of uv vs. Pixi#38
Merged
matthewfeickert merged 2 commits intoJul 13, 2026
Merged
Conversation
354f314 to
95f9dbb
Compare
henryiii
reviewed
Jul 12, 2026
henryiii
reviewed
Jul 12, 2026
14dec84 to
9f2bace
Compare
matthewfeickert
commented
Jul 13, 2026
| :::: | ||
|
|
||
| [^1]: Though `uv` does have its own [PEP 517](https://peps.python.org/pep-0517/) compliant build backend, `uv_build`, for pure-Python projects. | ||
| [^2]: Older versions of Pixi also required installing the conda environment before the PyPI dependencies in it could be resolved, but modern Pixi resolves both ecosystems to `pixi.lock` without installing anything (`pixi lock`). |
Collaborator
Author
There was a problem hiding this comment.
I am going to empirically verify this in the morning. If this needs to get merged before this should be deleted.
Collaborator
Author
There was a problem hiding this comment.
Seems good:
$ pixi init no-install-lock && cd no-install-lock && pixi add --no-install python && pixi add --no-install --pypi scipy && ls -lhtra .pixi/ && pixi lock
✔ Created /tmp/no-install-lock/pixi.toml
✔ Added python >=3.14.6,<3.15
✔ Added scipy >=1.18.0, <2
Added these as pypi-dependencies.
total 16K
-rw-rw-r-- 1 feickert feickert 15 Jul 13 00:33 .gitignore
-rw-rw-r-- 1 feickert feickert 25 Jul 13 00:33 .condapackageignore
drwxrwxr-x 2 feickert feickert 4.0K Jul 13 00:33 .
drwxrwxr-x 3 feickert feickert 4.0K Jul 13 00:33 ..
✔ Lock-file was already up-to-date[workspace]
channels = ["conda-forge"]
name = "no-install-lock"
platforms = ["linux-64"]
version = "0.1.0"
[tasks]
[dependencies]
python = ">=3.14.6,<3.15"
[pypi-dependencies]
scipy = ">=1.18.0, <2"
Collaborator
Author
There was a problem hiding this comment.
Maybe that's not a full example though of what you had in mind.
Collaborator
Author
There was a problem hiding this comment.
Ah no, you meant for development (duh) and then it is still a problem
$ git clone git@github.com:scikit-hep/boost-histogram.git && cd boost-histogram && pixi init --format pyproject && pixi lock --no-install
Cloning into 'boost-histogram'...
remote: Enumerating objects: 9574, done.
remote: Counting objects: 100% (81/81), done.
remote: Compressing objects: 100% (74/74), done.
remote: Total 9574 (delta 33), reused 11 (delta 5), pack-reused 9493 (from 1)
Receiving objects: 100% (9574/9574), 3.56 MiB | 3.54 MiB/s, done.
Resolving deltas: 100% (7023/7023), done.
✔ Added package 'boost-histogram' as an editable dependency.
✔ Added environments 'github', 'test', 'dev', 'docs', 'examples' from optional dependencies or dependency groups.
▪ solving [━━━━━━━━━━━━━━━━━━━━] 1/1 ⠒ updating lock file [00:00:00] [────────────────────────────────────────] 0/8
thread 'main2' (1830632) panicked at crates/pixi_core/src/lock_file/resolve/build_dispatch.rs:477:17:
could not initialize build dispatch correctly
Error: × failed to solve the pypi requirements of environment 'default' for platform 'linux-64'
╰─▶ build dispatch initialization failed: installation of conda environment is required to solve PyPI source dependencies but `--no-install` flag has been sete51585f to
204eb16
Compare
Collaborator
Author
|
@henryiii if you approve of this as is then one of us can generate the slides and this can go in. |
Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>
cf20b15 to
88b528f
Compare
822e942 to
af6a174
Compare
henryiii
approved these changes
Jul 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@henryiii direction on what sort of story you would like here would be useful for finishing this today.