SFDO-Tooling / CumulusCI

Python framework for building portable automation for Salesforce projects
http://cumulusci.readthedocs.io
BSD 3-Clause "New" or "Revised" License
363 stars 242 forks source link

Package version commands are hardcoded to use old API version (52.0) #3709

Closed georgeslater closed 11 months ago

georgeslater commented 12 months ago

Describe the bug

When you have a config file with a setting that was added after 52.0, e.g. settings that are relevant for the new Non Profit Cloud:

"industriesSettings": {
      "enableFundraising": true
}

"interestTaggingSettings": {
      "enableInterestTagging": true
 }

then attempting to run the release_2gp_beta command (create_package_version task) fails with:

Error: settings/InterestTagging.settings: Not available for deploy for this API version Industries: Property 'enableFundraising' not valid in version 52.0

It looks as though there is no way to override this version number set in the task definition.

It seems that the API version used to be updated for every new release, but the last update was back in 2021.

Reproduction steps

See description.

Your CumulusCI and Python versions

CumulusCI version: 3.81.0 Python version: 3.9.1

Operating System

Ubuntu

Windows environment

No response

CumulusCI installation method

pipx

Error Gist

No response

Additional information

No response