Remove Palantir license file in Python Functions repositories

Python Functions repositories are generated with a python-functions/python/LICENSE.txt file which starts with COPYRIGHT (c) 2023 PALANTIR TECHNOLOGIES INC.
If this file is deleted, CI fails; apparently CI requires the LICENSE.txt file to be present.
If the contents of the file are modified, the next automatically-generated repository upgrade PR reverts the license file to the COPYRIGHT (c) 2023 PALANTIR TECHNOLOGIES INC. version.

Please remove the Copyright Palantir license from the Python Functions repository template; customer code should not carry a Copyright Palantir license.

Hi, thanks for flagging this issue! We’re working on removing the license file from the default repository template, so in the near future new Python Functions repositories will not have a license file.

Manually removing only the license file will cause checks to fail currently, but if you also remove the section of meta.yaml which references the license file as below, then checks should succeed:

# Remove this section
about:
    license_file: LICENSE.txt

Please let us know if you run into any issues with this workaround, and thanks again for bringing this to our attention!

1 Like