Version Pinning

Domain: Software Engineering

🎯 Motivation

Specifying exact versions of dependencies to prevent unexpected breaks.

πŸ“‹ Concrete Example

Pin: β€˜requests==2.31.0’ (exactly this version). If requests releases 2.32 with breaking changes, your code is safe. You upgrade deliberately, not accidentally.

πŸ”— Analogy

Version pinning is like locking in a flight price - you pay exactly the price you saw. If prices go up, you are not affected. Pinning locks dependency versions to prevent unexpected breaks.