Skip to content

Conversation

Alenar
Copy link
Collaborator

@Alenar Alenar commented Oct 2, 2025

Content

This PR replaces usages of the serde_yaml crate with saphyr as the former is now unmaintained.

Note

saphyr have yet to include a serde conversion layer, meaning a conversion layer was added when needed.

Pre-submit checklist

  • Branch
    • Tests are provided (if possible)
    • Crates versions are updated (if relevant)
    • Commit sequence broadly makes sense
    • Key commits have useful messages
  • PR
    • All check jobs of the CI have succeeded
    • Self-reviewed the diff
    • Useful pull request description
    • Reviewer requested
  • Documentation
    • No new TODOs introduced

Comments

There's a concern over the current state of the saphyr library, it's currently going on a unstable development phase where each version can include breaking changes.
In the future the light yaml parsing layer in mithril-api-spec may have to be changed multiple times in order to adapt to the last saphyr changes.

Issue(s)

Closes #2700

jpraynaud and others added 4 commits October 2, 2025 11:56
'serde_yml' is unmaintained, archived and has security vulnerabilities.
…arsing

So it's easier to change it, or maybe add another file format, if
needed.
* mithril-build-script from `0.2.26` to `0.2.27`
* mithril-api-spec from `0.1.6` to `0.1.7`
@Alenar Alenar requested review from jpraynaud and turmelclem October 2, 2025 10:15
@Alenar Alenar self-assigned this Oct 2, 2025
Copy link

github-actions bot commented Oct 2, 2025

Test Results

    4 files  ± 0    164 suites  ±0   23m 38s ⏱️ -37s
2 193 tests +11  2 193 ✅ +11  0 💤 ±0  0 ❌ ±0 
6 753 runs  +44  6 753 ✅ +44  0 💤 ±0  0 ❌ ±0 

Results for commit 068bddd. ± Comparison against base commit 22f438c.

♻️ This comment has been updated with latest results.

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 👍

Copy link
Collaborator

@turmelclem turmelclem 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 deployed to testing-preview October 3, 2025 13:46 — with GitHub Actions Active
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.

Replace serde_yml unmaintained crate
3 participants