-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
Description
We want to use SPDX license identifiers in pyproject.toml files, following the Python Packaging Docs on the license field.
Today we define our licenses in a way that was meant to pass wheeltamer, an internal check for wheels which is no longer used.
Therefore we should replace this:
[project]
license = { text = "Apache 2.0" }with this (note the dash, which makes this a valid SPDX identifier):
[project]
license = "Apache-2.0"Specifically, this change conforms to: https://peps.python.org/pep-0639/#deprecate-license-key-table-subkeys
Approach
Apply updates like the following to all projects in RAPIDS:
- use SPDX license strings (e.g.
Apache-2.0) in[project].licensefield - remove license trove classifiers
- remove
[tool.setuptools].license-files, in favor of usinglicense-filesin[project] - if
scikit-build-core, set floor ofscikit-build-core>=0.11.0 - if
setuptools, set floor ofsetuptools>=77.0.0 - remove unnecessary configuration for other backends:
- e.g.
[tool.setuptools]tables inscikit-build-coreprojects
- e.g.
- remove unnecessary build dependencies
- e.g. including both
setuptoolsandscikit-build-core
- e.g. including both
hatchling projects (GitHub search)
-
jupyterlab-nvdashboard(remove setup.py, remove license classifier, update pre-commit hooks jupyterlab-nvdashboard#247) -
rapids-cli(fix license metadata in conda packages, remove setuptools configuration rapids-cli#131)
scikit-build-core projects (GitHub search)
-
cudf+cudf-kafka+libcudf+pylibcudf(Use SPDX license identifiers in pyproject.toml, bump build dependency floors cudf#20959) -
cugraph+libcugraph+pylibcugraph(Use SPDX license identifiers in pyproject.toml, bump build dependency floors cugraph#5380) -
cuml+libcuml(Use SPDX license identifiers in pyproject.toml, bump build dependency floors cuml#7641) -
cuopt+cuopt_mps_parser+libcuopt(Use SPDX license identifiers in pyproject.toml, bump build dependency floors NVIDIA/cuopt#742) -
cuvs+libcuvs(Use SPDX license identifiers in pyproject.toml, bump build dependency floors cuvs#1667) -
kvikio+libkvikio(Use SPDX license identifiers in pyproject.toml, bump build dependency floors kvikio#890) -
libwholegraph+pylibwholegraph(Use SPDX license identifiers in pyproject.toml, bump build dependency floors cugraph-gnn#377) -
raft+libraft+pylibraft(Use SPDX license identifiers in pyproject.toml, bump build dependency floors raft#2910) -
rapids-logger(Use SPDX license identifiers in pyproject.toml, bump build dependency floors rapids-logger#61) -
rapidsmpf+librapidsmpf(Use SPDX license identifiers in pyproject.toml, bump build dependency floors rapidsmpf#766) -
rmm+librmm(Use SPDX license identifiers in pyproject.toml, bump build dependency floors rmm#2194) -
ucxx+libucxx(Use SPDX license identifiers in pyproject.toml, bump build dependency floors ucxx#563)
setuptools projects (GitHub search)
-
cucim(Use SPDX license identifiers in pyproject.toml, bump build dependency floors cucim#999) -
cudf-polars+custreamz+dask-cudf(Use SPDX license identifiers in pyproject.toml, bump build dependency floors cudf#20959) -
cugraph-pyg(Use SPDX license identifiers in pyproject.toml, bump build dependency floors cugraph-gnn#377) -
cuopt-server+cuopt_sh_client(Use SPDX license identifiers in pyproject.toml, bump build dependency floors NVIDIA/cuopt#742) -
cuxfilter(Use SPDX license identifiers in pyproject.toml, removesetup.py, bump build dependency floors cuxfilter#752) -
cuvs-bench(Use SPDX license identifiers in pyproject.toml, bump build dependency floors cuvs#1667) -
dask-cuda(Use SPDX license identifiers in pyproject.toml, bump build dependency floors dask-cuda#1600) -
distributed-ucxx(Use SPDX license identifiers in pyproject.toml, bump build dependency floors ucxx#563) -
libucx(Use SPDX license identifiers in pyproject.toml, bump build dependency floors ucx-wheels#31) -
nx-cugraph(Use SPDX license identifiers in pyproject.toml, bump build dependency floors nx-cugraph#223) - ➡️
pre-commit-hooks(verify-pyproject-license: expect PEP 639 license metadata pre-commit-hooks#93) -
rapids-build-backend(Use SPDX license identifiers in pyproject.toml, bump build dependency floors rapids-build-backend#77) -
rapids-dask-dependency(Use SPDX license identifiers in pyproject.toml, bump build dependency floors rapids-dask-dependency#139) -
rapids-dependency-file-generator(fix(packaging): use SPDX license config, other small maintenance dependency-file-generator#172) -
rapids-metadata(Use SPDX license identifiers in pyproject.toml, bump build dependency floors rapids-metadata#68) -
rapids-reviser(https://github.com/rapidsai/rapids-reviser/pull/105)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels