From 3cef8fc88d0a9e5d78f4da0edb9b8b7e99dc00aa Mon Sep 17 00:00:00 2001 From: Ralph Liu Date: Fri, 18 Oct 2024 12:18:23 -0700 Subject: [PATCH] Result of running rapids-dependency-file-generator --- dependencies.yaml | 217 +++++++++++++++++++++++++++++++ python/nx-cugraph/pyproject.toml | 1 - 2 files changed, 217 insertions(+), 1 deletion(-) create mode 100644 dependencies.yaml diff --git a/dependencies.yaml b/dependencies.yaml new file mode 100644 index 000000000..4abadf039 --- /dev/null +++ b/dependencies.yaml @@ -0,0 +1,217 @@ +# Dependency list for https://github.com/rapidsai/dependency-file-generator +files: + all: + output: [conda] + matrix: + cuda: ["11.8", "12.5"] + arch: [x86_64] + includes: + - checks + - cuda + - cuda_version + - docs + - python_build_rapids + - python_build_wheel + - test_python_common + - python_run_nx_cugraph + - depends_on_pylibcugraph + - test_python_nx_cugraph + - depends_on_cupy + checks: + output: none + includes: + - checks + - py_version + docs: + output: none + includes: + - cuda_version + - docs + - py_version + py_build_nx_cugraph: + output: pyproject + pyproject_dir: python/nx-cugraph + extras: + table: build-system + includes: + - python_build_rapids + - python_build_wheel + py_run_nx_cugraph: + output: pyproject + pyproject_dir: python/nx-cugraph + extras: + table: project + includes: + - depends_on_pylibcugraph + - depends_on_cupy + - python_run_nx_cugraph + py_test_nx_cugraph: + output: pyproject + pyproject_dir: python/nx-cugraph + extras: + table: project.optional-dependencies + key: test + includes: + - test_python_common + - test_python_nx_cugraph + +channels: + - rapidsai + - rapidsai-nightly + - dask/label/dev + - dglteam/label/th23_cu118 + - conda-forge + - nvidia +dependencies: + checks: + common: + - output_types: [conda, requirements] + packages: + - pre-commit + cuda_version: + specific: + - output_types: conda + matrices: + - matrix: + cuda: "11.2" + packages: + - cuda-version=11.2 + - matrix: + cuda: "11.4" + packages: + - cuda-version=11.4 + - matrix: + cuda: "11.5" + packages: + - cuda-version=11.5 + - matrix: + cuda: "11.8" + packages: + - cuda-version=11.8 + - matrix: + cuda: "12.0" + packages: + - cuda-version=12.0 + - matrix: + cuda: "12.2" + packages: + - cuda-version=12.2 + - matrix: + cuda: "12.5" + packages: + - cuda-version=12.5 + cuda: + specific: + - output_types: [conda] + matrices: + - matrix: + cuda: "12.*" + packages: + - cuda-cudart-dev + - cuda-nvtx-dev + - cuda-profiler-api + - libcublas-dev + - libcurand-dev + - libcusolver-dev + - libcusparse-dev + - matrix: + cuda: "11.*" + packages: + - cudatoolkit + - cuda-nvtx + docs: + common: + - output_types: [conda] + packages: + - breathe + - doxygen + - graphviz + - ipython + - nbsphinx + - numpydoc + - pydata-sphinx-theme + - recommonmark + - sphinx-copybutton + - sphinx-markdown-tables + - sphinx<6 + - sphinxcontrib-websupport + py_version: + specific: + - output_types: [conda] + matrices: + - matrix: + py: "3.10" + packages: + - python=3.10 + - matrix: + py: "3.11" + packages: + - python=3.11 + - matrix: + py: "3.12" + packages: + - python=3.12 + - matrix: + packages: + - python>=3.10,<3.13 + python_build_rapids: + common: + - output_types: [conda, pyproject, requirements] + packages: + - rapids-build-backend>=0.3.1,<0.4.0.dev0 + python_build_wheel: + common: + - output_types: [conda, pyproject, requirements] + packages: + - setuptools>=61.0.0 + - wheel + test_python_common: + common: + - output_types: [conda, pyproject] + packages: + - pandas + - pytest + - pytest-benchmark + - pytest-cov + - pytest-xdist + - scipy + python_run_nx_cugraph: + common: + - output_types: [conda, pyproject] + packages: + - networkx>=3.0 + - &numpy numpy>=1.23,<3.0a0 + test_python_nx_cugraph: + common: + - output_types: [conda, pyproject] + packages: + # not needed by nx-cugraph tests, but is required for running networkx tests + - pytest-mpl + depends_on_cupy: + common: + - output_types: conda + packages: + - cupy>=12.0.0 + # NOTE: This is intentionally not broken into groups by a 'cuda_suffixed' selector like + # other packages with -cu{nn}x suffixes in this file. + # All RAPIDS wheel builds (including in devcontainers) expect cupy to be suffixed. + specific: + - output_types: [requirements, pyproject] + matrices: + - matrix: {cuda: "12.*"} + packages: + - cupy-cuda12x>=12.0.0 + - matrix: {cuda: "11.*"} + packages: &cupy_packages_cu11 + - cupy-cuda11x>=12.0.0 + - {matrix: null, packages: *cupy_packages_cu11} + depends_on_pylibcugraph: + common: + - output_types: conda + packages: + - &pylibcugraph_unsuffixed pylibcugraph==24.12.*,>=0.0.0a0 + - output_types: requirements + packages: + # pip recognizes the index as a global option for the requirements.txt file + - --extra-index-url=https://pypi.nvidia.com + - --extra-index-url=https://pypi.anaconda.org/rapidsai-wheels-nightly/simple \ No newline at end of file diff --git a/python/nx-cugraph/pyproject.toml b/python/nx-cugraph/pyproject.toml index d145aa549..e7fe93e8d 100644 --- a/python/nx-cugraph/pyproject.toml +++ b/python/nx-cugraph/pyproject.toml @@ -35,7 +35,6 @@ dependencies = [ "cupy-cuda11x>=12.0.0", "networkx>=3.0", "numpy>=1.23,<3.0a0", - "pylibcugraph==24.12.*,>=0.0.0a0", ] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`. [project.optional-dependencies]