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
1
u/james_pic May 12 '26
Where it gets really tricky is where a library had an API that was fundamentally insecure and couldn't be fixed without a breaking change. PyYAML prior to PyYAML 6 had this, and this was part of what prompted them to break backwards compatibility in releasing 6.0.