Skip to content

Commit dc88bd9

Browse files
authored
Use SPDX license identifiers in pyproject.toml, bump build dependency floors (rapidsai#1667)
Contributes to rapidsai/build-planning#152 Proposes the following changes, to prevent builds breaking when Python build backends start to require configuration consistent with PEP 639 ([link](https://peps.python.org/pep-0639/)): * using SPDX identifiers in `[project].license` * moving `[tool.setuptools].license-files` to `[project].license-files` * removing `License ::` trove classifiers * bumping build backend floors (`setuptools>=77.0.0` and `scikit-build-core>=0.11.0`) Authors: - James Lamb (https://github.com/jameslamb) Approvers: - Bradley Dice (https://github.com/bdice) URL: rapidsai#1667
1 parent 77cc7d6 commit dc88bd9

16 files changed

+32
-33
lines changed

conda/environments/all_cuda-129_arch-aarch64.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ dependencies:
4545
- rapids-build-backend>=0.4.0,<0.5.0
4646
- recommonmark
4747
- rust
48-
- scikit-build-core>=0.10.0
48+
- scikit-build-core>=0.11.0
4949
- scikit-learn
5050
- sphinx-copybutton
5151
- sphinx-markdown-tables

conda/environments/all_cuda-129_arch-x86_64.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ dependencies:
4545
- rapids-build-backend>=0.4.0,<0.5.0
4646
- recommonmark
4747
- rust
48-
- scikit-build-core>=0.10.0
48+
- scikit-build-core>=0.11.0
4949
- scikit-learn
5050
- sphinx-copybutton
5151
- sphinx-markdown-tables

conda/environments/all_cuda-130_arch-aarch64.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ dependencies:
4545
- rapids-build-backend>=0.4.0,<0.5.0
4646
- recommonmark
4747
- rust
48-
- scikit-build-core>=0.10.0
48+
- scikit-build-core>=0.11.0
4949
- scikit-learn
5050
- sphinx-copybutton
5151
- sphinx-markdown-tables

conda/environments/all_cuda-130_arch-x86_64.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ dependencies:
4545
- rapids-build-backend>=0.4.0,<0.5.0
4646
- recommonmark
4747
- rust
48-
- scikit-build-core>=0.10.0
48+
- scikit-build-core>=0.11.0
4949
- scikit-learn
5050
- sphinx-copybutton
5151
- sphinx-markdown-tables

conda/environments/bench_ann_cuda-129_arch-aarch64.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ dependencies:
4242
- rapids-build-backend>=0.4.0,<0.5.0
4343
- requests
4444
- scikit-learn
45-
- setuptools
45+
- setuptools>=77.0.0
4646
- sysroot_linux-aarch64==2.28
4747
- wheel
4848
name: bench_ann_cuda-129_arch-aarch64

conda/environments/bench_ann_cuda-129_arch-x86_64.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ dependencies:
4545
- rapids-build-backend>=0.4.0,<0.5.0
4646
- requests
4747
- scikit-learn
48-
- setuptools
48+
- setuptools>=77.0.0
4949
- sysroot_linux-64==2.28
5050
- wheel
5151
name: bench_ann_cuda-129_arch-x86_64

conda/environments/bench_ann_cuda-130_arch-aarch64.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ dependencies:
4242
- rapids-build-backend>=0.4.0,<0.5.0
4343
- requests
4444
- scikit-learn
45-
- setuptools
45+
- setuptools>=77.0.0
4646
- sysroot_linux-aarch64==2.28
4747
- wheel
4848
name: bench_ann_cuda-130_arch-aarch64

conda/environments/bench_ann_cuda-130_arch-x86_64.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ dependencies:
4545
- rapids-build-backend>=0.4.0,<0.5.0
4646
- requests
4747
- scikit-learn
48-
- setuptools
48+
- setuptools>=77.0.0
4949
- sysroot_linux-64==2.28
5050
- wheel
5151
name: bench_ann_cuda-130_arch-x86_64

conda/recipes/cuvs-bench-cpu/recipe.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ requirements:
7777
- pip
7878
- python =${{ py_version }}
7979
- rapids-build-backend>=0.4.0,<0.5.0
80-
- setuptools >=64.0.0
80+
- setuptools>=77.0.0
8181
- if: linux64
8282
then:
8383
- libaio
@@ -118,5 +118,5 @@ tests:
118118

119119
about:
120120
homepage: ${{ load_from_file("python/cuvs_bench/pyproject.toml").project.urls.Homepage }}
121-
license: ${{ load_from_file("python/cuvs_bench/pyproject.toml").project.license.text }}
121+
license: ${{ load_from_file("python/cuvs_bench/pyproject.toml").project.license }}
122122
summary: cuVS CPU benchmark

conda/recipes/cuvs-bench/recipe.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ requirements:
3535
- pip
3636
- rapids-build-backend >=0.4.0,<0.5.0
3737
- rmm =${{ minor_version }}
38-
- setuptools >=64.0.0
38+
- setuptools>=77.0.0
3939
run:
4040
- ${{ pin_compatible("cuda-version", upper_bound="x", lower_bound="x") }}
4141
- click
@@ -63,5 +63,5 @@ tests:
6363

6464
about:
6565
homepage: ${{ load_from_file("python/cuvs_bench/pyproject.toml").project.urls.Homepage }}
66-
license: ${{ load_from_file("python/cuvs_bench/pyproject.toml").project.license.text }}
66+
license: ${{ load_from_file("python/cuvs_bench/pyproject.toml").project.license }}
6767
summary: ${{ load_from_file("python/cuvs_bench/pyproject.toml").project.description }}

0 commit comments

Comments
 (0)