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.4.0.tar.gz (24.8 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.4.0-py3-none-any.whl (19.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for vendoring-1.4.0.tar.gz
Algorithm Hash digest
SHA256 48113adfb29db5e5051da823c083219567b9b3405859682cc04400a7743279d9
MD5 87465074f3bec3383c56b42c21e4e80a
BLAKE2b-256 55a62ad9ec99117eccf78ba6e69e7c904a3dc08ca2fba50e8869a3f02c1bc518

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vendoring-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 19.2 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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3a5b5c44bdec2683a94cd4c7c25bad556b38539cf316defca65948d76107eb30
MD5 df23a6dd9a8c34246f0e871c4de8d020
BLAKE2b-256 e3ba2fe43514bcf426888101c2968f3c821c6338afc122ccbbde6e29ee2a5036

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