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

Add minimum version check for version id dependencies #3767

Open leboff opened 8 months ago

leboff commented 8 months ago

Add the same minimum version check that namespace/version dependencies get to 04t version id dependencies

yippie commented 6 months ago

This appears to be an alternative fix to the same issue we are both having that I tried solving in a different way https://github.com/SFDO-Tooling/CumulusCI/pull/3671

yippie commented 6 months ago

@jstvz @davidmreed can we please get one of these merged so that dependency install is much more efficient and doesn't downgrade.

vsbharath commented 6 months ago

@yippie @leboff We have reviewed the pull request. Currently, we do not plan to alter the default behavior of Salesforce concerning the installation of unlocked packages. Instead, we propose treating this as a potential new feature for CumulusCI rather than a bug.

For us to consider incorporating this feature, it must meet the following criteria:

  1. Include an option to override the default Salesforce behavior for installing unlocked packages, allowing the installation of lower versions of packages on the organization.
  2. Ensure test coverage for get_package_from_version and the changes in branches here. Additionally, please mock the response for tests regarding the query.

Let us know if you have any questions about this feedback.