-
Notifications
You must be signed in to change notification settings - Fork 197
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1051 from benfred/branch-23.02-merge-22.12
Branch 23.02 merge 22.12
- Loading branch information
Showing
286 changed files
with
11,836 additions
and
3,726 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 |
---|---|---|
|
@@ -5,4 +5,4 @@ auto_merger: true | |
branch_checker: true | ||
label_checker: true | ||
release_drafter: true | ||
copy_prs: false | ||
copy_prs: true |
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,72 @@ | ||
name: RAFT wheels | ||
|
||
on: | ||
workflow_call: | ||
inputs: | ||
versioneer-override: | ||
type: string | ||
default: '' | ||
build-tag: | ||
type: string | ||
default: '' | ||
branch: | ||
required: true | ||
type: string | ||
date: | ||
required: true | ||
type: string | ||
sha: | ||
required: true | ||
type: string | ||
build-type: | ||
type: string | ||
default: nightly | ||
|
||
concurrency: | ||
group: "raft-${{ github.workflow }}-${{ github.ref }}" | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
pylibraft-wheel: | ||
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-manylinux.yml@main | ||
with: | ||
repo: rapidsai/raft | ||
|
||
build-type: ${{ inputs.build-type }} | ||
branch: ${{ inputs.branch }} | ||
sha: ${{ inputs.sha }} | ||
date: ${{ inputs.date }} | ||
|
||
package-dir: python/pylibraft | ||
package-name: pylibraft | ||
|
||
python-package-versioneer-override: ${{ inputs.versioneer-override }} | ||
python-package-build-tag: ${{ inputs.build-tag }} | ||
|
||
skbuild-configure-options: "-DRAFT_BUILD_WHEELS=ON -DDETECT_CONDA_ENV=OFF -DFIND_RAFT_CPP=OFF" | ||
|
||
test-extras: test | ||
test-unittest: "python -m pytest -v ./python/pylibraft/pylibraft/test" | ||
secrets: inherit | ||
raft-dask-wheel: | ||
needs: pylibraft-wheel | ||
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-manylinux.yml@main | ||
with: | ||
repo: rapidsai/raft | ||
|
||
build-type: ${{ inputs.build-type }} | ||
branch: ${{ inputs.branch }} | ||
sha: ${{ inputs.sha }} | ||
date: ${{ inputs.date }} | ||
|
||
package-dir: python/raft-dask | ||
package-name: raft_dask | ||
|
||
python-package-versioneer-override: ${{ inputs.versioneer-override }} | ||
python-package-build-tag: ${{ inputs.build-tag }} | ||
|
||
skbuild-configure-options: "-DRAFT_BUILD_WHEELS=ON -DDETECT_CONDA_ENV=OFF -DFIND_RAFT_CPP=OFF" | ||
|
||
test-extras: test | ||
test-unittest: "python -m pytest -v ./python/raft-dask/raft_dask/test" | ||
secrets: inherit |
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 |
---|---|---|
|
@@ -49,3 +49,6 @@ _skbuild | |
|
||
## doxygen build check inside ci/checks/style.sh | ||
doxygen_check/ | ||
|
||
## cibuildwheel | ||
/wheelhouse |
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,102 @@ | ||
# Copyright (c) 2022, NVIDIA CORPORATION. | ||
|
||
repos: | ||
- repo: https://github.com/PyCQA/isort | ||
rev: 5.10.1 | ||
hooks: | ||
- id: isort | ||
# Use the config file specific to each subproject so that each | ||
# project can specify its own first/third-party packages. | ||
args: ["--config-root=python/", "--resolve-all-configs"] | ||
files: python/.* | ||
types_or: [python, cython, pyi] | ||
- repo: https://github.com/psf/black | ||
rev: 22.3.0 | ||
hooks: | ||
- id: black | ||
files: python/.* | ||
# Explicitly specify the pyproject.toml at the repo root, not per-project. | ||
args: ["--config", "pyproject.toml"] | ||
exclude: .*_version.py,.*versioneer.py | ||
- repo: https://github.com/PyCQA/flake8 | ||
rev: 5.0.4 | ||
hooks: | ||
- id: flake8 | ||
args: ["--config=setup.cfg"] | ||
files: python/.*$ | ||
types: [file] | ||
types_or: [python, cython] | ||
additional_dependencies: ["flake8-force"] | ||
- repo: https://github.com/pre-commit/mirrors-mypy | ||
rev: 'v0.971' | ||
hooks: | ||
- id: mypy | ||
additional_dependencies: [types-cachetools] | ||
args: ["--config-file=setup.cfg", | ||
"python/pylibraft/pylibraft", | ||
"python/raft-dask/raft_dask"] | ||
pass_filenames: false | ||
exclude: .*_version.py | ||
- repo: https://github.com/PyCQA/pydocstyle | ||
rev: 6.1.1 | ||
hooks: | ||
- id: pydocstyle | ||
args: ["--config=setup.cfg"] | ||
- repo: https://github.com/pre-commit/mirrors-clang-format | ||
rev: v11.1.0 | ||
hooks: | ||
- id: clang-format | ||
types_or: [c, c++, cuda] | ||
args: ["-fallback-style=none", "-style=file", "-i"] | ||
exclude: cpp/include/raft/thirdparty/.* | ||
- repo: local | ||
hooks: | ||
- id: no-deprecationwarning | ||
name: no-deprecationwarning | ||
description: 'Enforce that DeprecationWarning is not introduced (use FutureWarning instead)' | ||
entry: '(category=|\s)DeprecationWarning[,)]' | ||
language: pygrep | ||
types_or: [python, cython] | ||
- id: cmake-format | ||
name: cmake-format | ||
entry: ./cpp/scripts/run-cmake-format.sh cmake-format | ||
language: python | ||
types: [cmake] | ||
exclude: .*/thirdparty/.* | ||
# Note that pre-commit autoupdate does not update the versions | ||
# of dependencies, so we'll have to update this manually. | ||
additional_dependencies: | ||
- cmakelang==0.6.13 | ||
verbose: true | ||
require_serial: true | ||
- id: cmake-lint | ||
name: cmake-lint | ||
entry: ./cpp/scripts/run-cmake-format.sh cmake-lint | ||
language: python | ||
types: [cmake] | ||
# Note that pre-commit autoupdate does not update the versions | ||
# of dependencies, so we'll have to update this manually. | ||
additional_dependencies: | ||
- cmakelang==0.6.13 | ||
verbose: true | ||
require_serial: true | ||
exclude: .*/thirdparty/.* | ||
- id: copyright-check | ||
name: copyright-check | ||
entry: python ./ci/checks/copyright.py --git-modified-only --update-current-year | ||
language: python | ||
pass_filenames: false | ||
additional_dependencies: [gitpython] | ||
- id: include-check | ||
name: include-check | ||
entry: python ./cpp/scripts/include_checker.py cpp/bench cpp/include cpp/test | ||
pass_filenames: false | ||
language: python | ||
additional_dependencies: [gitpython] | ||
- repo: https://github.com/codespell-project/codespell | ||
rev: v2.1.0 | ||
hooks: | ||
- id: codespell | ||
|
||
default_language_version: | ||
python: python3 |
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
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.