You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#407 has resulted in a subtle bug: pre-commit-uv pulls in uv into the virtual environment, which results in caching problems if the environment is installed through a global installation of uv (a global uv installation is required since #333):
error: Failed to generate package metadata for `compwa-github-io==0.0.1 @ editable+.`
Caused by: Failed to deserialize cache entry
Caused by: data did not match any variant of untagged enum CacheInfoWire
It should instead be recommended to install pre-commit-uv globally as well once with
Actually, the caching problems may originate from the fact that the version of packages that are installed in editable mode with a dynamic version through setuptools-scm.
The problem pops up irregularly, so I'm not sure yet. It could also be caused by packages that do not have a src/ folder.
#407 has resulted in a subtle bug:
pre-commit-uv
pulls inuv
into the virtual environment, which results in caching problems if the environment is installed through a global installation ofuv
(a globaluv
installation is required since #333):It should instead be recommended to install
pre-commit-uv
globally as well once with(see these instructions).
Tasks
pre-commit-uv
andtox-uv
from environment #452The text was updated successfully, but these errors were encountered: