Skip to content

Update dependencies in compiler-rs #2878

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

Merged
merged 4 commits into from
Sep 9, 2024
Merged

Update dependencies in compiler-rs #2878

merged 4 commits into from
Sep 9, 2024

Conversation

swallez
Copy link
Member

@swallez swallez commented Sep 9, 2024

This PR updates the dependencies in compiler-rs:

  • update dependencies (obviously)
  • in clients_schema, re-export crates that we expose as part of the public API. This allows library users to depend on the exact same version if needed.
  • use cargo-autoinherit to move all versions to the root workspace Cargo.toml
  • remove unused dependencies reported by cargo-machete.
  • re-generate OpenAPI outputs. The change is because the order of sections in components has changed in the updated OpenAPI library.

@swallez swallez merged commit b2ad226 into main Sep 9, 2024
6 checks passed
@swallez swallez deleted the update-rs-dependencies branch September 9, 2024 15:56
Copy link
Contributor

github-actions bot commented Sep 9, 2024

The backport to 8.15 failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-8.15 8.15
# Navigate to the new working tree
cd .worktrees/backport-8.15
# Create a new branch
git switch --create backport-2878-to-8.15
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 b2ad2265c9a6469efee4426abbc45df5b0fe1c54
# Push it to GitHub
git push --set-upstream origin backport-2878-to-8.15
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-8.15

Then, create a pull request where the base branch is 8.15 and the compare/head branch is backport-2878-to-8.15.

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

Successfully merging this pull request may close these issues.

2 participants