Skip to content

Commit 9a30a5c

Browse files
authored
Always reinstall eth2spec for non-editable installs (#4676)
Adds `--reinstall-package=eth2spec` for `uv run` commands used with editable installs. This will ensure that `uv` doesn't used a cached version of `eth2spec` (consensus-specs) and ensure that the most recent version of repo source is used when generating test vectors during local development. Follow-up fix to: - #4627 and, in particular: - #4634
1 parent e6c3452 commit 9a30a5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ VENV = .venv
193193
# Use editable installs for all non-generation targets, but use non-editable
194194
# installs for generators. More details: ethereum/consensus-specs#4633.
195195
UV_RUN = uv run
196-
UV_RUN_NE = uv run --no-editable
196+
UV_RUN_NE = uv run --no-editable --reinstall-package=eth2spec
197197

198198
# Sync dependencies using uv.
199199
_sync: MAYBE_VERBOSE := $(if $(filter true,$(verbose)),--verbose)

0 commit comments

Comments
 (0)