simple-salesforce-deploy-expects-filepath-not-base64

simple-salesforce’s deploy() internally base64-encodes the zip itself — it expects a file path string or IO[bytes] object, NOT a pre-encoded base64 string. Passing a base64 string causes the library to double-encode or fail. The correct pattern is: decode base64 to bytes first, then wrap in io.BytesIO before passing to deploy().