Skip to content

Deprecated SPDX IDs broke builds #164

@nx10

Description

@nx10

The following of our default SPDX IDs have been deprecated (full deprecated list at bottom here):

  • LGPL-2.1 -> LGPL-2.1-only (this is our default!)
  • LGPL-3.0 -> LGPL-3.0-only

this broke builds:

   Building app-name @ file:///home/runner/work/template-python-repository/template-python-repository
  × Failed to build `app-name @
  │ file:///home/runner/work/template-python-repository/template-python-repository`
  ├─▶ Invalid pyproject.toml
  ├─▶ `project.license` is not a valid SPDX expression: LGPL-2.1
  ╰─▶ LGPL-2.1
      ^^^^^^^^ a deprecated license identifier was used
Error: Process completed with exit code 1.

(ref)

I've manually clicked through all the ones we offer by default and added a small auto patching logic to restore builds for now:

57089e3

We should remove this patch once github updates their API responses or we come up with a better solution.

Note that everything downstream that uses either of these licenses will likely soon need updating. We might wanna automate updating those.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions