cumulusci-plus 5.0.12__py3-none-any.whl → 5.0.14__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.12"
1
+ __version__ = "5.0.14"
cumulusci/cli/cci.py CHANGED
@@ -1,6 +1,5 @@
1
1
  import code
2
2
  import contextlib
3
- import os
4
3
  import pdb
5
4
  import runpy
6
5
  import signal
@@ -80,33 +79,8 @@ def _cleanup_on_signal(signum):
80
79
  except Exception as e:
81
80
  console.print(f"[red]Error during cleanup: {e}[/red]")
82
81
 
83
- # Terminate child processes in the process group
84
- try:
85
- console.print("[yellow]Terminating child processes...[/yellow]")
86
-
87
- # Temporarily ignore the signal to prevent recursion
88
- old_handler = signal.signal(signum, signal.SIG_IGN)
89
-
90
- try:
91
- # Only use process group termination on Unix systems
92
- if hasattr(os, "getpgrp") and hasattr(os, "killpg"):
93
- pgrp = os.getpgrp()
94
- # Send signal to all processes in the group except ourselves
95
- os.killpg(pgrp, signum)
96
- else:
97
- # On Windows, we can't use process groups, so just log the attempt
98
- console.print(
99
- "[yellow]Process group termination not supported on this platform[/yellow]"
100
- )
101
- finally:
102
- # Restore the original signal handler
103
- signal.signal(signum, old_handler)
104
-
105
- except ProcessLookupError:
106
- # Process group may not exist or may already be terminated
107
- pass
108
- except Exception as e:
109
- console.print(f"[red]Warning: Error terminating child processes: {e}[/red]")
82
+ # The parent process's trap is now responsible for killing the process group.
83
+ # This process will exit gracefully after receiving the signal from the parent.
110
84
 
111
85
  # Exit with appropriate failure code
112
86
  exit_code = 143 if signum == signal.SIGTERM else 130 # Standard exit codes
@@ -130,15 +104,8 @@ def main(args=None):
130
104
  """
131
105
  global _exit_stack
132
106
 
133
- # Create a new process group so we can terminate all child processes
134
- # when we receive a termination signal
135
- try:
136
- if hasattr(os, "setpgrp"):
137
- # On Unix systems, create a new process group
138
- os.setpgrp()
139
- except Exception:
140
- # On Windows or if setpgrp fails, continue without process group
141
- pass
107
+ # By not creating a new process group, cci remains in the parent's group.
108
+ # This allows the parent's trap command to correctly terminate cci and its children.
142
109
 
143
110
  # Set up signal handlers for graceful termination
144
111
  signal.signal(signal.SIGTERM, _signal_handler)
@@ -667,8 +667,11 @@ class UnmanagedVcsDependencyFlow(UnmanagedStaticDependency, ABC):
667
667
  flow_config = project_config.get_flow(self.flow_name)
668
668
  flow_config.name = self.flow_name
669
669
 
670
+ managed = not self._get_unmanaged(org)
671
+
670
672
  pre_post_options = {
671
- "unmanaged": self._get_unmanaged(org),
673
+ "unmanaged": not managed,
674
+ "managed": managed,
672
675
  "namespace_inject": self.namespace_inject,
673
676
  "namespace_strip": self.namespace_strip,
674
677
  }
@@ -680,6 +683,7 @@ class UnmanagedVcsDependencyFlow(UnmanagedStaticDependency, ABC):
680
683
  options={
681
684
  "deploy_pre": pre_post_options,
682
685
  "deploy_post": pre_post_options,
686
+ "update_admin_profile": pre_post_options,
683
687
  },
684
688
  skip=None,
685
689
  callbacks=self.callback_class(),
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cumulusci-plus
3
- Version: 5.0.12
3
+ Version: 5.0.14
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
@@ -22,7 +22,7 @@ Requires-Python: >=3.11
22
22
  Requires-Dist: click>=8.1
23
23
  Requires-Dist: cryptography
24
24
  Requires-Dist: defusedxml
25
- Requires-Dist: docutils>=0.21.2
25
+ Requires-Dist: docutils==0.21.2
26
26
  Requires-Dist: faker
27
27
  Requires-Dist: fs
28
28
  Requires-Dist: github3-py
@@ -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.12 (2025-07-28)
130
+ ## v5.0.14 (2025-07-30)
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
- - Add flow variables accessible in the subflows. by [@rupeshjSFDC](https://github.com/rupeshjSFDC) in [#49](https://github.com/jorgesolebur/CumulusCI/pull/49)
138
+ - Fix docutils version. by [@rupeshjSFDC](https://github.com/rupeshjSFDC) in [#53](https://github.com/jorgesolebur/CumulusCI/pull/53)
139
139
 
140
- **Full Changelog**: https://github.com/jorgesolebur/CumulusCI/compare/v5.0.11...v5.0.12
140
+ **Full Changelog**: https://github.com/jorgesolebur/CumulusCI/compare/v5.0.13...v5.0.14
@@ -1,10 +1,10 @@
1
- cumulusci/__about__.py,sha256=Vv4u1p-G1Nbn4Nke1q7gMED6qBN0oq8r2iByRLaev3Y,23
1
+ cumulusci/__about__.py,sha256=1jzVR6O2nP6q8w5IHCni1R8c27ny9HfXrhDs3nYzb5k,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
5
5
  cumulusci/cumulusci.yml,sha256=qJscpADSMzcxNYYapfbsZO2LXqjjyv7QLs62Pn2qALI,72445
6
6
  cumulusci/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
- cumulusci/cli/cci.py,sha256=nho1RrdyCWsOKpMwwzoDVA7dOpNEHpb4jx0JeKkmOIE,11714
7
+ cumulusci/cli/cci.py,sha256=ZSebArvNvIcHdoUQiNXhCpJroTn9MXE8xiBW3h1WLoQ,10548
8
8
  cumulusci/cli/error.py,sha256=znj0YN8D2Grozm1u7mZAsJlmmdGebbuy0c1ofQluL4Q,4410
9
9
  cumulusci/cli/flow.py,sha256=rN_9WL2Z6dcx-oRngChIgei3E5Qmg3XVzk5ND1o0i3s,6171
10
10
  cumulusci/cli/logger.py,sha256=bpzSD0Bm0BAwdNbVR6yZXMREh2vm7jOytZevEaNoVR4,2267
@@ -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=Y0Tr8qGmGOnqaq7PEDI6cHdEcKCsL8CUPQyHXvkouFM,23295
68
+ cumulusci/core/dependencies/base.py,sha256=I2-UrkYdpMlnoT21iSlSuDdmKjDoK-hCxaviwUFNgSE,23420
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
@@ -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.12.dist-info/METADATA,sha256=YL-mSE1VN78CKMMurKseclnCKS8YwSmhPXgfUVVeNjw,5767
740
- cumulusci_plus-5.0.12.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
741
- cumulusci_plus-5.0.12.dist-info/entry_points.txt,sha256=nTtu04b9iLXhzADcTrb5PwmdXE6e2MTUAMh9OK6Z2pg,80
742
- cumulusci_plus-5.0.12.dist-info/licenses/AUTHORS.rst,sha256=PvewjKImdKPhhJ6xR2EEZ4T7GbpY2ZeAeyWm2aLtiMQ,676
743
- cumulusci_plus-5.0.12.dist-info/licenses/LICENSE,sha256=NFsF_s7RVXk2dU6tmRAN8wF45pnD98VZ5IwqOsyBcaU,1499
744
- cumulusci_plus-5.0.12.dist-info/RECORD,,
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,,