-
Notifications
You must be signed in to change notification settings - Fork 919
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'branch-23.04' into split-build-deps
- Loading branch information
Showing
354 changed files
with
12,123 additions
and
22,371 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Copyright (c) 2017-2023, NVIDIA CORPORATION. | ||
|
||
[flake8] | ||
filename = *.py, *.pyx, *.pxd, *.pxi | ||
exclude = __init__.py, *.egg, build, docs, .git | ||
force-check = True | ||
ignore = | ||
# line break before binary operator | ||
W503, | ||
# whitespace before : | ||
E203 | ||
per-file-ignores = | ||
# Rules ignored only in Cython: | ||
# E211: whitespace before '(' (used in multi-line imports) | ||
# E225: Missing whitespace around operators (breaks cython casting syntax like <int>) | ||
# E226: Missing whitespace around arithmetic operators (breaks cython pointer syntax like int*) | ||
# E227: Missing whitespace around bitwise or shift operator (Can also break casting syntax) | ||
# E275: Missing whitespace after keyword (Doesn't work with Cython except?) | ||
# E402: invalid syntax (works for Python, not Cython) | ||
# E999: invalid syntax (works for Python, not Cython) | ||
# W504: line break after binary operator (breaks lines that end with a pointer) | ||
*.pyx: E211, E225, E226, E227, E275, E402, E999, W504 | ||
*.pxd: E211, E225, E226, E227, E275, E402, E999, W504 | ||
*.pxi: E211, E225, E226, E227, E275, E402, E999, W504 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ concurrency: | |
jobs: | ||
cpp-build: | ||
secrets: inherit | ||
uses: rapidsai/shared-action-workflows/.github/workflows/conda-cpp-build.yaml@branch-23.02 | ||
uses: rapidsai/shared-action-workflows/.github/workflows/conda-cpp-build.yaml@branch-23.04 | ||
with: | ||
build_type: ${{ inputs.build_type || 'branch' }} | ||
branch: ${{ inputs.branch }} | ||
|
@@ -37,7 +37,7 @@ jobs: | |
python-build: | ||
needs: [cpp-build] | ||
secrets: inherit | ||
uses: rapidsai/shared-action-workflows/.github/workflows/conda-python-build.yaml@branch-23.02 | ||
uses: rapidsai/shared-action-workflows/.github/workflows/conda-python-build.yaml@branch-23.04 | ||
with: | ||
build_type: ${{ inputs.build_type || 'branch' }} | ||
branch: ${{ inputs.branch }} | ||
|
@@ -46,16 +46,27 @@ jobs: | |
upload-conda: | ||
needs: [cpp-build, python-build] | ||
secrets: inherit | ||
uses: rapidsai/shared-action-workflows/.github/workflows/conda-upload-packages.yaml@branch-23.02 | ||
uses: rapidsai/shared-action-workflows/.github/workflows/conda-upload-packages.yaml@branch-23.04 | ||
with: | ||
build_type: ${{ inputs.build_type || 'branch' }} | ||
branch: ${{ inputs.branch }} | ||
date: ${{ inputs.date }} | ||
sha: ${{ inputs.sha }} | ||
skip_upload_pkgs: libcudf-example | ||
docs-build: | ||
if: github.ref_type == 'branch' && github.event_name == 'push' | ||
needs: python-build | ||
secrets: inherit | ||
uses: rapidsai/shared-action-workflows/.github/workflows/[email protected] | ||
with: | ||
build_type: branch | ||
node_type: "gpu-latest-1" | ||
arch: "amd64" | ||
container_image: "rapidsai/ci:latest" | ||
run_script: "ci/build_docs.sh" | ||
wheel-build-cudf: | ||
secrets: inherit | ||
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-manylinux-build.yml@branch-23.02 | ||
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-manylinux-build.yml@branch-23.04 | ||
with: | ||
build_type: ${{ inputs.build_type || 'branch' }} | ||
branch: ${{ inputs.branch }} | ||
|
@@ -64,10 +75,11 @@ jobs: | |
package-name: cudf | ||
package-dir: python/cudf | ||
skbuild-configure-options: "-DCUDF_BUILD_WHEELS=ON -DDETECT_CONDA_ENV=OFF" | ||
uses-setup-env-vars: false | ||
wheel-publish-cudf: | ||
needs: wheel-build-cudf | ||
secrets: inherit | ||
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-manylinux-publish.yml@branch-23.02 | ||
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-manylinux-publish.yml@branch-23.04 | ||
with: | ||
build_type: ${{ inputs.build_type || 'branch' }} | ||
branch: ${{ inputs.branch }} | ||
|
@@ -77,18 +89,19 @@ jobs: | |
wheel-build-dask-cudf: | ||
needs: wheel-publish-cudf | ||
secrets: inherit | ||
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-pure-build.yml@branch-23.02 | ||
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-pure-build.yml@branch-23.04 | ||
with: | ||
build_type: ${{ inputs.build_type || 'branch' }} | ||
branch: ${{ inputs.branch }} | ||
sha: ${{ inputs.sha }} | ||
date: ${{ inputs.date }} | ||
package-name: dask_cudf | ||
package-dir: python/dask_cudf | ||
uses-setup-env-vars: false | ||
wheel-publish-dask-cudf: | ||
needs: wheel-build-dask-cudf | ||
secrets: inherit | ||
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-pure-publish.yml@branch-23.02 | ||
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-pure-publish.yml@branch-23.04 | ||
with: | ||
build_type: ${{ inputs.build_type || 'branch' }} | ||
branch: ${{ inputs.branch }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,52 +20,55 @@ jobs: | |
- conda-python-other-tests | ||
- conda-java-tests | ||
- conda-notebook-tests | ||
- docs-build | ||
- wheel-build-cudf | ||
- wheel-tests-cudf | ||
- wheel-build-dask-cudf | ||
- wheel-tests-dask-cudf | ||
secrets: inherit | ||
uses: rapidsai/shared-action-workflows/.github/workflows/pr-builder.yaml@branch-23.02 | ||
uses: rapidsai/shared-action-workflows/.github/workflows/pr-builder.yaml@branch-23.04 | ||
checks: | ||
secrets: inherit | ||
uses: rapidsai/shared-action-workflows/.github/workflows/[email protected] | ||
uses: rapidsai/shared-action-workflows/.github/workflows/[email protected] | ||
with: | ||
enable_check_generated_files: false | ||
conda-cpp-build: | ||
needs: checks | ||
secrets: inherit | ||
uses: rapidsai/shared-action-workflows/.github/workflows/conda-cpp-build.yaml@branch-23.02 | ||
uses: rapidsai/shared-action-workflows/.github/workflows/conda-cpp-build.yaml@branch-23.04 | ||
with: | ||
build_type: pull-request | ||
conda-cpp-tests: | ||
needs: conda-cpp-build | ||
secrets: inherit | ||
uses: rapidsai/shared-action-workflows/.github/workflows/conda-cpp-tests.yaml@branch-23.02 | ||
uses: rapidsai/shared-action-workflows/.github/workflows/conda-cpp-tests.yaml@branch-23.04 | ||
with: | ||
build_type: pull-request | ||
conda-python-build: | ||
needs: conda-cpp-build | ||
secrets: inherit | ||
uses: rapidsai/shared-action-workflows/.github/workflows/conda-python-build.yaml@branch-23.02 | ||
uses: rapidsai/shared-action-workflows/.github/workflows/conda-python-build.yaml@branch-23.04 | ||
with: | ||
build_type: pull-request | ||
conda-python-cudf-tests: | ||
needs: conda-python-build | ||
secrets: inherit | ||
uses: rapidsai/shared-action-workflows/.github/workflows/conda-python-tests.yaml@branch-23.02 | ||
uses: rapidsai/shared-action-workflows/.github/workflows/conda-python-tests.yaml@branch-23.04 | ||
with: | ||
build_type: pull-request | ||
test_script: "ci/test_python_cudf.sh" | ||
conda-python-other-tests: | ||
# Tests for dask_cudf, custreamz, cudf_kafka are separated for CI parallelism | ||
needs: conda-python-build | ||
secrets: inherit | ||
uses: rapidsai/shared-action-workflows/.github/workflows/conda-python-tests.yaml@branch-23.02 | ||
uses: rapidsai/shared-action-workflows/.github/workflows/conda-python-tests.yaml@branch-23.04 | ||
with: | ||
build_type: pull-request | ||
test_script: "ci/test_python_other.sh" | ||
conda-java-tests: | ||
needs: conda-cpp-build | ||
secrets: inherit | ||
uses: rapidsai/shared-action-workflows/.github/workflows/custom-job.yaml@branch-23.02 | ||
uses: rapidsai/shared-action-workflows/.github/workflows/custom-job.yaml@branch-23.04 | ||
with: | ||
build_type: pull-request | ||
node_type: "gpu-latest-1" | ||
|
@@ -75,47 +78,58 @@ jobs: | |
conda-notebook-tests: | ||
needs: conda-python-build | ||
secrets: inherit | ||
uses: rapidsai/shared-action-workflows/.github/workflows/custom-job.yaml@branch-23.02 | ||
uses: rapidsai/shared-action-workflows/.github/workflows/custom-job.yaml@branch-23.04 | ||
with: | ||
build_type: pull-request | ||
node_type: "gpu-latest-1" | ||
arch: "amd64" | ||
container_image: "rapidsai/ci:latest" | ||
run_script: "ci/test_notebooks.sh" | ||
docs-build: | ||
needs: conda-python-build | ||
secrets: inherit | ||
uses: rapidsai/shared-action-workflows/.github/workflows/[email protected] | ||
with: | ||
build_type: pull-request | ||
node_type: "gpu-latest-1" | ||
arch: "amd64" | ||
container_image: "rapidsai/ci:latest" | ||
run_script: "ci/build_docs.sh" | ||
wheel-build-cudf: | ||
needs: checks | ||
secrets: inherit | ||
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-manylinux-build.yml@branch-23.02 | ||
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-manylinux-build.yml@branch-23.04 | ||
with: | ||
build_type: pull-request | ||
package-name: cudf | ||
package-dir: python/cudf | ||
skbuild-configure-options: "-DCUDF_BUILD_WHEELS=ON -DDETECT_CONDA_ENV=OFF" | ||
uses-setup-env-vars: false | ||
wheel-tests-cudf: | ||
needs: wheel-build-cudf | ||
secrets: inherit | ||
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-manylinux-test.yml@branch-23.02 | ||
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-manylinux-test.yml@branch-23.04 | ||
with: | ||
build_type: pull-request | ||
package-name: cudf | ||
# Install cupy-cuda11x for arm from a special index url | ||
# Install tokenizers last binary wheel to avoid a Rust compile from the latest sdist | ||
test-before-arm64: "pip install tokenizers==0.10.2 cupy-cuda11x -f https://pip.cupy.dev/aarch64" | ||
test-before-arm64: "pip install cupy-cuda11x -f https://pip.cupy.dev/aarch64" | ||
test-unittest: "pytest -v -n 8 ./python/cudf/cudf/tests" | ||
test-smoketest: "python ./ci/wheel_smoke_test_cudf.py" | ||
wheel-build-dask-cudf: | ||
needs: wheel-tests-cudf | ||
secrets: inherit | ||
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-pure-build.yml@branch-23.02 | ||
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-pure-build.yml@branch-23.04 | ||
with: | ||
build_type: pull-request | ||
package-name: dask_cudf | ||
package-dir: python/dask_cudf | ||
before-wheel: "RAPIDS_PY_WHEEL_NAME=cudf_cu11 rapids-download-wheels-from-s3 ./local-cudf && pip install --no-deps ./local-cudf/cudf*.whl" | ||
uses-setup-env-vars: false | ||
wheel-tests-dask-cudf: | ||
needs: wheel-build-dask-cudf | ||
secrets: inherit | ||
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-pure-test.yml@branch-23.02 | ||
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-pure-test.yml@branch-23.04 | ||
with: | ||
build_type: pull-request | ||
package-name: dask_cudf | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,15 +16,27 @@ on: | |
jobs: | ||
conda-cpp-tests: | ||
secrets: inherit | ||
uses: rapidsai/shared-action-workflows/.github/workflows/conda-cpp-tests.yaml@branch-23.02 | ||
uses: rapidsai/shared-action-workflows/.github/workflows/conda-cpp-tests.yaml@branch-23.04 | ||
with: | ||
build_type: nightly | ||
branch: ${{ inputs.branch }} | ||
date: ${{ inputs.date }} | ||
sha: ${{ inputs.sha }} | ||
conda-cpp-memcheck-tests: | ||
secrets: inherit | ||
uses: rapidsai/shared-action-workflows/.github/workflows/[email protected] | ||
with: | ||
build_type: nightly | ||
branch: ${{ inputs.branch }} | ||
date: ${{ inputs.date }} | ||
sha: ${{ inputs.sha }} | ||
node_type: "gpu-latest-1" | ||
arch: "amd64" | ||
container_image: "rapidsai/ci:latest" | ||
run_script: "ci/test_cpp_memcheck.sh" | ||
conda-python-cudf-tests: | ||
secrets: inherit | ||
uses: rapidsai/shared-action-workflows/.github/workflows/conda-python-tests.yaml@branch-23.02 | ||
uses: rapidsai/shared-action-workflows/.github/workflows/conda-python-tests.yaml@branch-23.04 | ||
with: | ||
build_type: nightly | ||
branch: ${{ inputs.branch }} | ||
|
@@ -34,7 +46,7 @@ jobs: | |
conda-python-other-tests: | ||
# Tests for dask_cudf, custreamz, cudf_kafka are separated for CI parallelism | ||
secrets: inherit | ||
uses: rapidsai/shared-action-workflows/.github/workflows/conda-python-tests.yaml@branch-23.02 | ||
uses: rapidsai/shared-action-workflows/.github/workflows/conda-python-tests.yaml@branch-23.04 | ||
with: | ||
build_type: nightly | ||
branch: ${{ inputs.branch }} | ||
|
@@ -43,7 +55,7 @@ jobs: | |
test_script: "ci/test_python_other.sh" | ||
conda-java-tests: | ||
secrets: inherit | ||
uses: rapidsai/shared-action-workflows/.github/workflows/custom-job.yaml@branch-23.02 | ||
uses: rapidsai/shared-action-workflows/.github/workflows/custom-job.yaml@branch-23.04 | ||
with: | ||
build_type: nightly | ||
branch: ${{ inputs.branch }} | ||
|
@@ -55,7 +67,7 @@ jobs: | |
run_script: "ci/test_java.sh" | ||
conda-notebook-tests: | ||
secrets: inherit | ||
uses: rapidsai/shared-action-workflows/.github/workflows/custom-job.yaml@branch-23.02 | ||
uses: rapidsai/shared-action-workflows/.github/workflows/custom-job.yaml@branch-23.04 | ||
with: | ||
build_type: nightly | ||
branch: ${{ inputs.branch }} | ||
|
@@ -67,18 +79,18 @@ jobs: | |
run_script: "ci/test_notebooks.sh" | ||
wheel-tests-cudf: | ||
secrets: inherit | ||
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-manylinux-test.yml@branch-23.02 | ||
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-manylinux-test.yml@branch-23.04 | ||
with: | ||
build_type: nightly | ||
branch: ${{ inputs.branch }} | ||
date: ${{ inputs.date }} | ||
sha: ${{ inputs.sha }} | ||
package-name: cudf | ||
test-before-arm64: "pip install tokenizers==0.10.2 cupy-cuda11x -f https://pip.cupy.dev/aarch64" | ||
test-before-arm64: "pip install cupy-cuda11x -f https://pip.cupy.dev/aarch64" | ||
test-unittest: "pytest -v -n 8 ./python/cudf/cudf/tests" | ||
wheel-tests-dask-cudf: | ||
secrets: inherit | ||
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-pure-test.yml@branch-23.02 | ||
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-pure-test.yml@branch-23.04 | ||
with: | ||
build_type: nightly | ||
branch: ${{ inputs.branch }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.