-
Notifications
You must be signed in to change notification settings - Fork 0
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
Why not uv? #4
Comments
Besides not being able to easily install on windows, I also have challenges on Linux because I'm running on a Jupyterhub inside a Docker container where touch: cannot touch '/home/jovyan/.bashrc': Permission denied when trying to install pixi. This just complicates things. I have to manually add export PATH=$PATH:~/.pixi/bin to my I never have those problems with |
Ok. I would like to add pandas as a |
Ok. I figured out that to select my python interpreter in VS Code I need to manually select |
Ok there is a VS Code pixi extension that should make life easier. But unfortunately its not in the open-vsx.org Market Place that Code Server is using. And I'm working on code-server. |
I don't have time for |
I think the problem is that |
I don't have a strong preference to pixi as I do to mkdocs because I personally just use conda & pip for my own dev envs. As far as I understand, uv is a drop in replacement to pip? I'm wondering if there will be any issues with uv compiling Panel JSComponents? I'm also wondering whether hatch is a better replacement? I don't have much experience in all these beyond pip and conda. I would like to hear what @hoxbro thinks since he brought it into the HoloViz repos. |
I don't think |
Right, I think that's the supporting argument for pixi, but as you've experienced maybe it's excessive to set up on Windows, and maybe conda is sufficient. |
Keeping the |
I've changed it back to I've tried to search and figure out how to get |
We currently give people a one-liner to setup completions. That is convenient, but also fragile. If people's startup script doesn't end in a newline, it [breaks](panel-extensions/copier-template-panel-extension#4 (comment)) If people run it multiple times it will be duplicated. Let's follow starship.rs and give users instructions to add it themselves
I just want to clarify that I use Pixi as part of my local development, and I'm pretty sure I heard @philippjfr say something similar. We only transitioned to Pixi earlier this year, and before that, we all did what @ahuang11 did and just used a combination of I will only go over some of the comments left in this issue. Some of them have already been resolved, but I still want to add some clarification.
There is a simple way for Windows users to install Pixi: use the installer. However, if you are in a corporate setting that bans this method, you need to dive deeper. I agree it is not as easy as
As you later found out, in our case, we need to install non-Python tools, e.g.,
I think this is because UV uses the python environment. Maybe this could be helped by
This is a big problem! An open issue is here: prefix-dev/pixi#2458, with a well-known repo.
As I mentioned at the start, it works for personal development. I would be very careful in extrapolating your experience to the general experience, and likewise, I will do the same with my experience. I would also say it is a new tool and requires some learning. From the look of it, you only use FWIW, I have opened a PR on HoloViews and I am discussing with @maximlt around adding a
Mostly because our project depends on some non-Python-only packages, and I wanted to have a unified experience across our repos. These non-packages can roughly be split into: NodeJS (Panel, GeoViews), GPU-support (Datashader, HoloViews, hvplot), and Geo-packages (GeoViews - Not as essential anymore). |
We currently give people a one-liner to setup completions. That is convenient, but also fragile. If people's startup script doesn't end in a newline, it [breaks](panel-extensions/copier-template-panel-extension#4 (comment)). If people run it multiple times it will be duplicated. Let's follow https://starship.rs and give users instructions to add it themselves
We currently give people a one-liner to setup completions. That is convenient, but also fragile. If people's startup script doesn't end in a newline, it [breaks](panel-extensions/copier-template-panel-extension#4 (comment)). If people run it multiple times it will be duplicated. Let's follow https://starship.rs and give users instructions to add it themselves
Some users might be in an organisation with a very restricted environment.
pixi
is just harder to install thanuv
.uv
can be installed withpip
. If you are a windows user you will need to install pixi via a windows installer which might not be allowed or possible. I think there are other ways. But the pixi web site describes so many different ways of installing that it appears complicated. There is no simple, single way to install no matter what.Furthermore
uv
is a very well known and widely adapted tool already while pixi appears more niche. For example Ray Bell writes he uses pixi for those 10% of projects that are very hard to install anduv
for the rest.Please consider migrating from
pixi
touv
to ease adaption.The text was updated successfully, but these errors were encountered: