Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v4.0.0 #3844

Merged
merged 10 commits into from
Nov 14, 2024
Merged

Release v4.0.0 #3844

merged 10 commits into from
Nov 14, 2024

Conversation

jstvz
Copy link
Contributor

@jstvz jstvz commented Nov 12, 2024

Depends on SFDO-Tooling/Snowfakery#1092

  • SF CLI Migration
  • Drop support for Python 3.8-3.10
  • Manage dependencies via uv

Fixes #3621
Fixes #3815

@jstvz jstvz force-pushed the cumulusci-v4 branch 2 times, most recently from d9262e7 to 26fc26d Compare November 13, 2024 22:18
vsbharath
vsbharath previously approved these changes Nov 13, 2024
Use pyproject.toml via uv for dependency management

Freezing dependencies does so for a single platform (e.g. linux) and
Python version (3.12). Because a dependency can include environment
markers to specify transitive dependencies a requirements.txt file
generated on one platform/version can fail to install on another.

This commit modifies our feature test workflow to use pip's local project
installs to provide the correct dependency resolutions for each platform
and python version.

- Adjusted the Python version matrix in GitHub workflows to include
    Python 3.11, 3.12, and 3.13, removing older versions.
- Simplified the GitHub workflows to use uv
@jstvz jstvz marked this pull request as ready for review November 13, 2024 23:58
@jstvz jstvz requested a review from a team as a code owner November 13, 2024 23:58
@jstvz jstvz enabled auto-merge November 13, 2024 23:58
@jstvz jstvz requested a review from vsbharath November 13, 2024 23:59
@jstvz jstvz merged commit c731219 into main Nov 14, 2024
15 checks passed
@jstvz jstvz deleted the cumulusci-v4 branch November 14, 2024 03:53
jstvz added a commit that referenced this pull request Nov 16, 2024
This PR extracts the SFDX integration tests into a reusable workflow so
that we can test against the SFDX CLI's release candidates. It is
intended to provide early warning of breaking changes.

Edited to add:
- integration test fixes for v4 that were missed in #3844 
- `docutils`, which is required by `rst2ansi`
@@ -286,18 +286,6 @@ tasks:
options:
src_dir: src
group: Salesforce DX
dx_pull:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jstvz Why was this done? These are incredibly important and useful commands all over the documentation and is the proper way to interact with scratch orgs.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yippie We removed the dx_pull and dx_push commands because the underlying Salesforce CLI commands they relied on—force:source:pull and force:source:push—have been deprecated by Salesforce and replaced with project retrieve start and project deploy start.

These new commands behave differently, especially in how they handle source tracking and conflict resolution. Keeping the old dx_pull and dx_push commands could mislead users into thinking everything works the same, which isn’t the case. We want to avoid confusion and ensure everyone updates their workflows to use the new commands.

We recommend updating your scripts to use project retrieve start and project deploy start directly through the dx task or a custom task. We thought it safest to encourage users to verify that these new commands work as expected in their environments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CumulusCI / Selenium 3 is incompatible with python 3.9 Upgrade all SFDX Commands to SF Commands
4 participants