diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1ad856310..d76739e54 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -43,7 +43,7 @@ repos: args: ["--config pyproject.toml"] additional_dependencies: ["tomli"] - repo: https://github.com/rapidsai/dependency-file-generator - rev: v1.8.0 + rev: v1.13.11 hooks: - id: rapids-dependency-file-generator args: ["--clean"] diff --git a/build.sh b/build.sh index 664e824e6..ffe97da9a 100755 --- a/build.sh +++ b/build.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright (c) 2019, NVIDIA CORPORATION. +# Copyright (c) 2019-2024, NVIDIA CORPORATION. # cuSpatial build script @@ -183,7 +183,7 @@ if (( ${NUMARGS} == 0 )) || hasArg cuspatial; then cd ${REPODIR}/python/cuspatial SKBUILD_CMAKE_ARGS="-DCMAKE_PREFIX_PATH=${INSTALL_PREFIX};-DCMAKE_LIBRARY_PATH=${LIBCUSPATIAL_BUILD_DIR};${EXTRA_CMAKE_ARGS}" \ - python -m pip install --no-build-isolation --no-deps . + python -m pip install --no-build-isolation --no-deps --config-settings rapidsai.disable-cuda=true . fi # Build and install the cuproj Python package @@ -191,5 +191,5 @@ if (( ${NUMARGS} == 0 )) || hasArg cuproj; then cd ${REPODIR}/python/cuproj SKBUILD_CMAKE_ARGS="-DCMAKE_PREFIX_PATH=${INSTALL_PREFIX};-DCMAKE_LIBRARY_PATH=${LIBCUPROJ_BUILD_DIR};${EXTRA_CMAKE_ARGS}" \ - python -m pip install --no-build-isolation --no-deps . + python -m pip install --no-build-isolation --no-deps --config-settings rapidsai.disable-cuda=true . fi diff --git a/ci/build_cpp.sh b/ci/build_cpp.sh index a4ae2b872..c23dac174 100755 --- a/ci/build_cpp.sh +++ b/ci/build_cpp.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright (c) 2022, NVIDIA CORPORATION. +# Copyright (c) 2022-2024, NVIDIA CORPORATION. set -euo pipefail @@ -13,11 +13,9 @@ export CMAKE_GENERATOR=Ninja rapids-print-env -version=$(rapids-generate-version) - rapids-logger "Begin cpp build" -RAPIDS_PACKAGE_VERSION=${version} rapids-conda-retry mambabuild \ +RAPIDS_PACKAGE_VERSION=$(rapids-generate-version) rapids-conda-retry mambabuild \ conda/recipes/libcuspatial rapids-upload-conda-to-s3 cpp diff --git a/ci/build_docs.sh b/ci/build_docs.sh index 27c2270ea..0d2edbb02 100755 --- a/ci/build_docs.sh +++ b/ci/build_docs.sh @@ -12,7 +12,7 @@ PYTHON_CHANNEL="$(rapids-download-conda-from-s3 python)" rapids-dependency-file-generator \ --output conda \ - --file_key docs \ + --file-key docs \ --matrix "cuda=${RAPIDS_CUDA_VERSION%.*};arch=$(arch);py=${RAPIDS_PY_VERSION}" \ --prepend-channel "${CPP_CHANNEL}" --prepend-channel "${PYTHON_CHANNEL}" | tee env.yaml diff --git a/ci/build_python.sh b/ci/build_python.sh index a0ac89948..fc1066fc7 100755 --- a/ci/build_python.sh +++ b/ci/build_python.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright (c) 2022, NVIDIA CORPORATION. +# Copyright (c) 2022-2024, NVIDIA CORPORATION. set -euo pipefail @@ -15,13 +15,7 @@ rapids-print-env package_dir="python" -version=$(rapids-generate-version) -commit=$(git rev-parse HEAD) - -echo "${version}" > VERSION -for package_name in cuspatial cuproj; do - sed -i "/^__git_commit__/ s/= .*/= \"${commit}\"/g" "${package_dir}/${package_name}/${package_name}/_version.py" -done +rapids-generate-version > ./VERSION CPP_CHANNEL=$(rapids-download-conda-from-s3 cpp) @@ -29,7 +23,7 @@ rapids-logger "Begin py build cuSpatial" # TODO: Remove `--no-test` flag once importing on a CPU # node works correctly -RAPIDS_PACKAGE_VERSION=${version} rapids-conda-retry mambabuild \ +RAPIDS_PACKAGE_VERSION=$(head -1 ./VERSION) rapids-conda-retry mambabuild \ --no-test \ --channel "${CPP_CHANNEL}" \ conda/recipes/cuspatial @@ -38,7 +32,7 @@ rapids-logger "Begin py build cuProj" # TODO: Remove `--no-test` flag once importing on a CPU # node works correctly -RAPIDS_PACKAGE_VERSION=${version} rapids-conda-retry mambabuild \ +RAPIDS_PACKAGE_VERSION=$(head -1 ./VERSION) rapids-conda-retry mambabuild \ --no-test \ --channel "${CPP_CHANNEL}" \ conda/recipes/cuproj diff --git a/ci/build_wheel.sh b/ci/build_wheel.sh index 231b111b2..5e6eb944e 100755 --- a/ci/build_wheel.sh +++ b/ci/build_wheel.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright (c) 2023, NVIDIA CORPORATION. +# Copyright (c) 2023-2024, NVIDIA CORPORATION. set -euo pipefail @@ -9,45 +9,10 @@ package_dir=$2 source rapids-configure-sccache source rapids-date-string -version=$(rapids-generate-version) -commit=$(git rev-parse HEAD) +rapids-generate-version > ./VERSION RAPIDS_PY_CUDA_SUFFIX="$(rapids-wheel-ctk-name-gen ${RAPIDS_CUDA_VERSION})" -# This is the version of the suffix with a preceding hyphen. It's used -# everywhere except in the final wheel name. -PACKAGE_CUDA_SUFFIX="-${RAPIDS_PY_CUDA_SUFFIX}" - -# Patch project metadata files to include the CUDA version suffix and version override. -pyproject_file="${package_dir}/pyproject.toml" - -sed -i "s/name = \"${package_name}\"/name = \"${package_name}${PACKAGE_CUDA_SUFFIX}\"/g" ${pyproject_file} -echo "${version}" > VERSION -sed -i "/^__git_commit__/ s/= .*/= \"${commit}\"/g" "${package_dir}/${package_name}/_version.py" - -# For nightlies we want to ensure that we're pulling in alphas as well. The -# easiest way to do so is to augment the spec with a constraint containing a -# min alpha version that doesn't affect the version bounds but does allow usage -# of alpha versions for that dependency without --pre -alpha_spec='' -if ! rapids-is-release-build; then - alpha_spec=',>=0.0.0a0' -fi - -# Add CUDA version suffix to dependencies -sed -r -i "s/rmm(.*)\"/rmm${PACKAGE_CUDA_SUFFIX}\1${alpha_spec}\"/g" ${pyproject_file} -if [[ ${package_name} == "cuspatial" ]]; then - sed -r -i "s/cudf==(.*)\"/cudf${PACKAGE_CUDA_SUFFIX}==\1${alpha_spec}\"/g" ${pyproject_file} -fi - -if [[ ${package_name} == "cuproj" ]]; then - sed -r -i "s/cuspatial==(.*)\"/cuspatial${PACKAGE_CUDA_SUFFIX}==\1${alpha_spec}\"/g" ${pyproject_file} -fi - -if [[ $PACKAGE_CUDA_SUFFIX == "-cu12" ]]; then - sed -i "s/cupy-cuda11x/cupy-cuda12x/g" ${pyproject_file} -fi - cd "${package_dir}" python -m pip wheel . -w dist -vvv --no-deps --disable-pip-version-check diff --git a/ci/check_style.sh b/ci/check_style.sh index 1038b06f6..cbc369dc0 100755 --- a/ci/check_style.sh +++ b/ci/check_style.sh @@ -8,7 +8,7 @@ rapids-logger "Create checks conda environment" rapids-dependency-file-generator \ --output conda \ - --file_key checks \ + --file-key checks \ --matrix "cuda=${RAPIDS_CUDA_VERSION%.*};arch=$(arch);py=${RAPIDS_PY_VERSION}" | tee env.yaml rapids-mamba-retry env create --yes -f env.yaml -n checks diff --git a/ci/release/update-version.sh b/ci/release/update-version.sh index ae13d7629..d017e1123 100755 --- a/ci/release/update-version.sh +++ b/ci/release/update-version.sh @@ -57,10 +57,10 @@ DEPENDENCIES=( for DEP in "${DEPENDENCIES[@]}"; do for FILE in dependencies.yaml conda/environments/*.yaml; do - sed_runner "/-.* ${DEP}\(-cu[[:digit:]]\{2\}\)\{0,1\}==/ s/==.*/==${NEXT_SHORT_TAG_PEP440}.*/g" "${FILE}" + sed_runner "/-.* ${DEP}\(-cu[[:digit:]]\{2\}\)\{0,1\}==/ s/==.*/==${NEXT_SHORT_TAG_PEP440}.*,>=0.0.0a0/g" "${FILE}" done - sed_runner "s/${DEP}\(-cu[[:digit:]]\{2\}\)\{0,1\}==.*\",/${DEP}==${NEXT_SHORT_TAG_PEP440}.*\",/g" python/cuspatial/pyproject.toml - sed_runner "s/${DEP}\(-cu[[:digit:]]\{2\}\)\{0,1\}==.*\",/${DEP}==${NEXT_SHORT_TAG_PEP440}.*\",/g" python/cuproj/pyproject.toml + sed_runner "s/${DEP}\(-cu[[:digit:]]\{2\}\)\{0,1\}==.*\",/${DEP}==${NEXT_SHORT_TAG_PEP440}.*,>=0.0.0a0\",/g" python/cuspatial/pyproject.toml + sed_runner "s/${DEP}\(-cu[[:digit:]]\{2\}\)\{0,1\}==.*\",/${DEP}==${NEXT_SHORT_TAG_PEP440}.*,>=0.0.0a0\",/g" python/cuproj/pyproject.toml done # Dependency versions in dependencies.yaml diff --git a/conda/environments/all_cuda-118_arch-x86_64.yaml b/conda/environments/all_cuda-118_arch-x86_64.yaml index 9868e1917..319e22544 100644 --- a/conda/environments/all_cuda-118_arch-x86_64.yaml +++ b/conda/environments/all_cuda-118_arch-x86_64.yaml @@ -11,8 +11,8 @@ dependencies: - cmake>=3.26.4 - cuda-version=11.8 - cudatoolkit -- cudf==24.8.* -- cuml==24.8.* +- cudf==24.8.*,>=0.0.0a0 +- cuml==24.8.*,>=0.0.0a0 - cupy>=12.0.0 - curl - cxx-compiler @@ -41,7 +41,8 @@ dependencies: - pytest-cov - pytest-xdist - python>=3.9,<3.12 -- rmm==24.8.* +- rapids-build-backend>=0.3.0,<0.4.0.dev0 +- rmm==24.8.*,>=0.0.0a0 - scikit-build-core>=0.7.0 - scikit-image - shapely diff --git a/conda/environments/all_cuda-122_arch-x86_64.yaml b/conda/environments/all_cuda-122_arch-x86_64.yaml index 4951df0ba..45a7cb6fc 100644 --- a/conda/environments/all_cuda-122_arch-x86_64.yaml +++ b/conda/environments/all_cuda-122_arch-x86_64.yaml @@ -14,8 +14,8 @@ dependencies: - cuda-nvcc - cuda-nvrtc-dev - cuda-version=12.2 -- cudf==24.8.* -- cuml==24.8.* +- cudf==24.8.*,>=0.0.0a0 +- cuml==24.8.*,>=0.0.0a0 - cupy>=12.0.0 - curl - cxx-compiler @@ -43,7 +43,8 @@ dependencies: - pytest-cov - pytest-xdist - python>=3.9,<3.12 -- rmm==24.8.* +- rapids-build-backend>=0.3.0,<0.4.0.dev0 +- rmm==24.8.*,>=0.0.0a0 - scikit-build-core>=0.7.0 - scikit-image - shapely diff --git a/conda/recipes/cuproj/meta.yaml b/conda/recipes/cuproj/meta.yaml index d65a983c6..8ba51ec21 100644 --- a/conda/recipes/cuproj/meta.yaml +++ b/conda/recipes/cuproj/meta.yaml @@ -61,6 +61,7 @@ requirements: - cmake {{ cmake_version }} - cython >=3.0.0 - python + - rapids-build-backend >=0.3.0,<0.4.0.dev0 - rmm ={{ minor_version }} - scikit-build-core >=0.7.0 - proj diff --git a/conda/recipes/cuspatial/meta.yaml b/conda/recipes/cuspatial/meta.yaml index b3ea40cb7..d4aaf330c 100644 --- a/conda/recipes/cuspatial/meta.yaml +++ b/conda/recipes/cuspatial/meta.yaml @@ -63,6 +63,7 @@ requirements: - cython >=3.0.0 - libcuspatial ={{ version }} - python + - rapids-build-backend >=0.3.0,<0.4.0.dev0 - rmm ={{ minor_version }} - scikit-build-core >=0.7.0 run: diff --git a/dependencies.yaml b/dependencies.yaml index 7fe3fa2f6..737817cbd 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -17,6 +17,7 @@ files: - depends_on_cudf - depends_on_cuml - depends_on_cupy + - rapids_build_skbuild - run_python_cuspatial - test_libcuspatial - test_python_cuspatial @@ -60,6 +61,14 @@ files: pyproject_dir: python/cuspatial extras: table: build-system + includes: + - rapids_build_skbuild + py_rapids_build_cuspatial: + output: [pyproject] + pyproject_dir: python/cuspatial + extras: + table: tool.rapids-build-backend + key: requires includes: - depends_on_rmm - depends_on_cudf @@ -88,6 +97,14 @@ files: pyproject_dir: python/cuproj extras: table: build-system + includes: + - rapids_build_skbuild + py_rapids_build_cuproj: + output: [pyproject] + pyproject_dir: python/cuproj + extras: + table: tool.rapids-build-backend + key: requires includes: - depends_on_rmm - build_cpp_cuproj @@ -171,7 +188,7 @@ dependencies: packages: - c-compiler - cxx-compiler - - librmm==24.8.* + - librmm==24.8.*,>=0.0.0a0 - proj - sqlite specific: @@ -208,12 +225,6 @@ dependencies: - output_types: [conda, requirements, pyproject] packages: - cython>=3.0.0 - - output_types: conda - packages: - - scikit-build-core>=0.7.0 - - output_types: [requirements, pyproject] - packages: - - scikit-build-core[pyproject]>=0.7.0 specific: - output_types: conda matrices: @@ -232,6 +243,17 @@ dependencies: - output_types: [requirements, pyproject] packages: - wheel + rapids_build_skbuild: + common: + - output_types: [conda, requirements, pyproject] + packages: + - &rapids_build_backend rapids-build-backend>=0.3.0,<0.4.0.dev0 + - output_types: conda + packages: + - scikit-build-core>=0.7.0 + - output_types: [requirements, pyproject] + packages: + - scikit-build-core[pyproject]>=0.7.0 cuda_version: specific: - output_types: conda @@ -361,7 +383,7 @@ dependencies: common: - output_types: conda packages: - - &rmm_conda rmm==24.8.* + - &rmm_conda rmm==24.8.*,>=0.0.0a0 - output_types: requirements packages: # pip recognizes the index as a global option for the requirements.txt file @@ -372,17 +394,17 @@ dependencies: matrices: - matrix: {cuda: "12.*"} packages: - - rmm-cu12==24.8.* + - rmm-cu12==24.8.*,>=0.0.0a0 - matrix: {cuda: "11.*"} packages: - - rmm-cu11==24.8.* + - rmm-cu11==24.8.*,>=0.0.0a0 - {matrix: null, packages: [*rmm_conda]} depends_on_cudf: common: - output_types: conda packages: - - &cudf_conda cudf==24.8.* + - &cudf_conda cudf==24.8.*,>=0.0.0a0 - output_types: requirements packages: # pip recognizes the index as a global option for the requirements.txt file @@ -393,17 +415,17 @@ dependencies: matrices: - matrix: {cuda: "12.*"} packages: - - cudf-cu12==24.8.* + - cudf-cu12==24.8.*,>=0.0.0a0 - matrix: {cuda: "11.*"} packages: - - cudf-cu11==24.8.* + - cudf-cu11==24.8.*,>=0.0.0a0 - {matrix: null, packages: [*cudf_conda]} depends_on_cuml: common: - output_types: conda packages: - - &cuml_conda cuml==24.8.* + - &cuml_conda cuml==24.8.*,>=0.0.0a0 - output_types: requirements packages: # pip recognizes the index as a global option for the requirements.txt file @@ -414,17 +436,17 @@ dependencies: matrices: - matrix: {cuda: "12.*"} packages: - - cuml-cu12==24.8.* + - cuml-cu12==24.8.*,>=0.0.0a0 - matrix: {cuda: "11.*"} packages: - - cuml-cu11==24.8.* + - cuml-cu11==24.8.*,>=0.0.0a0 - {matrix: null, packages: [*cuml_conda]} depends_on_cuspatial: common: - output_types: conda packages: - - &cuspatial_conda cuspatial==24.8.* + - &cuspatial_conda cuspatial==24.8.*,>=0.0.0a0 - output_types: requirements packages: # pip recognizes the index as a global option for the requirements.txt file @@ -435,10 +457,10 @@ dependencies: matrices: - matrix: {cuda: "12.*"} packages: - - cuspatial-cu12==24.8.* + - cuspatial-cu12==24.8.*,>=0.0.0a0 - matrix: {cuda: "11.*"} packages: - - cuspatial-cu11==24.8.* + - cuspatial-cu11==24.8.*,>=0.0.0a0 - {matrix: null, packages: [*cuspatial_conda]} depends_on_cupy: @@ -454,8 +476,8 @@ dependencies: - cupy-cuda12x>=12.0.0 - matrix: {cuda: "11.*"} packages: - - cupy-cuda11x>=12.0.0 - - {matrix: null, packages: [cupy-cuda11x>=12.0.0]} + - &cupy_cu11 cupy-cuda11x>=12.0.0 + - {matrix: null, packages: [*cupy_cu11]} test_libcuspatial: common: - output_types: conda diff --git a/python/cuproj/cuproj/_version.py b/python/cuproj/cuproj/_version.py index e7bd99791..5f3b9ac57 100644 --- a/python/cuproj/cuproj/_version.py +++ b/python/cuproj/cuproj/_version.py @@ -1,4 +1,4 @@ -# Copyright (c) 2023, NVIDIA CORPORATION. +# Copyright (c) 2023-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. @@ -15,6 +15,20 @@ import importlib.resources __version__ = ( - importlib.resources.files("cuproj").joinpath("VERSION").read_text().strip() + importlib.resources.files(__package__) + .joinpath("VERSION") + .read_text() + .strip() ) -__git_commit__ = "" + +try: + __git_commit__ = ( + importlib.resources.files(__package__) + .joinpath("GIT_COMMIT") + .read_text() + .strip() + ) +except FileNotFoundError: + __git_commit__ = "" + +__all__ = ["__git_commit__", "__version__"] diff --git a/python/cuproj/cuproj/tests/test_version.py b/python/cuproj/cuproj/tests/test_version.py new file mode 100644 index 000000000..a69e6c647 --- /dev/null +++ b/python/cuproj/cuproj/tests/test_version.py @@ -0,0 +1,12 @@ +# Copyright (c) 2024, NVIDIA CORPORATION. + +import cuproj + + +def test_version_constants_are_populated(): + # __git_commit__ will only be non-empty in a built distribution + assert isinstance(cuproj.__git_commit__, str) + + # __version__ should always be non-empty + assert isinstance(cuproj.__version__, str) + assert len(cuproj.__version__) > 0 diff --git a/python/cuproj/pyproject.toml b/python/cuproj/pyproject.toml index 8392dc75f..e95975e6e 100644 --- a/python/cuproj/pyproject.toml +++ b/python/cuproj/pyproject.toml @@ -13,14 +13,10 @@ # limitations under the License. [build-system] -build-backend = "scikit_build_core.build" +build-backend = "rapids_build_backend.build" requires = [ - "cmake>=3.26.4", - "cython>=3.0.0", - "ninja", - "rmm==24.8.*", + "rapids-build-backend>=0.3.0,<0.4.0.dev0", "scikit-build-core[pyproject]>=0.7.0", - "wheel", ] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`. [project] @@ -33,7 +29,7 @@ license = { text = "Apache 2.0" } requires-python = ">=3.9" dependencies = [ "cupy-cuda11x>=12.0.0", - "rmm==24.8.*", + "rmm==24.8.*,>=0.0.0a0", ] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`. classifiers = [ "Intended Audience :: Developers", @@ -48,7 +44,7 @@ classifiers = [ [project.optional-dependencies] test = [ - "cuspatial==24.8.*", + "cuspatial==24.8.*,>=0.0.0a0", "geopandas>=0.11.0", "numpy>=1.23,<2.0a0", "pyproj>=3.6.0,<3.7a0", @@ -118,3 +114,14 @@ filterwarnings = [ # https://github.com/pytest-dev/pytest-cov/issues/557 "ignore:The --rsyncdir command line argument:DeprecationWarning", ] + +[tool.rapids-build-backend] +build-backend = "scikit_build_core.build" +dependencies-file = "../../dependencies.yaml" +requires = [ + "cmake>=3.26.4", + "cython>=3.0.0", + "ninja", + "rmm==24.8.*,>=0.0.0a0", + "wheel", +] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`. diff --git a/python/cuspatial/cuspatial/_version.py b/python/cuspatial/cuspatial/_version.py index e1333b17a..5f3b9ac57 100644 --- a/python/cuspatial/cuspatial/_version.py +++ b/python/cuspatial/cuspatial/_version.py @@ -1,4 +1,4 @@ -# Copyright (c) 2023, NVIDIA CORPORATION. +# Copyright (c) 2023-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. @@ -15,9 +15,20 @@ import importlib.resources __version__ = ( - importlib.resources.files("cuspatial") + importlib.resources.files(__package__) .joinpath("VERSION") .read_text() .strip() ) -__git_commit__ = "" + +try: + __git_commit__ = ( + importlib.resources.files(__package__) + .joinpath("GIT_COMMIT") + .read_text() + .strip() + ) +except FileNotFoundError: + __git_commit__ = "" + +__all__ = ["__git_commit__", "__version__"] diff --git a/python/cuspatial/cuspatial/tests/test_version.py b/python/cuspatial/cuspatial/tests/test_version.py new file mode 100644 index 000000000..dfddfa8d6 --- /dev/null +++ b/python/cuspatial/cuspatial/tests/test_version.py @@ -0,0 +1,12 @@ +# Copyright (c) 2024, NVIDIA CORPORATION. + +import cuspatial + + +def test_version_constants_are_populated(): + # __git_commit__ will only be non-empty in a built distribution + assert isinstance(cuspatial.__git_commit__, str) + + # __version__ should always be non-empty + assert isinstance(cuspatial.__version__, str) + assert len(cuspatial.__version__) > 0 diff --git a/python/cuspatial/pyproject.toml b/python/cuspatial/pyproject.toml index b2d6eddbd..779d5dd4b 100644 --- a/python/cuspatial/pyproject.toml +++ b/python/cuspatial/pyproject.toml @@ -13,15 +13,10 @@ # limitations under the License. [build-system] -build-backend = "scikit_build_core.build" +build-backend = "rapids_build_backend.build" requires = [ - "cmake>=3.26.4", - "cudf==24.8.*", - "cython>=3.0.0", - "ninja", - "rmm==24.8.*", + "rapids-build-backend>=0.3.0,<0.4.0.dev0", "scikit-build-core[pyproject]>=0.7.0", - "wheel", ] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`. [project] @@ -35,10 +30,10 @@ authors = [ license = { text = "Apache 2.0" } requires-python = ">=3.9" dependencies = [ - "cudf==24.8.*", + "cudf==24.8.*,>=0.0.0a0", "geopandas>=0.11.0", "numpy>=1.23,<2.0a0", - "rmm==24.8.*", + "rmm==24.8.*,>=0.0.0a0", ] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`. classifiers = [ "Intended Audience :: Developers", @@ -129,3 +124,15 @@ filterwarnings = [ # https://github.com/pytest-dev/pytest-cov/issues/557 "ignore:The --rsyncdir command line argument:DeprecationWarning", ] + +[tool.rapids-build-backend] +build-backend = "scikit_build_core.build" +dependencies-file = "../../dependencies.yaml" +requires = [ + "cmake>=3.26.4", + "cudf==24.8.*,>=0.0.0a0", + "cython>=3.0.0", + "ninja", + "rmm==24.8.*,>=0.0.0a0", + "wheel", +] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.