Skip to content
New issue

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

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

Already on GitHub? # to your account

Chore: upgrade dependencies #2279

Merged
merged 12 commits into from
Feb 5, 2025
Merged

Chore: upgrade dependencies #2279

merged 12 commits into from
Feb 5, 2025

Conversation

Alenar
Copy link
Collaborator

@Alenar Alenar commented Feb 5, 2025

Content

This PR upgrades the repository dependencies to their latest version by running the upgrade script from the runbook.

Pre-submit checklist

  • Branch
    • Crates versions are updated (if relevant)
    • Commit sequence broadly makes sense
    • Key commits have useful messages
  • PR
    • No clippy warnings in the CI
    • Self-reviewed the diff
    • Useful pull request description
    • Reviewer requested

Comments

Some problems had to be fixed:

  • Some makefiles recipes had their name changed, change that was not reflected in the upgrade script
  • mithril-client failed to compile to wasm: as its uuid dependency now requires its js features for wasm (this features already existed but we could compile to wasm without it before, that's not the case anymore)

One problem is remaining:
rand_core released it's new major version last week (version 0.9) but it contains breaking changes to their apis, changes that are yet to be reflected on another of our dependency (ed25519-dalek).
Since this incompatibility can't be resolved yet, the upgrade script was run with the --compatible option in order to keep the current version of rand_core (version 0.6.4).

@Alenar Alenar self-assigned this Feb 5, 2025
Copy link

github-actions bot commented Feb 5, 2025

Test Results

    4 files  ±0     56 suites  ±0   10m 44s ⏱️ ±0s
1 590 tests ±0  1 590 ✅ ±0  0 💤 ±0  0 ❌ ±0 
1 888 runs  ±0  1 888 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 89ca0a2. ± Comparison against base commit 2c175d0.

♻️ This comment has been updated with latest results.

@Alenar Alenar temporarily deployed to testing-preview February 5, 2025 11:58 — with GitHub Actions Inactive
@Alenar Alenar temporarily deployed to testing-sanchonet February 5, 2025 11:58 — with GitHub Actions Inactive
@Alenar Alenar force-pushed the djo/2207/upgrade-dependencies branch from 4e9f236 to 057dd1d Compare February 5, 2025 14:51
Alenar added 12 commits February 5, 2025 15:52
Else it will make wasm build fails after upgrading `uuid` from version `1.11.0` to `1.13.1`.
Two makefile recipies had their names changes, but those changes were
not reflected in the upgrade dep script.
By running 'make upgrade' command.
By running 'make upgrade-ci-test-deps' command.
By running 'make upgrade' command in 'examples/client-wasm-nodejs' and 'examples/client-wasm-web'.
By running 'make upgrade' command.
By running:
- 'make install' command in 'examples/client-wasm-web'.
- 'make install' command in 'examples/client-wasm-nodejs'.
- 'make install' command in 'mithril-explorer'.
- 'make install' command in 'docs/website'.
 By running 'nix flake update' command.
@Alenar Alenar force-pushed the djo/2207/upgrade-dependencies branch from 057dd1d to 89ca0a2 Compare February 5, 2025 14:53
@Alenar Alenar temporarily deployed to testing-preview February 5, 2025 15:07 — with GitHub Actions Inactive
@Alenar Alenar temporarily deployed to testing-sanchonet February 5, 2025 15:07 — with GitHub Actions Inactive
Copy link
Member

@jpraynaud jpraynaud left a comment

Choose a reason for hiding this comment

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

LGTM

@Alenar Alenar merged commit 8a646ff into main Feb 5, 2025
38 of 42 checks passed
@Alenar Alenar deleted the djo/2207/upgrade-dependencies branch February 5, 2025 16:08
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants