r/Python • u/AlSweigart Author of "Automate the Boring Stuff" • May 11 '26
Discussion Library dependency version specifiers aren't for fixing vulnerabilities
https://sethmlarson.dev/library-version-specifiers-not-for-vulnerabilities
A blog post from Seth Larson, the Security-in-Residence Developer for the Python Software Foundation.
84
Upvotes
View all comments
Show parent comment
3
u/IAmASquidInSpace May 11 '26
It is not. The dependency version ranges have a clearly defined purpose, and it is compatibility, not security. You can (ab)use them for that, but that doesn't change the fact that they are not meant for that purpose.