Skip to content

Build / environment issue related to ucxx #56

@TomAugspurger

Description

@TomAugspurger

The last couple runs have failed (https://github.com/rapidsai/dask-upstream-testing/actions/runs/15145027688/job/42578549944)

When we try to import ucxx and obtain the commit (roughly here) we hit an error:

/__w/dask-upstream-testing/dask-upstream-testing
Traceback (most recent call last):
  File "/__w/dask-upstream-testing/dask-upstream-testing/./scripts/check-version.py", line 37, in <module>
    main()
  File "/__w/dask-upstream-testing/dask-upstream-testing/./scripts/check-version.py", line 25, in main
    sha = importlib.resources.files(dist).joinpath("GIT_COMMIT").read_text().strip()
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/github/home/.local/share/uv/python/cpython-3.12.10-linux-x86_64-gnu/lib/python3.12/importlib/resources/_common.py", line 46, in wrapper
    return func(anchor)
           ^^^^^^^^^^^^
  File "/github/home/.local/share/uv/python/cpython-3.12.10-linux-x86_64-gnu/lib/python3.12/importlib/resources/_common.py", line 56, in files
    return from_package(resolve(anchor))
                        ^^^^^^^^^^^^^^^
  File "/github/home/.local/share/uv/python/cpython-3.12.10-linux-x86_64-gnu/lib/python3.12/functools.py", line 912, in wrapper
    return dispatch(args[0].__class__)(*args, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/github/home/.local/share/uv/python/cpython-3.12.10-linux-x86_64-gnu/lib/python3.12/importlib/resources/_common.py", line 82, in _
    return importlib.import_module(cand)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/github/home/.local/share/uv/python/cpython-3.12.10-linux-x86_64-gnu/lib/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/__w/dask-upstream-testing/dask-upstream-testing/.venv/lib/python3.12/site-packages/ucxx/__init__.py", line 30, in <module>
    from . import exceptions, types, testing  # noqa
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/__w/dask-upstream-testing/dask-upstream-testing/.venv/lib/python3.12/site-packages/ucxx/exceptions.py", line 4, in <module>
    from ._lib.libucxx import (  # noqa
  File "/__w/dask-upstream-testing/dask-upstream-testing/.venv/lib/python3.12/site-packages/ucxx/_lib/__init__.py", line 4, in <module>
    from .libucxx import _create_exceptions
ImportError: libpython3.12.so.1.0: cannot open shared object file: No such file or directory

I'll take a look.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions