Package Dependency
PronunciationPAK-ij dih-PEN-den-see
Definition
A package dependency is a library your project needs in order to run. Projects list them in a file such as requirements.txt, and some are optional extras installed only on request.
Where you hear it
In setup guides, security alerts about vulnerable libraries, and when updating a project.
Examples
Add
requestsas a dependency and reinstall.Test tools are dev dependencies, not needed in production.
The app's dependency on an old version of the library caused the crash.
Common mistake
Using the word with its project-management meaning. Here it is a library, not a task that waits for another task.
Don't confuse with
Task dependency in agile planning, where one task must finish before another can start.
Say it at work
- In a meeting or chat
Which dependency pulled this in?
- In an email or ticket
Keep the dependency list small.
Keep exploring
More in DevOps & Cloud