-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix conda deps, try to fix readthedocs builds
- Loading branch information
Showing
3 changed files
with
28 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/bash | ||
# Copyright (c) 2024 NVIDIA CORPORATION. | ||
# | ||
# [description] | ||
# | ||
# ucx-py's docs builds require installing the library. | ||
# | ||
# It does that by running 'pip install .' from the root of the repo. This script | ||
# is used to modify readthedocs' local checkout of this project's source code prior | ||
# to that 'pip install' being run. | ||
# | ||
# For more, see https://docs.readthedocs.io/en/stable/build-customization.html | ||
# | ||
# NOTE: This can go away if/when this project is cut over to rapids-build-backend. | ||
# See https://github.com/rapidsai/build-planning/issues/31 | ||
# | ||
|
||
set -euo pipefail | ||
|
||
# just remove libucx dependency from pyproject.toml... it's not necessary for docs builds, | ||
# and it's unsuffixed (e.g. no `-cu12`) in source control | ||
cat ./pyproject.toml | grep -v '"libucx' > pyproject.bak | ||
mv ./pyproject.bak ./pyproject.toml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters