cumulusci-plus 5.0.14__py3-none-any.whl → 5.0.15__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of cumulusci-plus might be problematic. Click here for more details.

cumulusci/__about__.py CHANGED
@@ -1 +1 @@
1
- __version__ = "5.0.14"
1
+ __version__ = "5.0.15"
@@ -24,7 +24,11 @@ from cumulusci.core.sfdx import (
24
24
  from cumulusci.core.utils import format_duration
25
25
  from cumulusci.salesforce_api.metadata import ApiDeploy
26
26
  from cumulusci.salesforce_api.package_zip import MetadataPackageZipBuilder
27
- from cumulusci.utils import download_extract_vcs_from_repo, temporary_dir
27
+ from cumulusci.utils import (
28
+ download_extract_vcs_from_repo,
29
+ get_tasks_with_options,
30
+ temporary_dir,
31
+ )
28
32
  from cumulusci.utils.yaml.model_parser import HashableBaseModel
29
33
  from cumulusci.utils.ziputils import zip_subfolder
30
34
  from cumulusci.vcs.models import AbstractRepo
@@ -676,15 +680,15 @@ class UnmanagedVcsDependencyFlow(UnmanagedStaticDependency, ABC):
676
680
  "namespace_strip": self.namespace_strip,
677
681
  }
678
682
 
683
+ coordinator_opts = get_tasks_with_options(
684
+ project_config, frozenset(pre_post_options.items())
685
+ )
686
+
679
687
  coordinator = FlowCoordinator(
680
688
  project_config,
681
689
  flow_config,
682
690
  name=flow_config.name,
683
- options={
684
- "deploy_pre": pre_post_options,
685
- "deploy_post": pre_post_options,
686
- "update_admin_profile": pre_post_options,
687
- },
691
+ options=coordinator_opts,
688
692
  skip=None,
689
693
  callbacks=self.callback_class(),
690
694
  )
@@ -9,6 +9,7 @@ import sys
9
9
  import tempfile
10
10
  import textwrap
11
11
  import zipfile
12
+ import functools
12
13
  from datetime import datetime
13
14
  from pathlib import Path
14
15
  from typing import Union, Optional
@@ -729,3 +730,18 @@ def filter_namelist(includes, namelist):
729
730
  if name.startswith(tuple(included_dirs)) or name in includes
730
731
  }
731
732
  )
733
+
734
+
735
+ @functools.lru_cache(50)
736
+ def get_tasks_with_options(project_config, frozen_options: frozenset):
737
+ coordinator_opts = {}
738
+ options = dict(frozen_options)
739
+ for task_config in project_config.list_tasks():
740
+ if any(
741
+ key in options.keys()
742
+ for key in project_config.get_task(task_config["name"])
743
+ .get_class()
744
+ .task_options.keys()
745
+ ):
746
+ coordinator_opts[task_config["name"]] = options
747
+ return coordinator_opts
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cumulusci-plus
3
- Version: 5.0.14
3
+ Version: 5.0.15
4
4
  Summary: Build and release tools for Salesforce developers
5
5
  Project-URL: Homepage, https://github.com/jorgesolebur/CumulusCI
6
6
  Project-URL: Changelog, https://cumulusci.readthedocs.io/en/stable/history.html
@@ -127,7 +127,7 @@ license](https://github.com/SFDO-Tooling/CumulusCI/blob/main/LICENSE)
127
127
  and is not covered by the Salesforce Master Subscription Agreement.
128
128
 
129
129
  <!-- Changelog -->
130
- ## v5.0.14 (2025-07-30)
130
+ ## v5.0.15 (2025-08-03)
131
131
 
132
132
  <!-- Release notes generated using configuration in .github/release.yml at main -->
133
133
 
@@ -135,6 +135,6 @@ and is not covered by the Salesforce Master Subscription Agreement.
135
135
 
136
136
  ### Changes
137
137
 
138
- - Fix docutils version. by [@rupeshjSFDC](https://github.com/rupeshjSFDC) in [#53](https://github.com/jorgesolebur/CumulusCI/pull/53)
138
+ - Add flow options to all supported flows by [@rupeshjSFDC](https://github.com/rupeshjSFDC) in [#55](https://github.com/jorgesolebur/CumulusCI/pull/55)
139
139
 
140
- **Full Changelog**: https://github.com/jorgesolebur/CumulusCI/compare/v5.0.13...v5.0.14
140
+ **Full Changelog**: https://github.com/jorgesolebur/CumulusCI/compare/v5.0.14...v5.0.15
@@ -1,4 +1,4 @@
1
- cumulusci/__about__.py,sha256=1jzVR6O2nP6q8w5IHCni1R8c27ny9HfXrhDs3nYzb5k,23
1
+ cumulusci/__about__.py,sha256=CSa0T2mpxiHKM0FVjjxfKMSOMTpwIW3bbcCOvuh7XIE,23
2
2
  cumulusci/__init__.py,sha256=jdanFQ_i8vbdO7Eltsf4pOfvV4mwa_Osyc4gxWKJ8ng,764
3
3
  cumulusci/__main__.py,sha256=kgRH-n5AJrH_daCK_EJwH7azAUxdXEmpi-r-dPGMR6Y,43
4
4
  cumulusci/conftest.py,sha256=AIL98BDwNAQtdo8YFmLKwav0tmrQ5dpbw1cX2FyGouQ,5108
@@ -65,7 +65,7 @@ cumulusci/core/config/tests/test_config.py,sha256=ZtIQSIzQWebw7mYXgehnp3CvoatC_t
65
65
  cumulusci/core/config/tests/test_config_expensive.py,sha256=__3JEuoAQ8s5njTcbyZlpXHr0jR0Qtne96xyF7fzqjQ,30137
66
66
  cumulusci/core/config/tests/test_config_util.py,sha256=X1SY9PIhLoQuC8duBKgs804aghN3n12DhqiC_f6jSmM,3177
67
67
  cumulusci/core/dependencies/__init__.py,sha256=Txf4VCrRW-aREKHqzK3ZyauQMsgtCXjiLkQzpMQT0kI,1533
68
- cumulusci/core/dependencies/base.py,sha256=I2-UrkYdpMlnoT21iSlSuDdmKjDoK-hCxaviwUFNgSE,23420
68
+ cumulusci/core/dependencies/base.py,sha256=JBLma_3fB5q-ee5zs-WpSX6hfbGJ09UYgs6vquROjiQ,23433
69
69
  cumulusci/core/dependencies/dependencies.py,sha256=74KjrCRn7AjKPBSGOm4pU34eJd8GSp1wNs7EFIC0wBE,8689
70
70
  cumulusci/core/dependencies/github.py,sha256=ozpRc5ADJsRDD5C_T-TLFygnBDE5Y9_03ZLCtZ-qr98,5897
71
71
  cumulusci/core/dependencies/github_resolvers.py,sha256=Em8p41Q-npoKv1ZAYNxXVrluQmYitzVfLLXlmln-MGw,9196
@@ -663,7 +663,7 @@ cumulusci/tests/shared_cassettes/vcr_string_templates/batchInfoList_xml.tpl,sha2
663
663
  cumulusci/tests/shared_cassettes/vcr_string_templates/batchInfo_xml.tpl,sha256=QVliMmBsCaTLx6ichcTSJEk58ejkNmKQfYchr8a62kE,553
664
664
  cumulusci/tests/shared_cassettes/vcr_string_templates/jobInfo_insert_xml.tpl,sha256=MELjgmEaKPEVMcZNO3s8fn5QjvN5qU7F1svg8tc5yoA,1113
665
665
  cumulusci/tests/shared_cassettes/vcr_string_templates/jobInfo_upsert_xml.tpl,sha256=Pk2twM954A_jndsGJXLhe1S00Sd64O6a2QNlnfj83Dw,1152
666
- cumulusci/utils/__init__.py,sha256=TbsOvc6CKWz4mV_ERaP_8LXMeTBMuU_mfs2Qq-02t08,25136
666
+ cumulusci/utils/__init__.py,sha256=5_gbnBhl1MtXqzVT-8fhM9rA1eZ4811sk5wHuJWv5_I,25639
667
667
  cumulusci/utils/classutils.py,sha256=paXwI8ZkwLr0Wv2fhs99GXh4Jhoinye6m1UJPPrtJFM,322
668
668
  cumulusci/utils/collections.py,sha256=4XcsBCyDhNcxSL589Y6gjNONKeB7YLqQ-nlWmiZjIlo,691
669
669
  cumulusci/utils/deprecation.py,sha256=MDQ4kbAS3RhpVAA_WVCXRMDDEjJj3pq9eeBDyPNcEoc,216
@@ -736,9 +736,9 @@ cumulusci/vcs/tests/dummy_service.py,sha256=RltOUpMIhSDNrfxk0LhLqlH4ppC0sK6NC2cO
736
736
  cumulusci/vcs/tests/test_vcs_base.py,sha256=9mp6uZ3lTxY4onjUNCucp9N9aB3UylKS7_2Zu_hdAZw,24331
737
737
  cumulusci/vcs/tests/test_vcs_bootstrap.py,sha256=N0NA48-rGNIIjY3Z7PtVnNwHObSlEGDk2K55TQGI8g4,27954
738
738
  cumulusci/vcs/utils/__init__.py,sha256=py4fEcHM7Vd0M0XWznOlywxaeCtG3nEVGmELmEKVGU8,869
739
- cumulusci_plus-5.0.14.dist-info/METADATA,sha256=j6HdlytG8kBesRDoXxxoPH6DpsqTc8RPhpsP9m57nT0,5742
740
- cumulusci_plus-5.0.14.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
741
- cumulusci_plus-5.0.14.dist-info/entry_points.txt,sha256=nTtu04b9iLXhzADcTrb5PwmdXE6e2MTUAMh9OK6Z2pg,80
742
- cumulusci_plus-5.0.14.dist-info/licenses/AUTHORS.rst,sha256=PvewjKImdKPhhJ6xR2EEZ4T7GbpY2ZeAeyWm2aLtiMQ,676
743
- cumulusci_plus-5.0.14.dist-info/licenses/LICENSE,sha256=NFsF_s7RVXk2dU6tmRAN8wF45pnD98VZ5IwqOsyBcaU,1499
744
- cumulusci_plus-5.0.14.dist-info/RECORD,,
739
+ cumulusci_plus-5.0.15.dist-info/METADATA,sha256=4e1vAn_cj3AsDwpFBVZR4E_d8UL6CWwI9lBBZgBrtZg,5760
740
+ cumulusci_plus-5.0.15.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
741
+ cumulusci_plus-5.0.15.dist-info/entry_points.txt,sha256=nTtu04b9iLXhzADcTrb5PwmdXE6e2MTUAMh9OK6Z2pg,80
742
+ cumulusci_plus-5.0.15.dist-info/licenses/AUTHORS.rst,sha256=PvewjKImdKPhhJ6xR2EEZ4T7GbpY2ZeAeyWm2aLtiMQ,676
743
+ cumulusci_plus-5.0.15.dist-info/licenses/LICENSE,sha256=NFsF_s7RVXk2dU6tmRAN8wF45pnD98VZ5IwqOsyBcaU,1499
744
+ cumulusci_plus-5.0.15.dist-info/RECORD,,