contrib/salesforce: SOAP login() (API 34.0) retires in Summer '27
Author: saud5150Created Sep 30, 2026Updated Sep 30, 2026
This works today but will break when Salesforce retires SOAP login() in Summer '27. It only affects users of luigi.contrib.salesforce.
Where
Line numbers are as of 715f65c.
luigi/contrib/salesforce.py:233pinsAPI_VERSION = 34.0.start_session(:251-258) posts a SOAPloginto/services/Soap/u/34.0(:548-550).- It is reached from
QuerySalesforce.run(:153-155). - The SOAP login has been there since the file was added in ce80736 (2015).
Why it matters
Salesforce retires SOAP login() for API 31.0–64.0 in Summer '27: https://help.salesforce.com/s/articleView?id=005132110&language=en_US&type=1
After that, QuerySalesforce can't get a session, so the task fails.
Possible direction Get the session through OAuth instead (JWT bearer or client-credentials flow via an External Client App), then pass that access token to the existing Bulk API calls.
Source: spotify/luigi