From 02e9aeb93731da42ac2f142cc8b77618154cb9b7 Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Tue, 31 May 2022 14:03:09 -0500 Subject: [PATCH] Fix license families to match all-caps expected by conda-verify. (#10931) This PR fixes warning C1115 from conda-build and conda-verify in the package recipes. ``` tmp/tmpuvqmv1nw/dask-cudf-22.06.00a-cuda_11_py39_g425f2c4930_298.tar.bz2: C1115 Found invalid license "Apache" in info/index.json ``` For context, conda-build does some normalization of the license family (converting it to all caps) but conda-verify does not perform the same normalization. - https://github.com/conda/conda-build/blob/1ed8da062f123e1fbca604df26b064b267a3d094/conda_build/license_family.py#L108 - https://github.com/conda/conda-verify/blob/f89feaa0d93c6c3f71ce9c2418b28ca5aef53127/conda_verify/checks.py#L248 Authors: - Bradley Dice (https://github.com/bdice) Approvers: - GALI PREM SAGAR (https://github.com/galipremsagar) - Ray Douglass (https://github.com/raydouglass) URL: https://github.com/rapidsai/cudf/pull/10931 --- conda/recipes/cudf/meta.yaml | 4 ++-- conda/recipes/cudf_kafka/meta.yaml | 4 ++-- conda/recipes/custreamz/meta.yaml | 4 ++-- conda/recipes/dask-cudf/meta.yaml | 4 ++-- conda/recipes/libcudf/meta.yaml | 16 ++++++++-------- 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/conda/recipes/cudf/meta.yaml b/conda/recipes/cudf/meta.yaml index 5340aa589fb..83f6a9cb5b1 100644 --- a/conda/recipes/cudf/meta.yaml +++ b/conda/recipes/cudf/meta.yaml @@ -69,8 +69,8 @@ test: # [linux64] - cudf # [linux64] about: - home: http://rapids.ai/ + home: https://rapids.ai/ license: Apache-2.0 - license_family: Apache + license_family: APACHE license_file: LICENSE summary: cuDF GPU DataFrame core library diff --git a/conda/recipes/cudf_kafka/meta.yaml b/conda/recipes/cudf_kafka/meta.yaml index 5f8317f7a60..e8e63737e9c 100644 --- a/conda/recipes/cudf_kafka/meta.yaml +++ b/conda/recipes/cudf_kafka/meta.yaml @@ -45,8 +45,8 @@ test: # [linux64] - cudf_kafka # [linux64] about: - home: http://rapids.ai/ + home: https://rapids.ai/ license: Apache-2.0 - license_family: Apache + license_family: APACHE license_file: LICENSE summary: libcudf_kafka library diff --git a/conda/recipes/custreamz/meta.yaml b/conda/recipes/custreamz/meta.yaml index 27a55538278..dcbd4410d8e 100644 --- a/conda/recipes/custreamz/meta.yaml +++ b/conda/recipes/custreamz/meta.yaml @@ -41,8 +41,8 @@ test: # [linux64] - custreamz # [linux64] about: - home: http://rapids.ai/ + home: https://rapids.ai/ license: Apache-2.0 - license_family: Apache + license_family: APACHE license_file: LICENSE summary: cuStreamz library diff --git a/conda/recipes/dask-cudf/meta.yaml b/conda/recipes/dask-cudf/meta.yaml index 73424697b5c..99c2c26bfcb 100644 --- a/conda/recipes/dask-cudf/meta.yaml +++ b/conda/recipes/dask-cudf/meta.yaml @@ -42,8 +42,8 @@ test: # [linux64] about: - home: http://rapids.ai/ + home: https://rapids.ai/ license: Apache-2.0 - license_family: Apache + license_family: APACHE license_file: LICENSE summary: dask-cudf library diff --git a/conda/recipes/libcudf/meta.yaml b/conda/recipes/libcudf/meta.yaml index 6a7f88c2c82..79ac05dc00f 100644 --- a/conda/recipes/libcudf/meta.yaml +++ b/conda/recipes/libcudf/meta.yaml @@ -278,9 +278,9 @@ outputs: - test -f $PREFIX/include/cudf_test/type_list_utilities.hpp - test -f $PREFIX/include/cudf_test/type_lists.hpp about: - home: http://rapids.ai/ + home: https://rapids.ai/ license: Apache-2.0 - license_family: Apache + license_family: APACHE license_file: LICENSE summary: libcudf library prelink_message: @@ -303,9 +303,9 @@ outputs: commands: - test -f $PREFIX/lib/libcudf_kafka.so about: - home: http://rapids.ai/ + home: https://rapids.ai/ license: Apache-2.0 - license_family: Apache + license_family: APACHE license_file: LICENSE summary: libcudf_kafka library - name: libcudf-example @@ -327,9 +327,9 @@ outputs: run: - {{ pin_subpackage('libcudf', exact=True) }} about: - home: http://rapids.ai/ + home: https://rapids.ai/ license: Apache-2.0 - license_family: Apache + license_family: APACHE license_file: LICENSE summary: libcudf_example library - name: libcudf-tests @@ -350,8 +350,8 @@ outputs: - gtest {{ gtest_version }} - gmock {{ gtest_version }} about: - home: http://rapids.ai/ + home: https://rapids.ai/ license: Apache-2.0 - license_family: Apache + license_family: APACHE license_file: LICENSE summary: libcudf test & benchmark executables