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 Versions Starting with 0 (0.1,0.2,0.3, etc.) Cause "does not exist" error When Referenced in cumulusci.yml Dependencies #3781

Open Julian88Tex opened 6 months ago

Julian88Tex commented 6 months ago

Describe the bug

When referencing a package for install in cumulusci.yml dependencies for a package version starting with 0 (e.g. 0.1, 0.2, 0.3, etc.), when attempting to install using a flow like dev_org or update_dependencies, install errors with a "does not exist" error:

    dependencies:
      - namespace: 'Intel_U4SFnCino'
        version: '0.2'

Error:

Error: Could not process MDAPI response: Update of InstalledPackage 
Intel_U4SFnCino: Error: InstalledPackage namespace: intel_u4sfncino does
not exist!

Reproduction steps

  1. Add a package version starting with 0 (example starting with 0.3) for a package version that you know exists and is published
  2. Run a flow/task that triggers install (example cci flow run dev_org)
  3. Wait for install step to begin

Result: Error display:

Error: Could not process MDAPI response: Update of InstalledPackage 
Intel_U4SFnCino: Error: InstalledPackage namespace: intel_u4sfncino does
not exist!

Expected Result: No error and package install with specified version.

Your CumulusCI and Python versions

CumulusCI version: 3.86.0 Python version: 3.10.0

Operating System

MacOS 14.4.1

Windows environment

No response

CumulusCI installation method

pipx

Error Gist

https://gist.github.com/Julian88Tex/db928dfcb7d60d20329b6b9fd34375a6

Additional information

RBLopez-BTH commented 5 months ago

I'm seeing this with a package that does not have a password