uv icon indicating copy to clipboard operation
uv copied to clipboard

Pylyzer not working with uv

Open daltunay opened this issue 1 year ago • 1 comments

uv version uv 0.4.7 (a178051e8 2024-09-07)


I want to use pylyzer but it does not seem to work when using uv.

$ pip install pylyzer
$ pylyzer main.py
<PYLYZER OUTPUT>

-> WORKING

$ uv add pylyzer
$ uv run pylyzer main.py
Start checking: broker.py
<HANGS HERE>

-> NOT WORKING

$ uv pip install pylyzer
$ uv run pylyzer main.py
Start checking: broker.py
<HANGS HERE>

-> NOT WORKING


Thanks in advance for helping

daltunay avatar Sep 08 '24 23:09 daltunay

I can't reproduce this on my machine (uv 0.4.7, Debian 12, amd64):

If I just install Pylyzer by itself with either pip or uv and run it on a file, it prints errors like [ERR] ERG_PATH not found (but still seems to check files fine?) until I also install erg manually using cargo install erg, which populates a ~/.erg directory, after which these errors disappear. I never get the freezing issue you report.

Maybe it's worth reporting this on the pylyzer side as well because their devs probably know more about how their setup script works and what the issue could be.

smheidrich avatar Sep 09 '24 10:09 smheidrich

I also can't reproduce this:

❯ uv run pylyzer ../main.py
[ERR] ERG_PATH not found
[ERR] ERG_PATH not found
[ERR] ERG_PATH/lib/pystd not found
[ERR] ERG_PATH not found
[ERR] ERG_PATH/lib/core.d not found
Start checking: main.py
All checks OK: main.py

charliermarsh avatar Sep 16 '24 02:09 charliermarsh