diff --git a/ci/build_cpp.sh b/ci/build_cpp.sh index 0c324d01cdf..78a15bc8092 100755 --- a/ci/build_cpp.sh +++ b/ci/build_cpp.sh @@ -17,10 +17,24 @@ rapids-logger "Begin cpp build" sccache --zero-stats -# With boa installed conda build forward to boa -RAPIDS_PACKAGE_VERSION=$(rapids-generate-version) rapids-conda-retry build \ - conda/recipes/libcudf +RAPIDS_PACKAGE_VERSION=$(rapids-generate-version) +export RAPIDS_PACKAGE_VERSION + +source rapids-rattler-channel-string + +# --no-build-id allows for caching with `sccache` +# more info is available at +# https://rattler.build/latest/tips_and_tricks/#using-sccache-or-ccache-with-rattler-build +rattler-build build --recipe conda/recipes/libcudf \ + --experimental \ + --no-build-id \ + --channel-priority disabled \ + --output-dir "$RAPIDS_CONDA_BLD_OUTPUT_DIR" \ + "${RATTLER_CHANNELS[@]}" sccache --show-adv-stats +# remove build_cache directory +rm -rf "$RAPIDS_CONDA_BLD_OUTPUT_DIR"/build_cache + rapids-upload-conda-to-s3 cpp diff --git a/ci/build_python.sh b/ci/build_python.sh index abbdc3f3a3b..ee114b63631 100755 --- a/ci/build_python.sh +++ b/ci/build_python.sh @@ -3,8 +3,6 @@ set -euo pipefail -rapids-configure-conda-channels - source rapids-configure-sccache source rapids-date-string @@ -21,51 +19,88 @@ CPP_CHANNEL=$(rapids-download-conda-from-s3 cpp) sccache --zero-stats -# TODO: Remove `--no-test` flag once importing on a CPU -# node works correctly -# With boa installed conda build forwards to the boa builder -RAPIDS_PACKAGE_VERSION=$(head -1 ./VERSION) rapids-conda-retry build \ - --no-test \ - --channel "${CPP_CHANNEL}" \ - conda/recipes/pylibcudf +RAPIDS_PACKAGE_VERSION=$(head -1 ./VERSION) +export RAPIDS_PACKAGE_VERSION + +# populates `RATTLER_CHANNELS` array +source rapids-rattler-channel-string + +rapids-logger "Prepending channel ${CPP_CHANNEL} to RATTLER_CHANNELS" + +RATTLER_CHANNELS=("--channel" "${CPP_CHANNEL}" "${RATTLER_CHANNELS[@]}") + +# TODO: Remove `--test skip` flag once importing on a CPU node works correctly + +# --no-build-id allows for caching with `sccache` +# more info is available at +# https://rattler.build/latest/tips_and_tricks/#using-sccache-or-ccache-with-rattler-build +rattler-build build --recipe conda/recipes/pylibcudf \ + --experimental \ + --no-build-id \ + --channel-priority disabled \ + --output-dir "$RAPIDS_CONDA_BLD_OUTPUT_DIR" \ + --test skip \ + "${RATTLER_CHANNELS[@]}" sccache --show-adv-stats sccache --zero-stats -RAPIDS_PACKAGE_VERSION=$(head -1 ./VERSION) rapids-conda-retry build \ - --no-test \ - --channel "${CPP_CHANNEL}" \ - --channel "${RAPIDS_CONDA_BLD_OUTPUT_DIR}" \ - conda/recipes/cudf +rattler-build build --recipe conda/recipes/cudf \ + --experimental \ + --no-build-id \ + --channel-priority disabled \ + --output-dir "$RAPIDS_CONDA_BLD_OUTPUT_DIR" \ + --test skip \ + "${RATTLER_CHANNELS[@]}" sccache --show-adv-stats sccache --zero-stats -RAPIDS_PACKAGE_VERSION=$(head -1 ./VERSION) rapids-conda-retry build \ - --no-test \ - --channel "${CPP_CHANNEL}" \ - --channel "${RAPIDS_CONDA_BLD_OUTPUT_DIR}" \ - conda/recipes/dask-cudf +rattler-build build --recipe conda/recipes/dask-cudf \ + --experimental \ + --no-build-id \ + --channel-priority disabled \ + --output-dir "$RAPIDS_CONDA_BLD_OUTPUT_DIR" \ + --test skip \ + "${RATTLER_CHANNELS[@]}" + +sccache --show-adv-stats +sccache --zero-stats + +rattler-build build --recipe conda/recipes/cudf_kafka \ + --experimental \ + --no-build-id \ + --channel-priority disabled \ + --output-dir "$RAPIDS_CONDA_BLD_OUTPUT_DIR" \ + --test skip \ + "${RATTLER_CHANNELS[@]}" + +sccache --show-adv-stats +sccache --zero-stats + +rattler-build build --recipe conda/recipes/custreamz \ + --experimental \ + --no-build-id \ + --channel-priority disabled \ + --output-dir "$RAPIDS_CONDA_BLD_OUTPUT_DIR" \ + --test skip \ + "${RATTLER_CHANNELS[@]}" + +sccache --show-adv-stats +sccache --zero-stats -RAPIDS_PACKAGE_VERSION=$(head -1 ./VERSION) rapids-conda-retry build \ - --no-test \ - --channel "${CPP_CHANNEL}" \ - --channel "${RAPIDS_CONDA_BLD_OUTPUT_DIR}" \ - conda/recipes/cudf_kafka +rattler-build build --recipe conda/recipes/cudf-polars \ + --experimental \ + --no-build-id \ + --channel-priority disabled \ + --output-dir "$RAPIDS_CONDA_BLD_OUTPUT_DIR" \ + --test skip \ + "${RATTLER_CHANNELS[@]}" sccache --show-adv-stats -RAPIDS_PACKAGE_VERSION=$(head -1 ./VERSION) rapids-conda-retry build \ - --no-test \ - --channel "${CPP_CHANNEL}" \ - --channel "${RAPIDS_CONDA_BLD_OUTPUT_DIR}" \ - conda/recipes/custreamz - -RAPIDS_PACKAGE_VERSION=$(head -1 ./VERSION) rapids-conda-retry build \ - --no-test \ - --channel "${CPP_CHANNEL}" \ - --channel "${RAPIDS_CONDA_BLD_OUTPUT_DIR}" \ - conda/recipes/cudf-polars +# remove build_cache directory +rm -rf "$RAPIDS_CONDA_BLD_OUTPUT_DIR"/build_cache rapids-upload-conda-to-s3 python diff --git a/conda/recipes/cudf-polars/build.sh b/conda/recipes/cudf-polars/build.sh deleted file mode 100644 index 06e2f1bcb99..00000000000 --- a/conda/recipes/cudf-polars/build.sh +++ /dev/null @@ -1,4 +0,0 @@ -# Copyright (c) 2024, NVIDIA CORPORATION. - -# This assumes the script is executed from the root of the repo directory -./build.sh cudf_polars diff --git a/conda/recipes/cudf-polars/meta.yaml b/conda/recipes/cudf-polars/meta.yaml deleted file mode 100644 index 64a147d3c63..00000000000 --- a/conda/recipes/cudf-polars/meta.yaml +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright (c) 2024-2025, NVIDIA CORPORATION. - -{% set version = environ['RAPIDS_PACKAGE_VERSION'].lstrip('v') %} -{% set minor_version = version.split('.')[0] + '.' + version.split('.')[1] %} -{% set py_version = environ['CONDA_PY'] %} -{% set cuda_version = '.'.join(environ['RAPIDS_CUDA_VERSION'].split('.')[:2]) %} -{% set cuda_major = cuda_version.split('.')[0] %} -{% set date_string = environ['RAPIDS_DATE_STRING'] %} - -package: - name: cudf-polars - version: {{ version }} - -source: - path: ../../.. - -build: - number: {{ GIT_DESCRIBE_NUMBER }} - string: cuda{{ cuda_major }}_py{{ py_version }}_{{ date_string }}_{{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }} - script_env: - - AWS_ACCESS_KEY_ID - - AWS_SECRET_ACCESS_KEY - - AWS_SESSION_TOKEN - - CMAKE_C_COMPILER_LAUNCHER - - CMAKE_CUDA_COMPILER_LAUNCHER - - CMAKE_CXX_COMPILER_LAUNCHER - - CMAKE_GENERATOR - - PARALLEL_LEVEL - - SCCACHE_BUCKET - - SCCACHE_IDLE_TIMEOUT - - SCCACHE_REGION - - SCCACHE_S3_KEY_PREFIX=cudf-polars-aarch64 # [aarch64] - - SCCACHE_S3_KEY_PREFIX=cudf-polars-linux64 # [linux64] - - SCCACHE_S3_USE_SSL - - SCCACHE_S3_NO_CREDENTIALS - -requirements: - host: - - python - - rapids-build-backend >=0.3.0,<0.4.0.dev0 - - setuptools - - cuda-version ={{ cuda_version }} - run: - - python - - pylibcudf ={{ version }} - - polars >=1.20,<1.24 - - {{ pin_compatible('cuda-version', max_pin='x', min_pin='x') }} - -test: - requires: - - cuda-version ={{ cuda_version }} - imports: - - cudf_polars - - -about: - home: https://rapids.ai/ - license: Apache-2.0 - license_family: APACHE - license_file: LICENSE - summary: cudf-polars library diff --git a/conda/recipes/cudf-polars/recipe.yaml b/conda/recipes/cudf-polars/recipe.yaml new file mode 100644 index 00000000000..c3fc2be1575 --- /dev/null +++ b/conda/recipes/cudf-polars/recipe.yaml @@ -0,0 +1,68 @@ +# yaml-language-server: $schema=https://raw.githubusercontent.com/prefix-dev/recipe-format/main/schema.json +# Copyright (c) 2018-2025, NVIDIA CORPORATION. +schema_version: 1 + +context: + version: ${{ env.get("RAPIDS_PACKAGE_VERSION") }} + minor_version: ${{ (version | split("."))[:2] | join(".") }} + cuda_version: ${{ (env.get("RAPIDS_CUDA_VERSION") | split("."))[:2] | join(".") }} + cuda_major: '${{ (env.get("RAPIDS_CUDA_VERSION") | split("."))[0] }}' + date_string: '${{ env.get("RAPIDS_DATE_STRING") }}' + py_version: ${{ env.get("RAPIDS_PY_VERSION") }} + py_buildstring: ${{ py_version | version_to_buildstring }} + head_rev: ${{ git.head_rev(".")[:8] }} + +package: + name: cudf-polars + version: ${{ version }} + +source: + path: ../../.. + +build: + string: cuda${{ cuda_major }}_py${{ py_buildstring }}_${{ date_string }}_${{ head_rev }} + script: + content: | + ./build.sh cudf_polars + secrets: + - AWS_ACCESS_KEY_ID + - AWS_SECRET_ACCESS_KEY + - AWS_SESSION_TOKEN + env: + CMAKE_C_COMPILER_LAUNCHER: ${{ env.get("CMAKE_C_COMPILER_LAUNCHER") }} + CMAKE_CUDA_COMPILER_LAUNCHER: ${{ env.get("CMAKE_CUDA_COMPILER_LAUNCHER") }} + CMAKE_CXX_COMPILER_LAUNCHER: ${{ env.get("CMAKE_CXX_COMPILER_LAUNCHER") }} + CMAKE_GENERATOR: ${{ env.get("CMAKE_GENERATOR") }} + SCCACHE_BUCKET: ${{ env.get("SCCACHE_BUCKET") }} + SCCACHE_IDLE_TIMEOUT: ${{ env.get("SCCACHE_IDLE_TIMEOUT") }} + SCCACHE_REGION: ${{ env.get("SCCACHE_REGION") }} + SCCACHE_S3_USE_SSL: ${{ env.get("SCCACHE_S3_USE_SSL") }} + SCCACHE_S3_NO_CREDENTIALS: ${{ env.get("SCCACHE_S3_NO_CREDENTIALS") }} + SCCACHE_S3_KEY_PREFIX: cudf-polars-${{ env.get("RAPIDS_CONDA_ARCH") }} + +requirements: + host: + - python =${{ py_version }} + - pip + - rapids-build-backend >=0.3.0,<0.4.0.dev0 + - setuptools + - cuda-version =${{ cuda_version }} + run: + - python + - pylibcudf =${{ version }} + - polars >=1.20,<1.24 + - ${{ pin_compatible("cuda-version", upper_bound="x", lower_bound="x") }} + ignore_run_exports: + by_name: + - cuda-version + +tests: + - python: + imports: + - cudf_polars + pip_check: false + +about: + homepage: ${{ load_from_file("python/cudf_polars/pyproject.toml").project.urls.Homepage }} + license: ${{ load_from_file("python/cudf_polars/pyproject.toml").project.license.text }} + summary: ${{ load_from_file("python/cudf_polars/pyproject.toml").project.description }} diff --git a/conda/recipes/cudf/build.sh b/conda/recipes/cudf/build.sh deleted file mode 100644 index 43d046402c7..00000000000 --- a/conda/recipes/cudf/build.sh +++ /dev/null @@ -1,4 +0,0 @@ -# Copyright (c) 2018-2022, NVIDIA CORPORATION. - -# This assumes the script is executed from the root of the repo directory -./build.sh cudf diff --git a/conda/recipes/cudf/meta.yaml b/conda/recipes/cudf/meta.yaml deleted file mode 100644 index 43060ef1c87..00000000000 --- a/conda/recipes/cudf/meta.yaml +++ /dev/null @@ -1,119 +0,0 @@ -# Copyright (c) 2018-2025, NVIDIA CORPORATION. - -{% set version = environ['RAPIDS_PACKAGE_VERSION'].lstrip('v') %} -{% set minor_version = version.split('.')[0] + '.' + version.split('.')[1] %} -{% set py_version = environ['CONDA_PY'] %} -{% set cuda_version = '.'.join(environ['RAPIDS_CUDA_VERSION'].split('.')[:2]) %} -{% set cuda_major = cuda_version.split('.')[0] %} -{% set date_string = environ['RAPIDS_DATE_STRING'] %} - -package: - name: cudf - version: {{ version }} - -source: - path: ../../.. - -build: - number: {{ GIT_DESCRIBE_NUMBER }} - string: cuda{{ cuda_major }}_py{{ py_version }}_{{ date_string }}_{{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }} - script_env: - - AWS_ACCESS_KEY_ID - - AWS_SECRET_ACCESS_KEY - - AWS_SESSION_TOKEN - - CMAKE_C_COMPILER_LAUNCHER - - CMAKE_CUDA_COMPILER_LAUNCHER - - CMAKE_CXX_COMPILER_LAUNCHER - - CMAKE_GENERATOR - - PARALLEL_LEVEL - - SCCACHE_BUCKET - - SCCACHE_IDLE_TIMEOUT - - SCCACHE_REGION - - SCCACHE_S3_KEY_PREFIX=cudf-aarch64 # [aarch64] - - SCCACHE_S3_KEY_PREFIX=cudf-linux64 # [linux64] - - SCCACHE_S3_USE_SSL - - SCCACHE_S3_NO_CREDENTIALS - ignore_run_exports_from: - - {{ compiler('cuda') }} - {% if cuda_major != "11" %} - - cuda-cudart-dev - - libcufile-dev # [linux64] - {% endif %} - -requirements: - build: - - cmake {{ cmake_version }} - - ninja - - {{ compiler('c') }} - - {{ compiler('cxx') }} - {% if cuda_major == "11" %} - - {{ compiler('cuda') }} ={{ cuda_version }} - {% else %} - - {{ compiler('cuda') }} - {% endif %} - - cuda-version ={{ cuda_version }} - - {{ stdlib("c") }} - host: - - python - - cython >=3.0.3 - - rapids-build-backend >=0.3.0,<0.4.0.dev0 - - scikit-build-core >=0.10.0 - - dlpack >=0.8,<1.0 - - libcudf ={{ version }} - - pylibcudf ={{ version }} - - rmm ={{ minor_version }} - {% if cuda_major == "11" %} - - cudatoolkit - {% else %} - - cuda-cudart-dev - - cuda-nvrtc - - libcufile-dev # [linux64] - {% endif %} - - cuda-version ={{ cuda_version }} - run: - - python - - typing_extensions >=4.0.0 - - pandas >=2.0,<2.2.4dev0 - - cupy >=12.0.0 - - numba-cuda >=0.4.0,<0.5.0a0 - - numba >=0.59.1,<0.62.0a0 - - numpy >=1.23,<2.1 - - pyarrow>=14.0.0,<20.0.0a0 - - libcudf ={{ version }} - - pylibcudf ={{ version }} - - {{ pin_compatible('rmm', max_pin='x.x') }} - - fsspec >=0.6.0 - {% if cuda_major == "11" %} - - cudatoolkit - - ptxcompiler >=0.7.0 - - cubinlinker # CUDA enhanced compatibility. - - cuda-python >=11.8.5,<12.0a0 - {% else %} - - cuda-cudart - - libcufile # [linux64] - # Needed by Numba for CUDA support - - cuda-nvcc-impl - # TODO: Add nvjitlink here - # xref: https://github.com/rapidsai/cudf/issues/12822 - - cuda-nvrtc - - cuda-python >=12.6.2,<13.0a0 - - pynvjitlink - {% endif %} - - {{ pin_compatible('cuda-version', max_pin='x', min_pin='x') }} - - nvtx >=0.2.1 - - packaging - - cachetools - - rich - -test: - requires: - - cuda-version ={{ cuda_version }} - imports: - - cudf - -about: - home: https://rapids.ai/ - license: Apache-2.0 - license_family: APACHE - license_file: LICENSE - summary: cuDF GPU DataFrame core library diff --git a/conda/recipes/cudf/recipe.yaml b/conda/recipes/cudf/recipe.yaml new file mode 100644 index 00000000000..fd4aba3c992 --- /dev/null +++ b/conda/recipes/cudf/recipe.yaml @@ -0,0 +1,127 @@ +# yaml-language-server: $schema=https://raw.githubusercontent.com/prefix-dev/recipe-format/main/schema.json +# Copyright (c) 2018-2025, NVIDIA CORPORATION. +schema_version: 1 + +context: + version: ${{ env.get("RAPIDS_PACKAGE_VERSION") }} + minor_version: ${{ (version | split("."))[:2] | join(".") }} + cuda_version: ${{ (env.get("RAPIDS_CUDA_VERSION") | split("."))[:2] | join(".") }} + cuda_major: '${{ (env.get("RAPIDS_CUDA_VERSION") | split("."))[0] }}' + date_string: '${{ env.get("RAPIDS_DATE_STRING") }}' + py_version: ${{ env.get("RAPIDS_PY_VERSION") }} + py_buildstring: ${{ py_version | version_to_buildstring }} + head_rev: ${{ git.head_rev(".")[:8] }} + +package: + name: cudf + version: ${{ version }} + +source: + path: ../../.. + +build: + string: cuda${{ cuda_major }}_py${{ py_buildstring }}_${{ date_string }}_${{ head_rev }} + script: + content: | + ./build.sh cudf + secrets: + - AWS_ACCESS_KEY_ID + - AWS_SECRET_ACCESS_KEY + - AWS_SESSION_TOKEN + env: + CMAKE_C_COMPILER_LAUNCHER: ${{ env.get("CMAKE_C_COMPILER_LAUNCHER") }} + CMAKE_CUDA_COMPILER_LAUNCHER: ${{ env.get("CMAKE_CUDA_COMPILER_LAUNCHER") }} + CMAKE_CXX_COMPILER_LAUNCHER: ${{ env.get("CMAKE_CXX_COMPILER_LAUNCHER") }} + CMAKE_GENERATOR: ${{ env.get("CMAKE_GENERATOR") }} + SCCACHE_BUCKET: ${{ env.get("SCCACHE_BUCKET") }} + SCCACHE_IDLE_TIMEOUT: ${{ env.get("SCCACHE_IDLE_TIMEOUT") }} + SCCACHE_REGION: ${{ env.get("SCCACHE_REGION") }} + SCCACHE_S3_USE_SSL: ${{ env.get("SCCACHE_S3_USE_SSL") }} + SCCACHE_S3_NO_CREDENTIALS: ${{ env.get("SCCACHE_S3_NO_CREDENTIALS") }} + SCCACHE_S3_KEY_PREFIX: cudf-${{ env.get("RAPIDS_CONDA_ARCH") }} + +requirements: + build: + - cmake ${{ cmake_version }} + - ninja + - ${{ compiler("c") }} + - ${{ compiler("cxx") }} + - ${{ compiler("cuda") }} + - cuda-version =${{ cuda_version }} + - ${{ stdlib("c") }} + host: + - python =${{ py_version }} + - pip + - cython >=3.0.3 + - rapids-build-backend >=0.3.0,<0.4.0.dev0 + - scikit-build-core >=0.10.0 + - dlpack >=0.8,<1.0 + - libcudf =${{ version }} + - pylibcudf =${{ version }} + - rmm =${{ minor_version }} + - if: cuda_major == "11" + then: + - cudatoolkit + else: + - cuda-cudart-dev + - cuda-nvrtc + - if: linux64 + then: + - libcufile-dev + - cuda-version =${{ cuda_version }} + run: + - python + - typing_extensions >=4.0.0 + - pandas >=2.0,<2.2.4dev0 + - cupy >=12.0.0 + - numba-cuda >=0.4.0,<0.5.0a0 + - numba >=0.59.1,<0.62.0a0 + - numpy >=1.23,<2.1 + - pyarrow>=14.0.0,<20.0.0a0 + - libcudf =${{ version }} + - pylibcudf =${{ version }} + - ${{ pin_compatible("rmm", upper_bound="x.x") }} + - fsspec >=0.6.0 + - if: cuda_major == "11" + then: + - cudatoolkit + - ptxcompiler >=0.7.0 + - cubinlinker # CUDA enhanced compatibility. + - cuda-python >=11.8.5,<12.0a0 + else: + - cuda-cudart + # Needed by Numba for CUDA support + - cuda-nvcc-impl + # TODO: Add nvjitlink here + # xref: https://github.com/rapidsai/cudf/issues/12822 + - cuda-nvrtc + - cuda-python >=12.6.2,<13.0a0 + - pynvjitlink + - if: linux64 + then: + - libcufile + - ${{ pin_compatible("cuda-version", upper_bound="x", lower_bound="x") }} + - nvtx >=0.2.1 + - packaging + - cachetools + - rich + ignore_run_exports: + from_package: + - if: cuda_major != "11" + then: + - cuda-cudart-dev + - if: linux64 + then: libcufile-dev + by_name: + - cuda-version + +tests: + - python: + imports: + - cudf + pip_check: false + +about: + homepage: ${{ load_from_file("python/cudf/pyproject.toml").project.urls.Homepage }} + license: ${{ load_from_file("python/cudf/pyproject.toml").project.license.text }} + summary: ${{ load_from_file("python/cudf/pyproject.toml").project.description }} diff --git a/conda/recipes/cudf_kafka/build.sh b/conda/recipes/cudf_kafka/build.sh deleted file mode 100644 index 9458349d101..00000000000 --- a/conda/recipes/cudf_kafka/build.sh +++ /dev/null @@ -1,3 +0,0 @@ -# Copyright (c) 2020-2023, NVIDIA CORPORATION. - -./build.sh -v cudf_kafka diff --git a/conda/recipes/cudf_kafka/meta.yaml b/conda/recipes/cudf_kafka/meta.yaml deleted file mode 100644 index a070c041d99..00000000000 --- a/conda/recipes/cudf_kafka/meta.yaml +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright (c) 2020-2025, NVIDIA CORPORATION. - -{% set version = environ['RAPIDS_PACKAGE_VERSION'].lstrip('v') %} -{% set minor_version = version.split('.')[0] + '.' + version.split('.')[1] %} -{% set py_version = environ['CONDA_PY'] %} -{% set cuda_version = '.'.join(environ['RAPIDS_CUDA_VERSION'].split('.')[:2]) %} -{% set cuda_major = cuda_version.split('.')[0] %} -{% set date_string = environ['RAPIDS_DATE_STRING'] %} - -package: - name: cudf_kafka - version: {{ version }} - -source: - path: ../../.. - -build: - number: {{ GIT_DESCRIBE_NUMBER }} - string: cuda{{ cuda_major }}_py{{ py_version }}_{{ date_string }}_{{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }} - script_env: - - AWS_ACCESS_KEY_ID - - AWS_SECRET_ACCESS_KEY - - AWS_SESSION_TOKEN - - CMAKE_C_COMPILER_LAUNCHER - - CMAKE_CUDA_COMPILER_LAUNCHER - - CMAKE_CXX_COMPILER_LAUNCHER - - CMAKE_GENERATOR - - PARALLEL_LEVEL - - SCCACHE_BUCKET - - SCCACHE_IDLE_TIMEOUT - - SCCACHE_REGION - - SCCACHE_S3_KEY_PREFIX=cudf-kafka-aarch64 # [aarch64] - - SCCACHE_S3_KEY_PREFIX=cudf-kafka-linux64 # [linux64] - - SCCACHE_S3_USE_SSL - - SCCACHE_S3_NO_CREDENTIALS - ignore_run_exports_from: - - {{ compiler('cuda') }} - {% if cuda_major != "11" %} - - cuda-cudart-dev - {% endif %} - -requirements: - build: - - cmake {{ cmake_version }} - - ninja - - {{ compiler('c') }} - - {{ compiler('cxx') }} - {% if cuda_major == "11" %} - - {{ compiler('cuda') }} ={{ cuda_version }} - {% else %} - - {{ compiler('cuda') }} - {% endif %} - - cuda-version ={{ cuda_version }} - - {{ stdlib("c") }} - host: - - python - - cython >=3.0.3 - - cuda-version ={{ cuda_version }} - - pylibcudf ={{ version }} - - libcudf_kafka ={{ version }} - - rapids-build-backend >=0.3.0,<0.4.0.dev0 - - scikit-build-core >=0.10.0 - {% if cuda_major != "11" %} - - cuda-cudart-dev - {% endif %} - run: - - python - - {{ pin_compatible('cuda-version', max_pin='x', min_pin='x') }} - - libcudf_kafka ={{ version }} - - pylibcudf ={{ version }} - {% if cuda_major != "11" %} - - cuda-cudart - {% endif %} - -test: - requires: - - cuda-version ={{ cuda_version }} - imports: - - cudf_kafka - -about: - home: https://rapids.ai/ - license: Apache-2.0 - license_family: APACHE - license_file: LICENSE - summary: libcudf_kafka library diff --git a/conda/recipes/cudf_kafka/recipe.yaml b/conda/recipes/cudf_kafka/recipe.yaml new file mode 100644 index 00000000000..cbb295b0e7b --- /dev/null +++ b/conda/recipes/cudf_kafka/recipe.yaml @@ -0,0 +1,86 @@ +# yaml-language-server: $schema=https://raw.githubusercontent.com/prefix-dev/recipe-format/main/schema.json +# Copyright (c) 2018-2025, NVIDIA CORPORATION. +schema_version: 1 + +context: + version: ${{ env.get("RAPIDS_PACKAGE_VERSION") }} + minor_version: ${{ (version | split("."))[:2] | join(".") }} + cuda_version: ${{ (env.get("RAPIDS_CUDA_VERSION") | split("."))[:2] | join(".") }} + cuda_major: '${{ (env.get("RAPIDS_CUDA_VERSION") | split("."))[0] }}' + date_string: '${{ env.get("RAPIDS_DATE_STRING") }}' + py_version: ${{ env.get("RAPIDS_PY_VERSION") }} + py_buildstring: ${{ py_version | version_to_buildstring }} + head_rev: ${{ git.head_rev(".")[:8] }} + +package: + name: cudf_kafka + version: ${{ version }} + +source: + path: ../../.. + +build: + string: cuda${{ cuda_major }}_py${{ py_buildstring }}_${{ date_string }}_${{ head_rev }} + script: + content: | + ./build.sh cudf_kafka + secrets: + - AWS_ACCESS_KEY_ID + - AWS_SECRET_ACCESS_KEY + - AWS_SESSION_TOKEN + env: + CMAKE_C_COMPILER_LAUNCHER: ${{ env.get("CMAKE_C_COMPILER_LAUNCHER") }} + CMAKE_CUDA_COMPILER_LAUNCHER: ${{ env.get("CMAKE_CUDA_COMPILER_LAUNCHER") }} + CMAKE_CXX_COMPILER_LAUNCHER: ${{ env.get("CMAKE_CXX_COMPILER_LAUNCHER") }} + CMAKE_GENERATOR: ${{ env.get("CMAKE_GENERATOR") }} + SCCACHE_BUCKET: ${{ env.get("SCCACHE_BUCKET") }} + SCCACHE_IDLE_TIMEOUT: ${{ env.get("SCCACHE_IDLE_TIMEOUT") }} + SCCACHE_REGION: ${{ env.get("SCCACHE_REGION") }} + SCCACHE_S3_USE_SSL: ${{ env.get("SCCACHE_S3_USE_SSL") }} + SCCACHE_S3_NO_CREDENTIALS: ${{ env.get("SCCACHE_S3_NO_CREDENTIALS") }} + SCCACHE_S3_KEY_PREFIX: cudf-kafka-${{ env.get("RAPIDS_CONDA_ARCH") }} + +requirements: + build: + - cmake ${{ cmake_version }} + - ninja + - ${{ compiler("c") }} + - ${{ compiler("cxx") }} + - ${{ compiler("cuda") }} + - cuda-version =${{ cuda_version }} + - ${{ stdlib("c") }} + host: + - python =${{ py_version }} + - pip + - cython >=3.0.3 + - cuda-version =${{ cuda_version }} + - pylibcudf =${{ version }} + - libcudf_kafka =${{ version }} + - rapids-build-backend >=0.3.0,<0.4.0.dev0 + - scikit-build-core >=0.10.0 + - if: cuda_major != "11" + then: cuda-cudart-dev + run: + - python + - ${{ pin_compatible("cuda-version", upper_bound="x", lower_bound="x") }} + - libcudf_kafka =${{ version }} + - pylibcudf =${{ version }} + - if: cuda_major != "11" + then: cuda-cudart + ignore_run_exports: + from_package: + - if: cuda_major != "11" + then: cuda-cudart-dev + by_name: + - cuda-version + +tests: + - python: + imports: + - cudf_kafka + pip_check: false + +about: + homepage: ${{ load_from_file("python/cudf_kafka/pyproject.toml").project.urls.Homepage }} + license: ${{ load_from_file("python/cudf_kafka/pyproject.toml").project.license.text }} + summary: ${{ load_from_file("python/cudf_kafka/pyproject.toml").project.description }} diff --git a/conda/recipes/custreamz/build.sh b/conda/recipes/custreamz/build.sh deleted file mode 100644 index 88fccf90c69..00000000000 --- a/conda/recipes/custreamz/build.sh +++ /dev/null @@ -1,4 +0,0 @@ -# Copyright (c) 2020-2022, NVIDIA CORPORATION. - -# This assumes the script is executed from the root of the repo directory -./build.sh -v custreamz diff --git a/conda/recipes/custreamz/meta.yaml b/conda/recipes/custreamz/meta.yaml deleted file mode 100644 index a031f05a73a..00000000000 --- a/conda/recipes/custreamz/meta.yaml +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright (c) 2018-2024, NVIDIA CORPORATION. - -{% set version = environ['RAPIDS_PACKAGE_VERSION'].lstrip('v') %} -{% set minor_version = version.split('.')[0] + '.' + version.split('.')[1] %} -{% set py_version = environ['CONDA_PY'] %} -{% set cuda_version = '.'.join(environ['RAPIDS_CUDA_VERSION'].split('.')[:2]) %} -{% set cuda_major = cuda_version.split('.')[0] %} -{% set date_string = environ['RAPIDS_DATE_STRING'] %} - -package: - name: custreamz - version: {{ version }} - -source: - path: ../../.. - -build: - number: {{ GIT_DESCRIBE_NUMBER }} - string: cuda{{ cuda_major }}_py{{ py_version }}_{{ date_string }}_{{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }} - script_env: - - AWS_ACCESS_KEY_ID - - AWS_SECRET_ACCESS_KEY - - AWS_SESSION_TOKEN - - CMAKE_C_COMPILER_LAUNCHER - - CMAKE_CUDA_COMPILER_LAUNCHER - - CMAKE_CXX_COMPILER_LAUNCHER - - CMAKE_GENERATOR - - PARALLEL_LEVEL - - SCCACHE_BUCKET - - SCCACHE_IDLE_TIMEOUT - - SCCACHE_REGION - - SCCACHE_S3_KEY_PREFIX=custreamz-aarch64 # [aarch64] - - SCCACHE_S3_KEY_PREFIX=custreamz-linux64 # [linux64] - - SCCACHE_S3_USE_SSL - - SCCACHE_S3_NO_CREDENTIALS - -requirements: - host: - - python - - rapids-build-backend >=0.3.0,<0.4.0.dev0 - - setuptools - - python-confluent-kafka >=2.5.0,<2.6.0a0 - - cudf_kafka ={{ version }} - - cuda-version ={{ cuda_version }} - run: - - python - - streamz - - cudf ={{ version }} - - cudf_kafka ={{ version }} - - rapids-dask-dependency ={{ minor_version }} - - python-confluent-kafka >=2.5.0,<2.6.0a0 - - {{ pin_compatible('cuda-version', max_pin='x', min_pin='x') }} - -test: - requires: - - cuda-version ={{ cuda_version }} - imports: - - custreamz - -about: - home: https://rapids.ai/ - license: Apache-2.0 - license_family: APACHE - license_file: LICENSE - summary: cuStreamz library diff --git a/conda/recipes/custreamz/recipe.yaml b/conda/recipes/custreamz/recipe.yaml new file mode 100644 index 00000000000..9048490afb7 --- /dev/null +++ b/conda/recipes/custreamz/recipe.yaml @@ -0,0 +1,55 @@ +# yaml-language-server: $schema=https://raw.githubusercontent.com/prefix-dev/recipe-format/main/schema.json +# Copyright (c) 2018-2025, NVIDIA CORPORATION. +schema_version: 1 + +context: + version: ${{ env.get("RAPIDS_PACKAGE_VERSION") }} + minor_version: ${{ (version | split("."))[:2] | join(".") }} + cuda_version: ${{ (env.get("RAPIDS_CUDA_VERSION") | split("."))[:2] | join(".") }} + cuda_major: '${{ (env.get("RAPIDS_CUDA_VERSION") | split("."))[0] }}' + date_string: '${{ env.get("RAPIDS_DATE_STRING") }}' + py_version: ${{ env.get("RAPIDS_PY_VERSION") }} + py_buildstring: ${{ py_version | version_to_buildstring }} + head_rev: ${{ git.head_rev(".")[:8] }} + +package: + name: custreamz + version: ${{ version }} + +source: + path: ../../.. + +build: + string: cuda${{ cuda_major }}_py${{ py_buildstring }}_${{ date_string }}_${{ head_rev }} + script: + content: | + ./build.sh custreamz + +requirements: + host: + - python =${{ py_version }} + - pip + - rapids-build-backend >=0.3.0,<0.4.0.dev0 + - setuptools + - python-confluent-kafka >=2.5.0,<2.6.0a0 + - cudf_kafka =${{ version }} + - cuda-version =${{ cuda_version }} + run: + - python + - streamz + - cudf =${{ version }} + - cudf_kafka =${{ version }} + - rapids-dask-dependency =${{ minor_version }} + - python-confluent-kafka >=2.5.0,<2.6.0a0 + - ${{ pin_compatible("cuda-version", upper_bound="x", lower_bound="x") }} + +tests: + - python: + imports: + - custreamz + pip_check: false + +about: + homepage: ${{ load_from_file("python/custreamz/pyproject.toml").project.urls.Homepage }} + license: ${{ load_from_file("python/custreamz/pyproject.toml").project.license.text }} + summary: ${{ load_from_file("python/custreamz/pyproject.toml").project.description }} diff --git a/conda/recipes/dask-cudf/build.sh b/conda/recipes/dask-cudf/build.sh deleted file mode 100644 index 473f52c28a0..00000000000 --- a/conda/recipes/dask-cudf/build.sh +++ /dev/null @@ -1,4 +0,0 @@ -# Copyright (c) 2018-2019, NVIDIA CORPORATION. - -# This assumes the script is executed from the root of the repo directory -./build.sh dask_cudf diff --git a/conda/recipes/dask-cudf/meta.yaml b/conda/recipes/dask-cudf/meta.yaml deleted file mode 100644 index a476d5d53df..00000000000 --- a/conda/recipes/dask-cudf/meta.yaml +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright (c) 2018-2024, NVIDIA CORPORATION. - -{% set version = environ['RAPIDS_PACKAGE_VERSION'].lstrip('v') %} -{% set minor_version = version.split('.')[0] + '.' + version.split('.')[1] %} -{% set py_version = environ['CONDA_PY'] %} -{% set cuda_version = '.'.join(environ['RAPIDS_CUDA_VERSION'].split('.')[:2]) %} -{% set cuda_major = cuda_version.split('.')[0] %} -{% set date_string = environ['RAPIDS_DATE_STRING'] %} - -package: - name: dask-cudf - version: {{ version }} - -source: - path: ../../.. - -build: - number: {{ GIT_DESCRIBE_NUMBER }} - string: cuda{{ cuda_major }}_py{{ py_version }}_{{ date_string }}_{{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }} - script_env: - - AWS_ACCESS_KEY_ID - - AWS_SECRET_ACCESS_KEY - - AWS_SESSION_TOKEN - - CMAKE_C_COMPILER_LAUNCHER - - CMAKE_CUDA_COMPILER_LAUNCHER - - CMAKE_CXX_COMPILER_LAUNCHER - - CMAKE_GENERATOR - - PARALLEL_LEVEL - - SCCACHE_BUCKET - - SCCACHE_IDLE_TIMEOUT - - SCCACHE_REGION - - SCCACHE_S3_KEY_PREFIX=dask-cudf-aarch64 # [aarch64] - - SCCACHE_S3_KEY_PREFIX=dask-cudf-linux64 # [linux64] - - SCCACHE_S3_USE_SSL - - SCCACHE_S3_NO_CREDENTIALS - -requirements: - host: - - python - - rapids-build-backend >=0.3.0,<0.4.0.dev0 - - setuptools - - cuda-version ={{ cuda_version }} - run: - - python - - cudf ={{ version }} - - pynvml >=12.0.0,<13.0.0a0 - - rapids-dask-dependency ={{ minor_version }} - - {{ pin_compatible('cuda-version', max_pin='x', min_pin='x') }} - -test: - requires: - - cuda-version ={{ cuda_version }} - imports: - - dask_cudf - - -about: - home: https://rapids.ai/ - license: Apache-2.0 - license_family: APACHE - license_file: LICENSE - summary: dask-cudf library diff --git a/conda/recipes/dask-cudf/recipe.yaml b/conda/recipes/dask-cudf/recipe.yaml new file mode 100644 index 00000000000..e2ec8ccce74 --- /dev/null +++ b/conda/recipes/dask-cudf/recipe.yaml @@ -0,0 +1,51 @@ +# yaml-language-server: $schema=https://raw.githubusercontent.com/prefix-dev/recipe-format/main/schema.json +# Copyright (c) 2018-2025, NVIDIA CORPORATION. +schema_version: 1 + +context: + version: ${{ env.get("RAPIDS_PACKAGE_VERSION") }} + minor_version: ${{ (version | split("."))[:2] | join(".") }} + cuda_version: ${{ (env.get("RAPIDS_CUDA_VERSION") | split("."))[:2] | join(".") }} + cuda_major: '${{ (env.get("RAPIDS_CUDA_VERSION") | split("."))[0] }}' + date_string: '${{ env.get("RAPIDS_DATE_STRING") }}' + py_version: ${{ env.get("RAPIDS_PY_VERSION") }} + py_buildstring: ${{ py_version | version_to_buildstring }} + head_rev: ${{ git.head_rev(".")[:8] }} + +package: + name: dask-cudf + version: ${{ version }} + +source: + path: ../../.. + +build: + string: cuda${{ cuda_major }}_py${{ py_buildstring }}_${{ date_string }}_${{ head_rev }} + script: + content: | + ./build.sh dask_cudf + +requirements: + host: + - python =${{ py_version }} + - pip + - rapids-build-backend >=0.3.0,<0.4.0.dev0 + - setuptools + - cuda-version =${{ cuda_version }} + run: + - python + - cudf =${{ version }} + - pynvml >=12.0.0,<13.0.0a0 + - rapids-dask-dependency =${{ minor_version }} + - ${{ pin_compatible("cuda-version", upper_bound="x", lower_bound="x") }} + +tests: + - python: + imports: + - dask_cudf + pip_check: false + +about: + homepage: ${{ load_from_file("python/dask_cudf/pyproject.toml").project.urls.Homepage }} + license: ${{ load_from_file("python/dask_cudf/pyproject.toml").project.license.text }} + summary: ${{ load_from_file("python/dask_cudf/pyproject.toml").project.description }} diff --git a/conda/recipes/libcudf/build.sh b/conda/recipes/libcudf/build.sh deleted file mode 100644 index a3a0415575b..00000000000 --- a/conda/recipes/libcudf/build.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash -# Copyright (c) 2018-2024, NVIDIA CORPORATION. - -export cudf_ROOT="$(realpath ./cpp/build)" - -./build.sh -n -v \ - libcudf libcudf_kafka benchmarks tests \ - --build_metrics --incl_cache_stats --allgpuarch \ - --cmake-args=\"-DCMAKE_INSTALL_LIBDIR=lib -DCUDF_ENABLE_ARROW_S3=ON\" diff --git a/conda/recipes/libcudf/install_libcudf.sh b/conda/recipes/libcudf/install_libcudf.sh deleted file mode 100644 index 173f8cfa90f..00000000000 --- a/conda/recipes/libcudf/install_libcudf.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash -# Copyright (c) 2018-2022, NVIDIA CORPORATION. - -cmake --install cpp/build diff --git a/conda/recipes/libcudf/install_libcudf_example.sh b/conda/recipes/libcudf/install_libcudf_example.sh deleted file mode 100644 index 1a52dec99e3..00000000000 --- a/conda/recipes/libcudf/install_libcudf_example.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -# Copyright (c) 2018-2024, NVIDIA CORPORATION. - -# build and install libcudf examples -./cpp/examples/build.sh --install diff --git a/conda/recipes/libcudf/install_libcudf_kafka.sh b/conda/recipes/libcudf/install_libcudf_kafka.sh deleted file mode 100644 index 9eae2510027..00000000000 --- a/conda/recipes/libcudf/install_libcudf_kafka.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash -# Copyright (c) 2018-2022, NVIDIA CORPORATION. - -cmake --install cpp/libcudf_kafka/build diff --git a/conda/recipes/libcudf/install_libcudf_tests.sh b/conda/recipes/libcudf/install_libcudf_tests.sh deleted file mode 100644 index 069462eec9d..00000000000 --- a/conda/recipes/libcudf/install_libcudf_tests.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -# Copyright (c) 2018-2022, NVIDIA CORPORATION. - -cmake --install cpp/build --component testing -cmake --install cpp/libcudf_kafka/build --component testing diff --git a/conda/recipes/libcudf/meta.yaml b/conda/recipes/libcudf/meta.yaml deleted file mode 100644 index f7bd7280f0f..00000000000 --- a/conda/recipes/libcudf/meta.yaml +++ /dev/null @@ -1,220 +0,0 @@ -# Copyright (c) 2018-2025, NVIDIA CORPORATION. - -{% set version = environ['RAPIDS_PACKAGE_VERSION'].lstrip('v') %} -{% set minor_version = version.split('.')[0] + '.' + version.split('.')[1] %} -{% set cuda_version = '.'.join(environ['RAPIDS_CUDA_VERSION'].split('.')[:2]) %} -{% set cuda_major = cuda_version.split('.')[0] %} -{% set date_string = environ['RAPIDS_DATE_STRING'] %} - -package: - name: libcudf-split - -source: - path: ../../.. - -build: - script_env: - - AWS_ACCESS_KEY_ID - - AWS_SECRET_ACCESS_KEY - - AWS_SESSION_TOKEN - - CMAKE_C_COMPILER_LAUNCHER - - CMAKE_CUDA_COMPILER_LAUNCHER - - CMAKE_CXX_COMPILER_LAUNCHER - - CMAKE_GENERATOR - - PARALLEL_LEVEL - - RAPIDS_ARTIFACTS_DIR - - SCCACHE_BUCKET - - SCCACHE_IDLE_TIMEOUT - - SCCACHE_REGION - - SCCACHE_S3_KEY_PREFIX=libcudf-aarch64 # [aarch64] - - SCCACHE_S3_KEY_PREFIX=libcudf-linux64 # [linux64] - - SCCACHE_S3_USE_SSL - - SCCACHE_S3_NO_CREDENTIALS - -requirements: - build: - - cmake {{ cmake_version }} - - {{ compiler('c') }} - - {{ compiler('cxx') }} - {% if cuda_major == "11" %} - - {{ compiler('cuda') }} ={{ cuda_version }} - {% else %} - - {{ compiler('cuda') }} - {% endif %} - - cuda-version ={{ cuda_version }} - - ninja - - {{ stdlib("c") }} - host: - - librmm ={{ minor_version }} - - libkvikio ={{ minor_version }} - {% if cuda_major == "11" %} - - cudatoolkit - - libcufile {{ cuda11_libcufile_host_version }} # [linux64] - - libcufile-dev {{ cuda11_libcufile_host_version }} # [linux64] - - libcurand {{ cuda11_libcurand_host_version }} - - libcurand-dev {{ cuda11_libcurand_host_version }} - - cuda-nvrtc ={{ cuda_version }} - - cuda-nvrtc-dev ={{ cuda_version }} - - cuda-nvtx ={{ cuda_version }} - {% else %} - - cuda-nvrtc-dev - - cuda-nvtx-dev - - libcufile-dev # [linux64] - - libcurand-dev - {% endif %} - - cuda-version ={{ cuda_version }} - - nvcomp {{ nvcomp_version }} - - dlpack {{ dlpack_version }} - - librdkafka {{ librdkafka_version }} - - flatbuffers {{ flatbuffers_version }} - - rapids-logger =0.1 - - zlib {{ zlib_version }} - -outputs: - - name: libcudf - version: {{ version }} - script: install_libcudf.sh - build: - number: {{ GIT_DESCRIBE_NUMBER }} - string: cuda{{ cuda_major }}_{{ date_string }}_{{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }} - run_exports: - - {{ pin_subpackage("libcudf", max_pin="x.x") }} - ignore_run_exports_from: - - {{ compiler('cuda') }} - requirements: - build: - - cmake {{ cmake_version }} - host: - - cuda-version ={{ cuda_version }} - run: - - {{ pin_compatible('cuda-version', max_pin='x', min_pin='x') }} - {% if cuda_major == "11" %} - - cudatoolkit - - libcufile {{ cuda11_libcufile_run_version }} # [linux64] - {% else %} - - cuda-nvrtc - - libcufile # [linux64] - {% endif %} - - nvcomp {{ nvcomp_version }} - - librmm ={{ minor_version }} - - libkvikio ={{ minor_version }} - - dlpack {{ dlpack_version }} - - rapids-logger =0.1 - test: - commands: - - test -f $PREFIX/lib/libcudf.so - - test -f $PREFIX/include/cudf/column/column.hpp - about: - home: https://rapids.ai/ - license: Apache-2.0 - license_family: APACHE - license_file: LICENSE - summary: libcudf library - - name: libcudf_kafka - version: {{ version }} - script: install_libcudf_kafka.sh - build: - number: {{ GIT_DESCRIBE_NUMBER }} - string: cuda{{ cuda_major }}_{{ date_string }}_{{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }} - ignore_run_exports_from: - - {{ compiler('cuda') }} - requirements: - build: - - cmake {{ cmake_version }} - host: - - librdkafka {{ librdkafka_version }} - - {{ pin_subpackage('libcudf', exact=True) }} - run: - - librdkafka {{ librdkafka_version }} - - {{ pin_subpackage('libcudf', exact=True) }} - test: - commands: - - test -f $PREFIX/lib/libcudf_kafka.so - about: - home: https://rapids.ai/ - license: Apache-2.0 - license_family: APACHE - license_file: LICENSE - summary: libcudf_kafka library - - name: libcudf-example - version: {{ version }} - script: install_libcudf_example.sh - build: - number: {{ GIT_DESCRIBE_NUMBER }} - string: cuda{{ cuda_major }}_{{ date_string }}_{{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }} - ignore_run_exports_from: - - {{ compiler('cuda') }} - {% if cuda_major != "11" %} - - cuda-nvtx-dev - {% endif %} - requirements: - build: - - cmake {{ cmake_version }} - - {{ compiler('c') }} - - {{ compiler('cxx') }} - {% if cuda_major == "11" %} - - {{ compiler('cuda') }} ={{ cuda_version }} - {% else %} - - {{ compiler('cuda') }} - {% endif %} - - cuda-version ={{ cuda_version }} - - ninja - - {{ stdlib("c") }} - host: - - {{ pin_subpackage('libcudf', exact=True) }} - {% if cuda_major == "11" %} - - cuda-nvtx ={{ cuda_version }} - {% else %} - - cuda-nvtx-dev - {% endif %} - - cuda-version ={{ cuda_version }} - run: - - {{ pin_subpackage('libcudf', exact=True) }} - - {{ pin_compatible('cuda-version', max_pin='x', min_pin='x') }} - {% if cuda_major != "11" %} - - cuda-nvtx - {% endif %} - about: - home: https://rapids.ai/ - license: Apache-2.0 - license_family: APACHE - license_file: LICENSE - summary: libcudf example executables - - name: libcudf-tests - version: {{ version }} - script: install_libcudf_tests.sh - build: - number: {{ GIT_DESCRIBE_NUMBER }} - string: cuda{{ cuda_major }}_{{ date_string }}_{{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }} - ignore_run_exports_from: - - {{ compiler('cuda') }} - {% if cuda_major != "11" %} - - libcurand-dev - {% endif %} - requirements: - build: - - cmake {{ cmake_version }} - host: - - {{ pin_subpackage('libcudf', exact=True) }} - - {{ pin_subpackage('libcudf_kafka', exact=True) }} - - cuda-version ={{ cuda_version }} - {% if cuda_major == "11" %} - - libcurand {{ cuda11_libcurand_run_version }} - {% else %} - - libcurand-dev - {% endif %} - run: - - {{ pin_compatible('cuda-version', max_pin='x', min_pin='x') }} - - {{ pin_subpackage('libcudf', exact=True) }} - - {{ pin_subpackage('libcudf_kafka', exact=True) }} - {% if cuda_major == "11" %} - - libcurand {{ cuda11_libcurand_run_version }} - {% else %} - - libcurand - {% endif %} - about: - home: https://rapids.ai/ - license: Apache-2.0 - license_family: APACHE - license_file: LICENSE - summary: libcudf test & benchmark executables diff --git a/conda/recipes/libcudf/recipe.yaml b/conda/recipes/libcudf/recipe.yaml new file mode 100644 index 00000000000..90f5f13845e --- /dev/null +++ b/conda/recipes/libcudf/recipe.yaml @@ -0,0 +1,324 @@ +# yaml-language-server: $schema=https://raw.githubusercontent.com/prefix-dev/recipe-format/main/schema.json +# Copyright (c) 2018-2025, NVIDIA CORPORATION. +schema_version: 1 + +context: + version: ${{ env.get("RAPIDS_PACKAGE_VERSION") }} + minor_version: ${{ (version | split("."))[:2] | join(".") }} + cuda_version: ${{ (env.get("RAPIDS_CUDA_VERSION") | split("."))[:2] | join(".") }} + cuda_major: '${{ (env.get("RAPIDS_CUDA_VERSION") | split("."))[0] }}' + date_string: '${{ env.get("RAPIDS_DATE_STRING") }}' + head_rev: ${{ git.head_rev(".")[:8] }} + +recipe: + name: libcudf-split + +cache: + source: + path: ../../.. + + build: + script: + content: | + + # Remove `-fdebug-prefix-map` line from CFLAGS and CXXFLAGS so the + # incrementing version number in the compile line doesn't break the + # cache + set -x + export CFLAGS=$(echo $CFLAGS | sed -E 's@\-fdebug\-prefix\-map[^ ]*@@g') + export CXXFLAGS=$(echo $CXXFLAGS | sed -E 's@\-fdebug\-prefix\-map[^ ]*@@g') + set +x + + ./build.sh -n -v \ + libcudf libcudf_kafka benchmarks tests \ + --build_metrics --incl_cache_stats --allgpuarch \ + --cmake-args=\"-DCUDF_ENABLE_ARROW_S3=ON\" + secrets: + - AWS_ACCESS_KEY_ID + - AWS_SECRET_ACCESS_KEY + - AWS_SESSION_TOKEN + env: + CMAKE_C_COMPILER_LAUNCHER: ${{ env.get("CMAKE_C_COMPILER_LAUNCHER") }} + CMAKE_CUDA_COMPILER_LAUNCHER: ${{ env.get("CMAKE_CUDA_COMPILER_LAUNCHER") }} + CMAKE_CXX_COMPILER_LAUNCHER: ${{ env.get("CMAKE_CXX_COMPILER_LAUNCHER") }} + CMAKE_GENERATOR: ${{ env.get("CMAKE_GENERATOR") }} + PARALLEL_LEVEL: ${{ env.get("PARALLEL_LEVEL") }} + RAPIDS_ARTIFACTS_DIR: ${{ env.get("RAPIDS_ARTIFACTS_DIR") }} + SCCACHE_BUCKET: ${{ env.get("SCCACHE_BUCKET") }} + SCCACHE_IDLE_TIMEOUT: ${{ env.get("SCCACHE_IDLE_TIMEOUT") }} + SCCACHE_REGION: ${{ env.get("SCCACHE_REGION") }} + SCCACHE_S3_USE_SSL: ${{ env.get("SCCACHE_S3_USE_SSL") }} + SCCACHE_S3_NO_CREDENTIALS: ${{ env.get("SCCACHE_S3_NO_CREDENTIALS") }} + SCCACHE_S3_KEY_PREFIX: libcudf-${{ env.get("RAPIDS_CONDA_ARCH") }} + + requirements: + build: + - ${{ compiler("c") }} + - ${{ compiler("cxx") }} + - ${{ compiler("cuda") }} + - cuda-version =${{ cuda_version }} + - cmake ${{ cmake_version }} + - ninja + - ${{ stdlib("c") }} + host: + - librmm =${{ minor_version }} + - libkvikio =${{ minor_version }} + - if: cuda_major == "11" + then: + - cudatoolkit + - libcurand =${{ cuda11_libcurand_host_version }} + - libcurand-dev =${{ cuda11_libcurand_host_version }} + - cuda-nvrtc =${{ cuda_version }} + - cuda-nvrtc-dev =${{ cuda_version }} + - cuda-nvtx =${{ cuda_version }} + - if: linux64 + then: + - libcufile =${{ cuda11_libcufile_host_version }} + - libcufile-dev =${{ cuda11_libcufile_host_version }} + else: + - cuda-nvrtc-dev + - cuda-nvtx-dev + - libcurand-dev + - if: linux64 + then: + - libcufile-dev + - cuda-version =${{ cuda_version }} + - nvcomp ${{ nvcomp_version }} + - dlpack ${{ dlpack_version }} + - librdkafka ${{ librdkafka_version }} + - flatbuffers =${{ flatbuffers_version }} + - rapids-logger =0.1 + - zlib ${{ zlib_version }} + +outputs: + - package: + name: libcudf + version: ${{ version }} + build: + script: + - cmake --install cpp/build + string: cuda${{ cuda_major }}_${{ date_string }}_${{ head_rev }} + dynamic_linking: + overlinking_behavior: "error" + requirements: + build: + - cmake ${{ cmake_version }} + - ${{ compiler("c") }} + host: + - cuda-version =${{ cuda_version }} + - libkvikio =${{ minor_version }} + - nvcomp ${{ nvcomp_version }} + - rapids-logger =0.1 + - zlib ${{ zlib_version }} + - if: cuda_major == "11" + then: cudatoolkit + else: cuda-cudart-dev + run: + - ${{ pin_compatible("cuda-version", upper_bound="x", lower_bound="x") }} + - if: cuda_major == "11" + then: + - cudatoolkit + - if: linux64 + then: + - libcufile ${{ cuda11_libcufile_run_version }} + else: + - cuda-nvrtc + - if: linux64 + then: + - libcufile + - nvcomp ${{ nvcomp_version }} + - librmm =${{ minor_version }} + - libkvikio =${{ minor_version }} + - dlpack ${{ dlpack_version }} + - rapids-logger =0.1 + run_exports: + - ${{ pin_subpackage("libcudf", upper_bound="x.x") }} + ignore_run_exports: + by_name: + - cuda-cudart + - cuda-nvrtc + - cuda-nvtx + - cuda-version + - flatbuffers + - libcurand + - libkvikio + - librdkafka + - librmm + - nvcomp + tests: + - script: + - test -f $PREFIX/lib/libcudf.so + - test -f $PREFIX/include/cudf/column/column.hpp + about: + homepage: ${{ load_from_file("python/libcudf/pyproject.toml").project.urls.Homepage }} + license: ${{ load_from_file("python/libcudf/pyproject.toml").project.license.text }} + summary: ${{ load_from_file("python/libcudf/pyproject.toml").project.description }} + + - package: + name: libcudf_kafka + version: ${{ version }} + build: + script: + - cmake --install cpp/libcudf_kafka/build + string: cuda${{ cuda_major }}_${{ date_string }}_${{ head_rev }} + dynamic_linking: + overlinking_behavior: "error" + requirements: + build: + - cmake ${{ cmake_version }} + - ${{ stdlib("c") }} + host: + - librdkafka ${{ librdkafka_version }} + - ${{ pin_subpackage("libcudf", exact=True) }} + run: + - librdkafka ${{ librdkafka_version }} + - ${{ pin_subpackage("libcudf", exact=True) }} + ignore_run_exports: + by_name: + - cuda-cudart + - cuda-nvrtc + - cuda-nvtx + - cuda-version + - flatbuffers + - libcurand + - libkvikio + - librdkafka + - librmm + - nvcomp + tests: + - script: + - test -f $PREFIX/lib/libcudf_kafka.so + about: + homepage: https://rapids.ai/ + license: Apache-2.0 + summary: libcudf_kafka library + + - package: + name: libcudf-example + version: ${{ version }} + build: + script: + content: | + ./cpp/examples/build.sh --install + secrets: + - AWS_ACCESS_KEY_ID + - AWS_SECRET_ACCESS_KEY + - AWS_SESSION_TOKEN + env: + CMAKE_C_COMPILER_LAUNCHER: ${{ env.get("CMAKE_C_COMPILER_LAUNCHER") }} + CMAKE_CUDA_COMPILER_LAUNCHER: ${{ env.get("CMAKE_CUDA_COMPILER_LAUNCHER") }} + CMAKE_CXX_COMPILER_LAUNCHER: ${{ env.get("CMAKE_CXX_COMPILER_LAUNCHER") }} + CMAKE_GENERATOR: ${{ env.get("CMAKE_GENERATOR") }} + PARALLEL_LEVEL: ${{ env.get("PARALLEL_LEVEL") }} + RAPIDS_ARTIFACTS_DIR: ${{ env.get("RAPIDS_ARTIFACTS_DIR") }} + SCCACHE_BUCKET: ${{ env.get("SCCACHE_BUCKET") }} + SCCACHE_IDLE_TIMEOUT: ${{ env.get("SCCACHE_IDLE_TIMEOUT") }} + SCCACHE_REGION: ${{ env.get("SCCACHE_REGION") }} + SCCACHE_S3_USE_SSL: ${{ env.get("SCCACHE_S3_USE_SSL") }} + SCCACHE_S3_NO_CREDENTIALS: ${{ env.get("SCCACHE_S3_NO_CREDENTIALS") }} + SCCACHE_S3_KEY_PREFIX: libcudf-${{ env.get("RAPIDS_CONDA_ARCH") }} + string: cuda${{ cuda_major }}_${{ date_string }}_${{ head_rev }} + dynamic_linking: + overlinking_behavior: "error" + requirements: + build: + - ${{ compiler("c") }} + - ${{ compiler("cuda") }} + - ${{ compiler("cxx") }} + - ${{ stdlib("c") }} + - cmake ${{ cmake_version }} + - cuda-version =${{ cuda_version }} + - ninja + host: + - ${{ pin_subpackage("libcudf", exact=True) }} + - cuda-version =${{ cuda_version }} + - if: cuda_major == "11" + then: + - cuda-nvtx =${{ cuda_version }} + - cudatoolkit + else: + - cuda-nvtx-dev + - cuda-cudart-dev + run: + - ${{ pin_subpackage("libcudf", exact=True) }} + - ${{ pin_compatible("cuda-version", upper_bound="x", lower_bound="x") }} + - if: cuda_major != "11" + then: + - cuda-nvtx + ignore_run_exports: + from_package: + - if: cuda_major != "11" + then: + - cuda-nvtx-dev + by_name: + - cuda-cudart + - cuda-nvrtc + - cuda-nvtx + - cuda-version + - flatbuffers + - libcurand + - libkvikio + - librdkafka + - librmm + - nvcomp + about: + homepage: ${{ load_from_file("python/libcudf/pyproject.toml").project.urls.Homepage }} + license: ${{ load_from_file("python/libcudf/pyproject.toml").project.license.text }} + summary: libcudf example executables + + - package: + name: libcudf-tests + version: ${{ version }} + build: + script: + - cmake --install cpp/build --component testing + - cmake --install cpp/libcudf_kafka/build --component testing + string: cuda${{ cuda_major }}_${{ date_string }}_${{ head_rev }} + dynamic_linking: + overlinking_behavior: "error" + missing_dso_allowlist: + - "libnvidia-ml.so.1" + requirements: + build: + - cmake ${{ cmake_version }} + - ${{ stdlib("c") }} + host: + - ${{ pin_subpackage("libcudf", exact=True) }} + - ${{ pin_subpackage("libcudf_kafka", exact=True) }} + - cuda-version =${{ cuda_version }} + - if: cuda_major == "11" + then: + - libcurand ${{ cuda11_libcurand_run_version }} + - cudatoolkit + else: + - libcurand-dev + - cuda-cudart-dev + run: + - ${{ pin_compatible("cuda-version", upper_bound="x", lower_bound="x") }} + - ${{ pin_subpackage("libcudf", exact=True) }} + - ${{ pin_subpackage("libcudf_kafka", exact=True) }} + - if: cuda_major == "11" + then: + - libcurand ${{ cuda11_libcurand_run_version }} + else: + - libcurand + ignore_run_exports: + from_package: + - if: cuda_major != "11" + then: + - libcurand-dev + by_name: + - cuda-cudart + - cuda-nvrtc + - cuda-nvtx + - cuda-version + - flatbuffers + - libcurand + - libkvikio + - librdkafka + - librmm + - nvcomp + about: + homepage: ${{ load_from_file("python/libcudf/pyproject.toml").project.urls.Homepage }} + license: ${{ load_from_file("python/libcudf/pyproject.toml").project.license.text }} + summary: libcudf test & benchmark executables diff --git a/conda/recipes/pylibcudf/build.sh b/conda/recipes/pylibcudf/build.sh deleted file mode 100644 index 483346504db..00000000000 --- a/conda/recipes/pylibcudf/build.sh +++ /dev/null @@ -1,4 +0,0 @@ -# Copyright (c) 2018-2024, NVIDIA CORPORATION. - -# This assumes the script is executed from the root of the repo directory -./build.sh pylibcudf diff --git a/conda/recipes/pylibcudf/meta.yaml b/conda/recipes/pylibcudf/meta.yaml deleted file mode 100644 index ae02cf8d4e5..00000000000 --- a/conda/recipes/pylibcudf/meta.yaml +++ /dev/null @@ -1,100 +0,0 @@ -# Copyright (c) 2018-2025, NVIDIA CORPORATION. - -{% set version = environ['RAPIDS_PACKAGE_VERSION'].lstrip('v') %} -{% set minor_version = version.split('.')[0] + '.' + version.split('.')[1] %} -{% set py_version = environ['CONDA_PY'] %} -{% set cuda_version = '.'.join(environ['RAPIDS_CUDA_VERSION'].split('.')[:2]) %} -{% set cuda_major = cuda_version.split('.')[0] %} -{% set date_string = environ['RAPIDS_DATE_STRING'] %} - -package: - name: pylibcudf - version: {{ version }} - -source: - path: ../../.. - -build: - number: {{ GIT_DESCRIBE_NUMBER }} - string: cuda{{ cuda_major }}_py{{ py_version }}_{{ date_string }}_{{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }} - script_env: - - AWS_ACCESS_KEY_ID - - AWS_SECRET_ACCESS_KEY - - AWS_SESSION_TOKEN - - CMAKE_C_COMPILER_LAUNCHER - - CMAKE_CUDA_COMPILER_LAUNCHER - - CMAKE_CXX_COMPILER_LAUNCHER - - CMAKE_GENERATOR - - PARALLEL_LEVEL - - SCCACHE_BUCKET - - SCCACHE_IDLE_TIMEOUT - - SCCACHE_REGION - - SCCACHE_S3_KEY_PREFIX=pylibcudf-aarch64 # [aarch64] - - SCCACHE_S3_KEY_PREFIX=pylibcudf-linux64 # [linux64] - - SCCACHE_S3_USE_SSL - - SCCACHE_S3_NO_CREDENTIALS - ignore_run_exports_from: - - {{ compiler('cuda') }} - {% if cuda_major != "11" %} - - cuda-cudart-dev - - libcufile-dev # [linux64] - {% endif %} - -requirements: - build: - - cmake {{ cmake_version }} - - ninja - - {{ compiler('c') }} - - {{ compiler('cxx') }} - {% if cuda_major == "11" %} - - {{ compiler('cuda') }} ={{ cuda_version }} - {% else %} - - {{ compiler('cuda') }} - {% endif %} - - cuda-version ={{ cuda_version }} - - {{ stdlib("c") }} - host: - - python - - cython >=3.0.3 - - rapids-build-backend >=0.3.0,<0.4.0.dev0 - - scikit-build-core >=0.10.0 - - dlpack >=0.8,<1.0 - - libcudf ={{ version }} - - rmm ={{ minor_version }} - {% if cuda_major == "11" %} - - cudatoolkit - {% else %} - - cuda-cudart-dev - - cuda-nvrtc - - libcufile-dev # [linux64] - {% endif %} - - cuda-version ={{ cuda_version }} - run: - - python - - typing_extensions >=4.0.0 - - pandas >=2.0,<2.2.4dev0 - - numpy >=1.23,<2.1 - - pyarrow>=14.0.0,<20.0.0a0 - - libcudf ={{ version }} - - {{ pin_compatible('rmm', max_pin='x.x') }} - - fsspec >=0.6.0 - {% if cuda_major == "11" %} - - cuda-python >=11.8.5,<12.0a0 - {% else %} - - cuda-python >=12.6.2,<13.0a0 - {% endif %} - - nvtx >=0.2.1 - - packaging - -test: - requires: - - cuda-version ={{ cuda_version }} - imports: - - pylibcudf - -about: - home: https://rapids.ai/ - license: Apache-2.0 - license_family: APACHE - license_file: LICENSE - summary: pylibcudf library diff --git a/conda/recipes/pylibcudf/recipe.yaml b/conda/recipes/pylibcudf/recipe.yaml new file mode 100644 index 00000000000..29942f181b3 --- /dev/null +++ b/conda/recipes/pylibcudf/recipe.yaml @@ -0,0 +1,107 @@ +# yaml-language-server: $schema=https://raw.githubusercontent.com/prefix-dev/recipe-format/main/schema.json +# Copyright (c) 2018-2025, NVIDIA CORPORATION. +schema_version: 1 + +context: + version: ${{ env.get("RAPIDS_PACKAGE_VERSION") }} + minor_version: ${{ (version | split("."))[:2] | join(".") }} + cuda_version: ${{ (env.get("RAPIDS_CUDA_VERSION") | split("."))[:2] | join(".") }} + cuda_major: '${{ (env.get("RAPIDS_CUDA_VERSION") | split("."))[0] }}' + date_string: '${{ env.get("RAPIDS_DATE_STRING") }}' + py_version: ${{ env.get("RAPIDS_PY_VERSION") }} + py_buildstring: ${{ py_version | version_to_buildstring }} + head_rev: ${{ git.head_rev(".")[:8] }} + +package: + name: pylibcudf + version: ${{ version }} + +source: + path: ../../.. + +build: + string: cuda${{ cuda_major }}_py${{ py_buildstring }}_${{ date_string }}_${{ head_rev }} + script: + content: | + ./build.sh pylibcudf + secrets: + - AWS_ACCESS_KEY_ID + - AWS_SECRET_ACCESS_KEY + - AWS_SESSION_TOKEN + env: + CMAKE_C_COMPILER_LAUNCHER: ${{ env.get("CMAKE_C_COMPILER_LAUNCHER") }} + CMAKE_CUDA_COMPILER_LAUNCHER: ${{ env.get("CMAKE_CUDA_COMPILER_LAUNCHER") }} + CMAKE_CXX_COMPILER_LAUNCHER: ${{ env.get("CMAKE_CXX_COMPILER_LAUNCHER") }} + CMAKE_GENERATOR: ${{ env.get("CMAKE_GENERATOR") }} + SCCACHE_BUCKET: ${{ env.get("SCCACHE_BUCKET") }} + SCCACHE_IDLE_TIMEOUT: ${{ env.get("SCCACHE_IDLE_TIMEOUT") }} + SCCACHE_REGION: ${{ env.get("SCCACHE_REGION") }} + SCCACHE_S3_USE_SSL: ${{ env.get("SCCACHE_S3_USE_SSL") }} + SCCACHE_S3_NO_CREDENTIALS: ${{ env.get("SCCACHE_S3_NO_CREDENTIALS") }} + SCCACHE_S3_KEY_PREFIX: pylibcudf-${{ env.get("RAPIDS_CONDA_ARCH") }} + +requirements: + build: + - cmake ${{ cmake_version }} + - ninja + - ${{ compiler("c") }} + - ${{ compiler("cxx") }} + - ${{ compiler("cuda") }} + - cuda-version =${{ cuda_version }} + - ${{ stdlib("c") }} + host: + - python =${{ py_version }} + - pip + - cython >=3.0.3 + - rapids-build-backend >=0.3.0,<0.4.0.dev0 + - scikit-build-core >=0.10.0 + - dlpack >=0.8,<1.0 + - libcudf =${{ version }} + - rmm =${{ minor_version }} + - if: cuda_major == "11" + then: + - cudatoolkit + else: + - cuda-cudart-dev + - cuda-nvrtc + - if: linux64 + then: + - libcufile-dev + - cuda-version =${{ cuda_version }} + run: + - python + - typing_extensions >=4.0.0 + - pandas >=2.0,<2.2.4dev0 + - numpy >=1.23,<2.1 + - pyarrow>=14.0.0,<20.0.0a0 + - libcudf =${{ version }} + - ${{ pin_compatible("rmm", upper_bound="x.x") }} + - fsspec >=0.6.0 + - if: cuda_major == "11" + then: + - cuda-python >=11.8.5,<12.0a0 + else: + - cuda-python >=12.6.2,<13.0a0 + - nvtx >=0.2.1 + - packaging + ignore_run_exports: + from_package: + - if: cuda_major != "11" + then: + - cuda-cudart-dev + - if: linux64 + then: + - libcufile-dev + by_name: + - cuda-version + +tests: + - python: + imports: + - pylibcudf + pip_check: false + +about: + homepage: ${{ load_from_file("python/pylibcudf/pyproject.toml").project.urls.Homepage }} + license: ${{ load_from_file("python/pylibcudf/pyproject.toml").project.license.text }} + summary: ${{ load_from_file("python/pylibcudf/pyproject.toml").project.description }} diff --git a/python/cudf/pyproject.toml b/python/cudf/pyproject.toml index 8b8abe90ac9..2ce5131ea8e 100644 --- a/python/cudf/pyproject.toml +++ b/python/cudf/pyproject.toml @@ -15,7 +15,7 @@ readme = { file = "README.md", content-type = "text/markdown" } authors = [ { name = "NVIDIA Corporation" }, ] -license = { text = "Apache 2.0" } +license = { text = "Apache-2.0" } requires-python = ">=3.10" dependencies = [ "cachetools", diff --git a/python/cudf_kafka/pyproject.toml b/python/cudf_kafka/pyproject.toml index 424010e632c..764c8c64a7e 100644 --- a/python/cudf_kafka/pyproject.toml +++ b/python/cudf_kafka/pyproject.toml @@ -15,7 +15,7 @@ readme = { file = "README.md", content-type = "text/markdown" } authors = [ { name = "NVIDIA Corporation" }, ] -license = { text = "Apache 2.0" } +license = { text = "Apache-2.0" } requires-python = ">=3.10" dependencies = [ "cudf==25.4.*,>=0.0.0a0", diff --git a/python/cudf_polars/pyproject.toml b/python/cudf_polars/pyproject.toml index e9fc054efc2..fb44caaa0c0 100644 --- a/python/cudf_polars/pyproject.toml +++ b/python/cudf_polars/pyproject.toml @@ -16,7 +16,7 @@ readme = { file = "README.md", content-type = "text/markdown" } authors = [ { name = "NVIDIA Corporation" }, ] -license = { text = "Apache 2.0" } +license = { text = "Apache-2.0" } requires-python = ">=3.10" dependencies = [ "polars>=1.20,<1.24", diff --git a/python/custreamz/pyproject.toml b/python/custreamz/pyproject.toml index 665b0a76ecf..b1fbe901189 100644 --- a/python/custreamz/pyproject.toml +++ b/python/custreamz/pyproject.toml @@ -16,7 +16,7 @@ readme = { file = "README.md", content-type = "text/markdown" } authors = [ { name = "NVIDIA Corporation" }, ] -license = { text = "Apache 2.0" } +license = { text = "Apache-2.0" } requires-python = ">=3.10" dependencies = [ "confluent-kafka>=2.5.0,<2.6.0a0", diff --git a/python/dask_cudf/pyproject.toml b/python/dask_cudf/pyproject.toml index 83493d7f2a4..fd2bac3c0d2 100644 --- a/python/dask_cudf/pyproject.toml +++ b/python/dask_cudf/pyproject.toml @@ -16,7 +16,7 @@ readme = { file = "README.md", content-type = "text/markdown" } authors = [ { name = "NVIDIA Corporation" }, ] -license = { text = "Apache 2.0" } +license = { text = "Apache-2.0" } requires-python = ">=3.10" dependencies = [ "cudf==25.4.*,>=0.0.0a0", diff --git a/python/libcudf/pyproject.toml b/python/libcudf/pyproject.toml index 01fe6097936..784a0c49894 100644 --- a/python/libcudf/pyproject.toml +++ b/python/libcudf/pyproject.toml @@ -27,7 +27,7 @@ readme = { file = "README.md", content-type = "text/markdown" } authors = [ { name = "NVIDIA Corporation" }, ] -license = { text = "Apache 2.0" } +license = { text = "Apache-2.0" } requires-python = ">=3.10" classifiers = [ "Intended Audience :: Developers", diff --git a/python/pylibcudf/pyproject.toml b/python/pylibcudf/pyproject.toml index e12d1ffdb39..8ea6f0e94a4 100644 --- a/python/pylibcudf/pyproject.toml +++ b/python/pylibcudf/pyproject.toml @@ -15,7 +15,7 @@ readme = { file = "README.md", content-type = "text/markdown" } authors = [ { name = "NVIDIA Corporation" }, ] -license = { text = "Apache 2.0" } +license = { text = "Apache-2.0" } requires-python = ">=3.10" dependencies = [ "cuda-python>=11.8.5,<12.0a0",