Draft: fix: upgrade stable dependencies
Fixing the bug requires upgrading toolchain_utils
& rules_coreutils
which requires upgrading our other bazel repos to stable versions.
ape 1.0.1
implicitly resolves rules_python
to v1.0.0. This causes an error (for the e2e tests) where python shared library files symlinks are broken are not found. Not sure if correct but I think this is the causing change:
(binaries/tests) For
--bootstrap_impl=script
, a binary-specific (but otherwise empty) virtual env is used to customizesys.path
initialization.
A fix was introduced in v1.2.0 which creates the venv & symlinks at runtime:
Fix packaging when using
--bootstrap_impl=script
: set--venvs_use_declare_symlink=no
to have it not create symlinks at build time (they will be created at runtime instead).
We can use --venvs_use_declare_symlink=no
in .bazelrc which fixes the problem.
Another solution would be to override the implicit python dep and set it to the current used version with single_version_override