Skip to content

[FR][BUG] Setuptools vendors LGPL-3.0 code, which extends the burden to setuptools' consumers #5045

Open
@teruokun

Description

@teruokun

What's the problem this feature will solve?

As one of the most-common non-standard-library packages, setuptools historically has been permissively licensed and bundled dependencies generally along the same guarantees, but the addition of autocommand in the vendored code updates from 2024 in 00384a5 means it now contains code under the LGPL-3.0. This means it requires a lot more scrutiny on where it is used, protections from potential modifications, and monitoring where and how it is deployed in order to properly comply with the restrictions on its vendored library.

Describe the solution you'd like

I'd like this to be considered an issue initially to consider the ramifications and if unreasonable, then it's okay to describe this as a "won't fix" type of issue. Otherwise, discussion on the following items would be useful

  1. Is it reasonable to ask setuptools to try to limit itself to bundled dependencies under similarly permissive licenses as its own (i.e. BSD, MIT, Apache, Python, etc.)?
  2. If so, what would be a good contribution towards replacing the need autocommand (or its dependency) fills?
  3. Would it be reasonable to have a test which checks that the vendor packages include permissive licenses?

Alternative Solutions

No response

Additional context

No response

Code of Conduct

  • I agree to follow the PSF Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs TriageIssues that need to be evaluated for severity and status.enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions