Skip to content

Commit 9e86562

Browse files
authored
Update environments.md
comment about performance and missing progress logging
1 parent ab1a191 commit 9e86562

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

topics/environments.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,15 @@ On Windows we need to use:
4646

4747
as the python executable.
4848

49+
### Performance and progress logging
50+
51+
uv is very fast, usualy package installations and even python installations run in under one minute.
52+
53+
It was not possible to print progress logging output from the 'uv sync' run, so please be patient if nothings happens for a while, after changing python version or adding (larger) python packages.
54+
55+
If you don't want to wait, you can just "kill the clojure process" and run `uv sync` by hand (which prints the logging).
56+
The integration creates an updated "pyproject.toml" file on disk, which `uv sync` will process.
57+
4958
### Caveat
5059

5160
We have noticed that under Windows for some python versions `libpython-clj` does not setup the python library path correctly, resulting in python libraries not found using for example: `(py/import-module "xxx")`
@@ -60,4 +69,4 @@ This can be fixed as by running after `(py/initialize!)` the following:
6069
Windows: `(py/run-simple-string "import sys; sys.path.append('.venv/Lib/site-packages')")`
6170
Linux: `(py/run-simple-string "import sys; sys.path.append('/.venv/lib/<python_version>/site-packages')")`
6271

63-
Not sure, if the precise paths can change across python versions. They can be discovered by looking into `.venv` directory and see where precisely the "site-packages" directory is located.
72+
Not sure, if the precise paths can change across python versions. They can be discovered by looking into `.venv` directory and see where precisely the "site-packages" directory is located.

0 commit comments

Comments
 (0)