We have analysed the attacks on the software supply chains of LiteLLM and Telnyx and now recommend dependency cooldowns alongside immutable references, trusted publishers and digital attestations to secure deployments:
https://python-basics-tutorial.readthedocs.io/en/latest/packs/publish.html#securing-the-release-workflow
https://python-basics-tutorial.readthedocs.io/en/latest/packs/apps.html#updating-the-python-environment
#Python #ITSec #DevSecOps #SupplyChain
Publish package

Finally, you can deploy the package on the Python Package Index( PyPI) or another index, for example GitLab Package Registry or devpi. For the Python Package Index, you must register with Test PyPI...

Python Basics