Pinning doesn’t help you. They can replace the package and you’ll get the new one. You have to vendor the dependencies.
So the fact that 1.82.7 and then 1.82.8 were released within an hour of each other was highly suspicious.
But I believe you can replace versions on both, nonetheless. It’s a multi step process, unpublish then publish again. But the net effect is the same.
https://pypi.org/help/#file-name-reuse
> PyPI does not allow for a filename to be reused, even once a project has been deleted and recreated...
> This ensures that a given distribution for a given release for a given project will always resolve to the same file, and cannot be surreptitiously changed one day by the projects maintainer or a malicious party (it can only be removed).