-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Description
Summary
We have an all python code that we are compiling to cython modules (all .so
instead of .py
) upon delivery to customers/users. I was able to get this part up an running quickly using the scikit_build_core.build
backend. However, I have run into two issues that I have been unable to solve when it comes to working on the project:
- After making a source code change, running
uv sync
does not recompile the package, so these changes are never reflected. - When running a file using
uv run
, the package is only recompiled if the file you are running has changed, but not any other modules in the package.
Ideally, when using the scikit_build_core.build
backend, uv should detect source code file changes and recompile the package.
Or, and this would probably be preferred in my case since the package itself is python only, have a flag or option for uv sync
or run
or in the pyproject.toml
where the code not compiled, and just installed as raw python. Then we only compile with cython when running uv build
.
Platform
RHEL 9 x86_64
Version
uv 0.8.17
Python version
Python 3.13.6