uv install #1

Open
opened 2025-10-14 15:50:58 -06:00 by navan · 0 comments
Owner

Originally created by @sdelahaies on 3/26/2025

Hello, a great package you have here!

I know the repo has moved to gitlab but it does not seem possible to report any issues or request enhancements there, so here I post.

uv environment manager has gained a lot interest over the past months due to its tremendous efficiency, but yet pylaia conflicts with uv install due to some commands in the package __init__.py file.

Basically replacing the following 4 lines

freeze = subprocess.check_output(
     [sys.executable, "-m", "pip", "freeze", "--exclude-editable"]
)
freeze = freeze.decode().strip().split("\n")

with

freeze=''

seems to allow uv as env manager.

*Originally created by @sdelahaies on 3/26/2025* Hello, a great package you have here! I know the repo has moved to gitlab but it does not seem possible to report any issues or request enhancements there, so here I post. uv environment manager has gained a lot interest over the past months due to its tremendous efficiency, but yet pylaia conflicts with uv install due to some commands in the package `__init__.py` file. Basically replacing the following 4 lines ```python freeze = subprocess.check_output( [sys.executable, "-m", "pip", "freeze", "--exclude-editable"] ) freeze = freeze.decode().strip().split("\n") ``` with ```python freeze='' ``` seems to allow uv as env manager.
Sign in to join this conversation.
No labels
dependencies
stale
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github/PyLaia#1
No description provided.