Skip to content

Commit

Permalink
Fix license families to match all-caps expected by conda-verify. (#10931
Browse files Browse the repository at this point in the history
)

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: #10931
  • Loading branch information
bdice authored May 31, 2022
1 parent f6e9666 commit 02e9aeb
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions conda/recipes/cudf/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions conda/recipes/cudf_kafka/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions conda/recipes/custreamz/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions conda/recipes/dask-cudf/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
16 changes: 8 additions & 8 deletions conda/recipes/libcudf/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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

0 comments on commit 02e9aeb

Please sign in to comment.