QamoosTech
DevOps & CloudEnvironments and packagingIntermediatePython

Version Pinning

PronunciationVER-zhun PIN-ing

Definition

Version pinning means fixing a dependency to one exact version, such as requests==2.32.0, so updates never arrive unannounced.

Where you hear it

In requirements.txt files, deployment reviews, and discussions of why a build suddenly broke.

Examples

  • Pin the version in production; update it deliberately.
  • Pinning to >=2.0 isn't pinning; it still allows any newer version.
  • The build pins urllib3 to one version, so a new release cannot break it overnight.

Common mistake

Pinning once and never updating. Old pinned versions miss security fixes; schedule regular updates.

Don't confuse with

A lock file, which pins every dependency automatically. Pinning is the idea; the lock file is the tool.

Say it at work

  • In a meeting or chatPin it to the last known good version.
  • In an email or ticketUnpinned dependencies are why the build broke.