luigi icon indicating copy to clipboard operation
luigi copied to clipboard

contrib/salesforce: SOAP login() (API 34.0) retires in Summer '27

Open saud5150 opened this issue 2 months ago • 0 comments

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:233 pins API_VERSION = 34.0.
  • start_session (:251-258) posts a SOAP login to /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.

saud5150 avatar Sep 30 '26 06:09 saud5150