Skip to content

Bump Cargo.lock, syn 2.0.104 - #6751

Merged
agourlay merged 1 commit into
devfrom
bump-syn-2.0.104
Jun 24, 2025
Merged

agourlay merged 1 commit into
devfrom
bump-syn-2.0.104

Conversation

@timvisee

@timvisee timvisee commented Jun 24, 2025 •

Copy link
Copy Markdown
Member

The syn crate is aggressively bumped to a newer version in our Cargo.lock.

For example, cargo check --workspace will create this same change.

All Submissions:

  • Contributions should target the dev branch. Did you create your branch from dev?
  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?

@timvisee
timvisee requested review from agourlay, generall and xzfc June 24, 2025 08:55
@timvisee

Copy link
Copy Markdown
Member Author

I'm not exactly sure why it is bumped, because 2.0.103 is not yanked. 🤷‍♂️

@timvisee timvisee mentioned this pull request Jun 24, 2025
6 tasks done
@agourlay
agourlay merged commit db45678 into dev Jun 24, 2025
@agourlay
agourlay deleted the bump-syn-2.0.104 branch June 24, 2025 09:21
@xzfc

xzfc commented Jun 25, 2025

Copy link
Copy Markdown
Member

I'm not exactly sure why it is bumped

  1. The dev as for aadb0bd were depending on syn 2.0.103.
  2. build(deps): bump prettyplease from 0.2.34 to 0.2.35 #6745 transitively removed syn 2.0.103 and added syn 2.0.104.
  3. build(deps): bump env_logger from 0.11.6 to 0.11.8 #6748 added new transitive dependency jiff-static > syn 2.0.103.

Separately, 2 and 3 were consistent, but after merging them both, jiff-static started depending on a syn version that was no longer present in the lockfile.


Some ideas to possibly prevent similar cases:

@timvisee

timvisee commented Jun 25, 2025 •

Copy link
Copy Markdown
Member Author

Thanks for the investigation!

I'm not to worried about this happening again, so we can leave things as-is if you ask me. If we're seeing this again a few times, we can adjust.

I also expect that @dependabot rebase would fix the issue. But it would make merging all dependabot PRs very cumbersome, because it can easily take 4 hours.

I don't like enabling the feature for one big PR, because there are quite some PR suggestions we don't want to merge. It'll be annoying to manage if it's within a single big PR.

generall pushed a commit that referenced this pull request Jul 17, 2025
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.

3 participants