Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix dask / distributed installation #5

Merged
merged 1 commit into from
Feb 7, 2025

Conversation

TomAugspurger
Copy link
Contributor

The previous run failed to run the Dask tests

https://github.com/rapidsai/dask-upstream-testing/actions/runs/13164022831/job/36739676950#step:9:392

ImportError while loading conftest '/__w/dask-upstream-testing/dask-upstream-testing/dask/dask/conftest.py'.
_pytest.pathlib.ImportPathMismatchError: ('dask.conftest', '/pyenv/versions/3.10.16/lib/python3.10/site-packages/dask/conftest.py', PosixPath('/__w/dask-upstream-testing/dask-upstream-testing/dask/dask/conftest.py'))

It looks like the local dask was uninstalled when we intalled distributed. Most likely, this was because the --depth=1 we cloned the repository with broke dask's local version system (using git tags). This PR clones with a larger depth and adds a bit of debug output.

The previous run failed to run the Dask tests

https://github.com/rapidsai/dask-upstream-testing/actions/runs/13164022831/job/36739676950#step:9:392

```
ImportError while loading conftest '/__w/dask-upstream-testing/dask-upstream-testing/dask/dask/conftest.py'.
_pytest.pathlib.ImportPathMismatchError: ('dask.conftest', '/pyenv/versions/3.10.16/lib/python3.10/site-packages/dask/conftest.py', PosixPath('/__w/dask-upstream-testing/dask-upstream-testing/dask/dask/conftest.py'))
```

It looks like the local dask was uninstalled when we intalled distributed. Most likely,
this was because the `--depth=1` we cloned the repository with broke dask's local
version system (using git tags). This PR clones with a larger depth.
@TomAugspurger TomAugspurger merged commit 8e3506b into rapidsai:main Feb 7, 2025
@TomAugspurger TomAugspurger deleted the tom/fix/dask-install branch February 7, 2025 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant