I've created a Python package, and it contains another package written by a third-party:

  |- vendor
  |    |- vendoredFoo (MIT license)

How to handle the license of vendoredFoo, which is distributed under MIT license?
I want to opensource my_pkg as MIT or Apache license.


1 Answer 1


Answer converted from third-party comments:

Have you read Are we liable for license problems posed by transitive OSS libraries? However, if what you are including is MIT licensed, then meeting the requirements of that license should be very simple.

In other words I believe the answer to your question about how to handle the license of vendoredFoo is the same as any other MIT licensed package. If you copy the code, you have to abide by the license.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.