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.0.2.tar.gz (21.0 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.0.2-py2.py3-none-any.whl (15.1 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: vendoring-1.0.2.tar.gz
  • Upload date:
  • Size: 21.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for vendoring-1.0.2.tar.gz
Algorithm Hash digest
SHA256 2c65b39264d6806192bc0b6978492f5c03f53f200f3e4a6c8b34432b21252f4d
MD5 f8100e741064b3e6efbc1801acc97042
BLAKE2b-256 ff65c2d81ee178b55514b5d276ca1957c370fcf1f68ec8a9fd7854262ae9a225

See more details on using hashes here.

File details

Details for the file vendoring-1.0.2-py2.py3-none-any.whl.

File metadata

  • Download URL: vendoring-1.0.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 15.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for vendoring-1.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6110bb81e7461056118a75be55c2af257614e8c03e7c229811acdab9ebd494d7
MD5 b362de75bef511b7c932135e2b66555a
BLAKE2b-256 e773f185f18c07920dfdf8dbc4650a5b1e83492d3974ca380b9733c9ea50b009

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