Skip to content

Commit

Permalink
merge branch-24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb committed Feb 9, 2024
2 parents 73f0e9f + 0e753b8 commit bd016da
Show file tree
Hide file tree
Showing 17 changed files with 49 additions and 40 deletions.
2 changes: 1 addition & 1 deletion ci/build_docs.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# Copyright (c) 2023, NVIDIA CORPORATION.
# Copyright (c) 2023-2024, NVIDIA CORPORATION.

set -euo pipefail

Expand Down
11 changes: 5 additions & 6 deletions ci/release/update-version.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# Copyright (c) 2018-2023, NVIDIA CORPORATION.
# Copyright (c) 2018-2024, NVIDIA CORPORATION.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
Expand Down Expand Up @@ -96,13 +96,12 @@ DEPENDENCIES=(
)
for DEP in "${DEPENDENCIES[@]}"; do
for FILE in dependencies.yaml conda/environments/*.yaml python/cugraph-{pyg,dgl}/conda/*.yaml; do
sed_runner "/-.* ${DEP}==/ s/==.*/==${NEXT_SHORT_TAG_PEP440}.*/g" ${FILE}
sed_runner "/-.* ${DEP}-cu[0-9][0-9]==/ s/==.*/==${NEXT_SHORT_TAG_PEP440}.*/g" ${FILE}
sed_runner "/-.* ucx-py==/ s/==.*/==${NEXT_UCX_PY_VERSION}.*/g" ${FILE}
sed_runner "/-.* ${DEP}\(-cu[[:digit:]]\{2\}\)\{0,1\}==/ s/==.*/==${NEXT_SHORT_TAG_PEP440}.*/g" "${FILE}"
sed_runner "/-.* ucx-py==/ s/==.*/==${NEXT_UCX_PY_VERSION}.*/g" "${FILE}"
done
for FILE in python/**/pyproject.toml python/**/**/pyproject.toml; do
sed_runner "/\"${DEP}==/ s/==.*\"/==${NEXT_SHORT_TAG_PEP440}.*\"/g" ${FILE}
sed_runner "/\"ucx-py==/ s/==.*\"/==${NEXT_UCX_PY_VERSION}.*\"/g" ${FILE}
sed_runner "/\"${DEP}\(-cu[[:digit:]]\{2\}\)\{0,1\}==/ s/==.*\"/==${NEXT_SHORT_TAG_PEP440}.*\"/g" "${FILE}"
sed_runner "/\"ucx-py==/ s/==.*\"/==${NEXT_UCX_PY_VERSION}.*\"/g" "${FILE}"
done
done

Expand Down
6 changes: 3 additions & 3 deletions ci/test_cpp.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# Copyright (c) 2022-2023, NVIDIA CORPORATION.
# Copyright (c) 2022-2024, NVIDIA CORPORATION.

set -euo pipefail

Expand Down Expand Up @@ -47,11 +47,11 @@ export GTEST_OUTPUT=xml:${RAPIDS_TESTS_DIR}/
# Run libcugraph gtests from libcugraph-tests package
rapids-logger "Run gtests"
cd "$CONDA_PREFIX"/bin/gtests/libcugraph/
ctest -j10 --output-on-failure
ctest -j10 --output-on-failure --no-tests=error

if [ -d "$CONDA_PREFIX"/bin/gtests/libcugraph_c/ ]; then
cd "$CONDA_PREFIX"/bin/gtests/libcugraph_c/
ctest -j10 --output-on-failure
ctest -j10 --output-on-failure --no-tests=error
fi

rapids-logger "Test script exiting with value: $EXITCODE"
Expand Down
32 changes: 16 additions & 16 deletions dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -573,10 +573,10 @@ dependencies:
matrices:
- matrix: {cuda: "12.*"}
packages:
- rmm-cu12==24.2.*
- rmm-cu12==24.4.*
- matrix: {cuda: "11.*"}
packages:
- rmm-cu11==24.2.*
- rmm-cu11==24.4.*
- {matrix: null, packages: [*rmm_conda]}

depends_on_cudf:
Expand All @@ -594,10 +594,10 @@ dependencies:
matrices:
- matrix: {cuda: "12.*"}
packages:
- cudf-cu12==24.2.*
- cudf-cu12==24.4.*
- matrix: {cuda: "11.*"}
packages:
- cudf-cu11==24.2.*
- cudf-cu11==24.4.*
- {matrix: null, packages: [*cudf_conda]}

depends_on_dask_cudf:
Expand All @@ -615,10 +615,10 @@ dependencies:
matrices:
- matrix: {cuda: "12.*"}
packages:
- dask-cudf-cu12==24.2.*
- dask-cudf-cu12==24.4.*
- matrix: {cuda: "11.*"}
packages:
- dask-cudf-cu11==24.2.*
- dask-cudf-cu11==24.4.*
- {matrix: null, packages: [*dask_cudf_conda]}

depends_on_pylibraft:
Expand All @@ -636,10 +636,10 @@ dependencies:
matrices:
- matrix: {cuda: "12.*"}
packages:
- pylibraft-cu12==24.2.*
- pylibraft-cu12==24.4.*
- matrix: {cuda: "11.*"}
packages:
- pylibraft-cu11==24.2.*
- pylibraft-cu11==24.4.*
- {matrix: null, packages: [*pylibraft_conda]}

depends_on_raft_dask:
Expand All @@ -657,10 +657,10 @@ dependencies:
matrices:
- matrix: {cuda: "12.*"}
packages:
- raft-dask-cu12==24.2.*
- raft-dask-cu12==24.4.*
- matrix: {cuda: "11.*"}
packages:
- raft-dask-cu11==24.2.*
- raft-dask-cu11==24.4.*
- {matrix: null, packages: [*raft_dask_conda]}

depends_on_pylibcugraph:
Expand All @@ -678,10 +678,10 @@ dependencies:
matrices:
- matrix: {cuda: "12.*"}
packages:
- pylibcugraph-cu12==24.2.*
- pylibcugraph-cu12==24.4.*
- matrix: {cuda: "11.*"}
packages:
- pylibcugraph-cu11==24.2.*
- pylibcugraph-cu11==24.4.*
- {matrix: null, packages: [*pylibcugraph_conda]}

depends_on_pylibcugraphops:
Expand All @@ -699,10 +699,10 @@ dependencies:
matrices:
- matrix: {cuda: "12.*"}
packages:
- pylibcugraphops-cu12==24.2.*
- pylibcugraphops-cu12==24.4.*
- matrix: {cuda: "11.*"}
packages:
- pylibcugraphops-cu11==24.2.*
- pylibcugraphops-cu11==24.4.*
- {matrix: null, packages: [*pylibcugraphops_conda]}

depends_on_cupy:
Expand All @@ -717,6 +717,6 @@ dependencies:
packages:
- cupy-cuda12x>=12.0.0
- matrix: {cuda: "11.*"}
packages:
packages: &cupy_packages_cu11
- cupy-cuda11x>=12.0.0
- {matrix: null, packages: [cupy-cuda11x>=12.0.0]}
- {matrix: null, packages: *cupy_packages_cu11}
2 changes: 1 addition & 1 deletion docs/cugraph/source/conf.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2018-2023, NVIDIA CORPORATION.
# Copyright (c) 2018-2024, NVIDIA CORPORATION.
#
# pygdf documentation build configuration file, created by
# sphinx-quickstart on Wed May 3 10:59:22 2017.
Expand Down
2 changes: 1 addition & 1 deletion fetch_rapids.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# =============================================================================
# Copyright (c) 2022-2023, NVIDIA CORPORATION.
# Copyright (c) 2022-2024, NVIDIA CORPORATION.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
# in compliance with the License. You may obtain a copy of the License at
Expand Down
2 changes: 0 additions & 2 deletions python/cugraph-dgl/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,3 @@ version = {file = "cugraph_dgl/VERSION"}
include = [
"cugraph_dgl*",
]
exclude = ["*tests*"]

1 change: 0 additions & 1 deletion python/cugraph-equivariant/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,3 @@ include = [
"cugraph_equivariant*",
"cugraph_equivariant.*",
]
exclude = ["*tests*"]
20 changes: 20 additions & 0 deletions python/cugraph-equivariant/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright (c) 2024, NVIDIA CORPORATION.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

from setuptools import find_packages, setup

if __name__ == "__main__":
packages = find_packages(include=["cugraph_equivariant*"])
setup(
package_data={key: ["VERSION"] for key in packages},
)
2 changes: 0 additions & 2 deletions python/cugraph-pyg/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,3 @@ include = [
"cugraph_pyg*",
"cugraph_pyg.*",
]
exclude = ["*tests*"]

1 change: 0 additions & 1 deletion python/cugraph-service/client/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,3 @@ version = {file = "cugraph_service_client/VERSION"}
include = [
"cugraph_service_client",
]
exclude = ["*tests*"]
1 change: 0 additions & 1 deletion python/cugraph-service/server/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,3 @@ include = [
"cugraph_service_server",
"cugraph_service_server.*"
]
exclude = ["*tests*"]
2 changes: 1 addition & 1 deletion python/cugraph/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# =============================================================================
# Copyright (c) 2022-2023, NVIDIA CORPORATION.
# Copyright (c) 2022-2024, NVIDIA CORPORATION.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
# in compliance with the License. You may obtain a copy of the License at
Expand Down
1 change: 0 additions & 1 deletion python/cugraph/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ build-dir = "build/{wheel_tag}"
cmake.build-type = "Release"
cmake.minimum-version = "3.26.4"
ninja.make-fallback = true
sdist.exclude = ["*tests*"]
sdist.reproducible = true
wheel.packages = ["cugraph"]

Expand Down
1 change: 0 additions & 1 deletion python/nx-cugraph/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ include = [
"_nx_cugraph*",
"_nx_cugraph.*",
]
exclude = ["*tests*"]

[tool.black]
line-length = 88
Expand Down
2 changes: 1 addition & 1 deletion python/pylibcugraph/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# =============================================================================
# Copyright (c) 2022-2023, NVIDIA CORPORATION.
# Copyright (c) 2022-2024, NVIDIA CORPORATION.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
# in compliance with the License. You may obtain a copy of the License at
Expand Down
1 change: 0 additions & 1 deletion python/pylibcugraph/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ build-dir = "build/{wheel_tag}"
cmake.build-type = "Release"
cmake.minimum-version = "3.26.4"
ninja.make-fallback = true
sdist.exclude = ["*tests*"]
sdist.reproducible = true
wheel.packages = ["pylibcugraph"]

Expand Down

0 comments on commit bd016da

Please sign in to comment.