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
@ 77c56dc with Python (CPython) 3.10.16, setuptools 75.6.0, wheel 0.45.1 on x86_64 Linux:
$ python -m pip install .
$ python -m pip install jax
$ cd /tmp # to ensure PATH isn't being used
$ python -c 'import grain.python as grain'
Traceback (most recent call last):
File "<string>", line 1, in<module>
File "grain/grain/python.py", line 21, in<module>
from . import python_experimental as experimental
File "grain/grain/python_experimental.py", line 53, in<module>
from ._src.python.dataset.transformations.shuffle import WindowShuffleMapDataset
File "grain/grain/_src/python/dataset/transformations/shuffle.py", line 22, in<module>
from grain._src.python.experimental.index_shuffle.python import index_shuffle_module as index_shuffle
ImportError: cannot import name 'index_shuffle_module' from 'grain._src.python.experimental.index_shuffle.python' (unknown location)
Ok so let's dig into your GitHub Actions to see if there's a hint on how to build; since the standard method didn't err:
ERROR: Skipping 'grain': error loading package 'grain': Unable to find package for @@[unknown repo 'bazel_skylib' requested from @@]//:bzl_library.bzl: The repository '@@[unknown repo 'bazel_skylib' requested from @@]' could not be resolved: No repository visible as '@bazel_skylib' from main repository. Was the repository introduced in WORKSPACE? The WORKSPACE file is disabled by default in Bazel 8 (late 2024) and will be removed in Bazel 9 (late 2025), please migrate to Bzlmod. See https://bazel.build/external/migration.
ERROR: error loading package 'grain': Unable to find package for @@[unknown repo 'bazel_skylib' requested from @@]//:bzl_library.bzl: The repository '@@[unknown repo 'bazel_skylib' requested from @@]' could not be resolved: No repository visible as '@bazel_skylib' from main repository. Was the repository introduced in WORKSPACE? The WORKSPACE file is disabled by default in Bazel 8 (late 2024) and will be removed in Bazel 9 (late 2025), please migrate to Bzlmod. See https://bazel.build/external/migration
Ok that failed, so let's try the scripted approach recommended in your build.md:
@iindyk Sure, but I'm testing with different versions of Python debugging multiple Google dependencies concurrently to enable a few choice ones to run on the last many versions of Python.
Also taking a quick glance at your Bash scripts, aside from pushd / popd these are shell scripts with the wrong shebang. Would you accept a PR to fix this? - Plenty of distributions don't ship Bash, e.g., ones with musl. - Planning to do interoperability contributions through the dependency chain…
@ 77c56dc with Python (CPython) 3.10.16, setuptools 75.6.0, wheel 0.45.1 on x86_64 Linux:
Ok so let's dig into your GitHub Actions to see if there's a hint on how to build; since the standard method didn't err:
Ok that failed, so let's try the scripted approach recommended in your
build.md
:The text was updated successfully, but these errors were encountered: