Skip to main content

A command line tool, to simplify vendoring pure Python dependencies.

Project description

vendoring

A command line tool, to simplify vendoring pure Python dependencies.

Why does this exist?

pip had a "home-grown" setup for vendoring dependencies. The invoke task grew in complexity to over 500 lines and, at some point, became extremely difficult to improve and maintain.

This tool is based off the overgrown invoke task, breaking it out into a dedicated codebase with the goal of making it more maintainable and reusable. This also enabled independent evolution of this codebase and better access to infrastructure (like dedicated CI) to ensure it keeps working properly.

Should I use it?

This tool has no stability promises -- it has only one intended user: pip. There may be unannounced changes to this codebase at any time, as long as the intended user (i.e. the pip project) is prepared for those changes.

As a general rule of thumb, if the project is going to be a PyPI package, it should not use this tool.

Many downstream redistributors have policies against this kind of bundling of dependencies, which means that they'll patch your software to debundle it. This can cause various kinds of issues, due to violations of assumptions being made about where the dependencies are available/which versions are being used. These issues result in difficult-to-debug errors, which are fairly difficult to communicate with end users.

pip is a very special case with a thorough rationale for vendoring/bundling dependencies with itself.

Contributing

Check the Contributing guide.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vendoring-1.3.0.tar.gz (24.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vendoring-1.3.0-py3-none-any.whl (19.1 kB view details)

Uploaded Python 3

File details

Details for the file vendoring-1.3.0.tar.gz.

File metadata

  • Download URL: vendoring-1.3.0.tar.gz
  • Upload date:
  • Size: 24.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for vendoring-1.3.0.tar.gz
Algorithm Hash digest
SHA256 193a14a5e9fc3f7ae632d6dab934a037d6799d7f9bd169bcea88c1678317610f
MD5 f691c1cb6d5d1e26aa5407d5ebec7c3b
BLAKE2b-256 9ad6c3d06dd08c9e3446e89398090f210de5b43025a14e0e7a3e732dec599a28

See more details on using hashes here.

File details

Details for the file vendoring-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: vendoring-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 19.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for vendoring-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3157e4f448f488f28f409020e63543ae329e7ec47c1de7b78a3937bdcdc05aba
MD5 9db1e8946d476e5ca0bb45bc7c625191
BLAKE2b-256 0758791eed00ac5ddf6343013abbc2ebce029b24a52e4a15af5cb0e1a92e86e5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page