cumulusci-plus 5.0.22__py3-none-any.whl → 5.0.23__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.22"
1
+ __version__ = "5.0.23"
@@ -681,6 +681,8 @@ class FlowCoordinator:
681
681
  else:
682
682
  path = name
683
683
  step_options = step_config.get("options", {})
684
+ parent_task_options = parent_options.get(name, {})
685
+ step_options.update(parent_task_options)
684
686
  step_ui_options = step_config.get("ui_options", {})
685
687
  flow_config = project_config.get_flow(name)
686
688
  for sub_number, sub_stepconf in flow_config.steps.items():
@@ -114,15 +114,21 @@ class CreatePackageVersion(BaseSalesforceApiTask):
114
114
  "version_base": {
115
115
  "description": "The version number to use as a base before incrementing. "
116
116
  "Optional; defaults to the highest existing version number of this package. "
117
- "Can be set to ``latest_vcs_release`` to use the version of the most recent release published to GitHub."
117
+ "Can be set to ``latest_vcs_release`` to use the version of the most recent release published to VCS."
118
+ "If version_number is set, version_base and version_type will be ignored"
118
119
  },
119
120
  "version_type": {
120
121
  "description": "The part of the version number to increment. "
121
122
  "Options are major, minor, patch, build. Defaults to build"
123
+ "If version_number is set, version_base and version_type will be ignored"
124
+ },
125
+ "version_number": {
126
+ "description": "Set a fixed version number, if not using version_base and version_type"
122
127
  },
123
128
  "skip_validation": {
124
129
  "description": "If true, skip validation of the package version. Default: false. "
125
130
  "Skipping validation creates packages more quickly, but they cannot be promoted for release."
131
+ "And package version is created without reference to dependencies."
126
132
  },
127
133
  "org_dependent": {
128
134
  "description": "If true, create an org-dependent unlocked package. Default: false."
@@ -156,6 +162,12 @@ class CreatePackageVersion(BaseSalesforceApiTask):
156
162
  "description": "If True, create unlocked packages for unpackaged metadata in this project and dependencies. "
157
163
  "Defaults to False."
158
164
  },
165
+ "dependencies": {
166
+ "description": "The dependencies to use when creating the package version. Defaults to None."
167
+ "Ensure that the dependencies are in the correct format for Package2VersionCreateRequest."
168
+ "If not provided, the dependencies will be resolved using the resolution_strategy."
169
+ "The format should be a list of dictionaries with the key: 'subscriberPackageVersionId' and the value: '04t...'"
170
+ },
159
171
  }
160
172
 
161
173
  def _init_options(self, kwargs):
@@ -200,6 +212,13 @@ class CreatePackageVersion(BaseSalesforceApiTask):
200
212
  self.options["create_unlocked_dependency_packages"] = process_bool_arg(
201
213
  self.options.get("create_unlocked_dependency_packages") or False
202
214
  )
215
+ self.options["version_number"] = (
216
+ PackageVersionNumber.parse(
217
+ self.options.get("version_number"), package_type=PackageType.SECOND_GEN
218
+ )
219
+ if self.options.get("version_number")
220
+ else None
221
+ )
203
222
 
204
223
  def _init_task(self):
205
224
  self.tooling = get_simple_salesforce_connection(
@@ -384,9 +403,13 @@ class CreatePackageVersion(BaseSalesforceApiTask):
384
403
  return res["records"][0]["Id"]
385
404
 
386
405
  # Create the package descriptor
387
- version_number = self._get_base_version_number(
406
+ version_number = self.options.get(
407
+ "version_number"
408
+ ) or self._get_base_version_number(
388
409
  package_config.version_base, package_id
389
- ).increment(package_config.version_type)
410
+ ).increment(
411
+ package_config.version_type
412
+ )
390
413
 
391
414
  package_descriptor = {
392
415
  "id": package_id,
@@ -443,6 +466,7 @@ class CreatePackageVersion(BaseSalesforceApiTask):
443
466
  ):
444
467
  self.logger.info("Determining dependencies for package")
445
468
  dependencies = self._get_dependencies()
469
+ dependencies = self.options.get("dependencies")
446
470
  if dependencies:
447
471
  package_descriptor["dependencies"] = dependencies
448
472
 
@@ -182,8 +182,9 @@ class TestUtilTasks:
182
182
 
183
183
  assert os.path.exists(dest)
184
184
 
185
- @pytest.mark.skipif(os.name == "posix", reason="Only run on POSIX systems")
185
+ @pytest.mark.skipif(os.name != "posix", reason="Only run on POSIX systems")
186
186
  def test_CopyFileVars(self):
187
+ os.environ["TMPDIR"] = "/tmp"
187
188
  src_expanded = os.path.expandvars(os.path.join("$TMPDIR", "src"))
188
189
  with open(src_expanded, "w"):
189
190
  pass
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cumulusci-plus
3
- Version: 5.0.22
3
+ Version: 5.0.23
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
@@ -128,7 +128,7 @@ license](https://github.com/SFDO-Tooling/CumulusCI/blob/main/LICENSE)
128
128
  and is not covered by the Salesforce Master Subscription Agreement.
129
129
 
130
130
  <!-- Changelog -->
131
- ## v5.0.22 (2025-09-12)
131
+ ## v5.0.23 (2025-09-18)
132
132
 
133
133
  <!-- Release notes generated using configuration in .github/release.yml at main -->
134
134
 
@@ -136,8 +136,7 @@ and is not covered by the Salesforce Master Subscription Agreement.
136
136
 
137
137
  ### Changes
138
138
 
139
- - [DO NOT MERGE] minor changes on descriptions by [@jorgesolebur](https://github.com/jorgesolebur) in [#70](https://github.com/jorgesolebur/CumulusCI/pull/70)
140
- - Feature/env support by [@rupeshjSFDC](https://github.com/rupeshjSFDC) in [#69](https://github.com/jorgesolebur/CumulusCI/pull/69)
141
- - Removing the dev build to trigger patch release. by [@rupeshjSFDC](https://github.com/rupeshjSFDC) in [#73](https://github.com/jorgesolebur/CumulusCI/pull/73)
139
+ - Skip test on windows. by [@rupeshjSFDC](https://github.com/rupeshjSFDC) in [#75](https://github.com/jorgesolebur/CumulusCI/pull/75)
140
+ - Feature/create pkg version fixed number by [@rupeshjSFDC](https://github.com/rupeshjSFDC) in [#78](https://github.com/jorgesolebur/CumulusCI/pull/78)
142
141
 
143
- **Full Changelog**: https://github.com/jorgesolebur/CumulusCI/compare/v5.0.21...v5.0.22
142
+ **Full Changelog**: https://github.com/jorgesolebur/CumulusCI/compare/v5.0.22...v5.0.23
@@ -1,4 +1,4 @@
1
- cumulusci/__about__.py,sha256=iw4aHEmSrXTuJWAMrog8W6irAWatWfilwlzlQU49ZQY,23
1
+ cumulusci/__about__.py,sha256=Icz9gsq00jeStYnoWXJqQdtrjzKZHx_loShkcwtallQ,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
@@ -37,7 +37,7 @@ cumulusci/core/datasets.py,sha256=cd0cWe8y2cJ1xHhLz06mzEF-efqywnQSM8vZ_6FzNGE,10
37
37
  cumulusci/core/debug.py,sha256=SB2FZXzeI5XSXiQtwyrpzdxFWqSHLj2vjCddMMRibXM,839
38
38
  cumulusci/core/enums.py,sha256=cG7qgegc5EAmwBzxLbociJ1zsG_fbbVZ29g5zywk908,272
39
39
  cumulusci/core/exceptions.py,sha256=7LxVFnalXG_9IU_fKmWhk_O1Gmxv4GolUW1jycaFcl8,6696
40
- cumulusci/core/flowrunner.py,sha256=rs2fVU-fLBLdoPDUHx-tEqNaD6Pqnd22bP3AEtTytVo,32373
40
+ cumulusci/core/flowrunner.py,sha256=KZsjEGKhrYXx-lcla8gn53QS49AW3oMewjW01BGdpzg,32489
41
41
  cumulusci/core/github.py,sha256=AbmBbwCmpOCwpvBN8hbe44qqXMevFULyCRmtSGeKV_A,23453
42
42
  cumulusci/core/runtime.py,sha256=H2e3YN2i_nPiB2oVB_0V0rLsmTqBs8CdajdGOA4gsB0,3776
43
43
  cumulusci/core/sfdx.py,sha256=ZGW71iMdcMa8RlgZFXcrzZJg5ADCRtzZ-_P8DVUvYJg,4788
@@ -229,7 +229,7 @@ cumulusci/tasks/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
229
229
  cumulusci/tasks/base_source_control_task.py,sha256=YVLngLcXsjnsbQwTS33tioLic3EU5D-P0GtY8op00Uw,637
230
230
  cumulusci/tasks/command.py,sha256=ntVmi98kUvoQm90sd34pbILLt73tdG9VUT1-eTdHQ6g,5710
231
231
  cumulusci/tasks/connectedapp.py,sha256=G-OiSnLYCWj3iQ2AYU1zQk0x0jWQcwKM8wGRkF694VE,7187
232
- cumulusci/tasks/create_package_version.py,sha256=bawzRfOsfsN3E-4OB6ltjwcuxZD3W5xQylsGg0SCc2w,33327
232
+ cumulusci/tasks/create_package_version.py,sha256=Ncaq52kbSm-G9RL9rvRxy5irJZWVsjLCKO4BLSOKQJ0,34611
233
233
  cumulusci/tasks/datadictionary.py,sha256=qtMBXR-xnkLPCFQfe3v09b_DgAVhe_ElKc6355Yd4f4,29801
234
234
  cumulusci/tasks/dx_convert_from.py,sha256=io-6S3Kfp86GR7CAsHyFhPAW6XEtVKWVeJdNO0FFsgQ,806
235
235
  cumulusci/tasks/metadeploy.py,sha256=33AX5701G2fyu42wNY9mitKAXq04Dxpg_WMIK59d4P8,15787
@@ -612,7 +612,7 @@ cumulusci/tasks/tests/test_promote_package_version.py,sha256=6sitwrB8kUnnOH943em
612
612
  cumulusci/tasks/tests/test_pushfails.py,sha256=9JG9D0iD4dR-1fKheaRN7BEy3lzzuOKeRnQy03cwvZk,3214
613
613
  cumulusci/tasks/tests/test_salesforce.py,sha256=yCGtuHapxyAEmXQhuF2g2fh2naknTu7Md4OfEJQvGAA,2594
614
614
  cumulusci/tasks/tests/test_sfdx.py,sha256=oUbHo28d796m5RuskXMLitJw2rCLjjXIfxggzr4gsso,3545
615
- cumulusci/tasks/tests/test_util.py,sha256=qejX50N8RjHLg_qoF-TkqhAFlAgKHjJKrYMRw1DaXa4,9174
615
+ cumulusci/tasks/tests/test_util.py,sha256=SHNXQdfo3pxH7oFGvd-IpJS9noEoL4lm2b3CqW3KNws,9212
616
616
  cumulusci/tasks/utility/env_management.py,sha256=hJX6ySEiXD2oFW38JqbGQKMj89ucxdSBsPwytSdkgO8,6591
617
617
  cumulusci/tasks/utility/tests/test_env_management.py,sha256=fw34meWGOe1YYZO449MMCi2O7BgSaOA_I_wScrIr1Uk,8702
618
618
  cumulusci/tasks/vcs/__init__.py,sha256=ZzpMZnhooXZ6r_ywBVTS3UNw9uMcXW6h33LylRqTDK0,700
@@ -740,9 +740,9 @@ cumulusci/vcs/tests/dummy_service.py,sha256=RltOUpMIhSDNrfxk0LhLqlH4ppC0sK6NC2cO
740
740
  cumulusci/vcs/tests/test_vcs_base.py,sha256=9mp6uZ3lTxY4onjUNCucp9N9aB3UylKS7_2Zu_hdAZw,24331
741
741
  cumulusci/vcs/tests/test_vcs_bootstrap.py,sha256=N0NA48-rGNIIjY3Z7PtVnNwHObSlEGDk2K55TQGI8g4,27954
742
742
  cumulusci/vcs/utils/__init__.py,sha256=py4fEcHM7Vd0M0XWznOlywxaeCtG3nEVGmELmEKVGU8,869
743
- cumulusci_plus-5.0.22.dist-info/METADATA,sha256=ljfT50v3S8vBcucU0_ybSbrbqb_delTkke-edqFgf50,6089
744
- cumulusci_plus-5.0.22.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
745
- cumulusci_plus-5.0.22.dist-info/entry_points.txt,sha256=nTtu04b9iLXhzADcTrb5PwmdXE6e2MTUAMh9OK6Z2pg,80
746
- cumulusci_plus-5.0.22.dist-info/licenses/AUTHORS.rst,sha256=PvewjKImdKPhhJ6xR2EEZ4T7GbpY2ZeAeyWm2aLtiMQ,676
747
- cumulusci_plus-5.0.22.dist-info/licenses/LICENSE,sha256=NFsF_s7RVXk2dU6tmRAN8wF45pnD98VZ5IwqOsyBcaU,1499
748
- cumulusci_plus-5.0.22.dist-info/RECORD,,
743
+ cumulusci_plus-5.0.23.dist-info/METADATA,sha256=XdKxYkZrV3c6h1YX9q1x0KmRBjWxP8x5-fhU_8kIiss,5923
744
+ cumulusci_plus-5.0.23.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
745
+ cumulusci_plus-5.0.23.dist-info/entry_points.txt,sha256=nTtu04b9iLXhzADcTrb5PwmdXE6e2MTUAMh9OK6Z2pg,80
746
+ cumulusci_plus-5.0.23.dist-info/licenses/AUTHORS.rst,sha256=PvewjKImdKPhhJ6xR2EEZ4T7GbpY2ZeAeyWm2aLtiMQ,676
747
+ cumulusci_plus-5.0.23.dist-info/licenses/LICENSE,sha256=NFsF_s7RVXk2dU6tmRAN8wF45pnD98VZ5IwqOsyBcaU,1499
748
+ cumulusci_plus-5.0.23.dist-info/RECORD,,