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

deps: Fix problematic serde by pinning to <= 1.0.171 #546

Merged
merged 2 commits into from
Aug 20, 2023
Merged

Conversation

eightfilms
Copy link
Contributor

See: serde-rs/serde#2538

Apparently, serde_derive has been shipping a non-reproducible binary.

The maintainer has also given vague
reasons
for why they want the newer releases to use a precompiled binary. Supposedly, it helps with build time, but IMO that can't be a good enough reason to ship a precompiled binary with.

Let's pin this until they decide to provide more clarity, since the future of the project/library seems uncertain.

See: serde-rs/serde#2538

Apparently, `serde_derive` has been shipping a [non-reproducible
binary](serde-rs/serde#2538 (comment)).

The maintainer has also given [vague
reasons](serde-rs/serde#2538 (comment)) for why they want the newer
releases to use a precompiled binary. Supposedly, it helps with build
time, but IMO that can't be a good enough reason to ship a precompiled
binary with.

Let's pin this until they decide to provide more clarity, since the
future of the project/library seems uncertain.
@eightfilms eightfilms self-assigned this Aug 20, 2023
@jdkanani jdkanani enabled auto-merge (squash) August 20, 2023 11:20
@jdkanani jdkanani merged commit 9bb636e into main Aug 20, 2023
4 checks passed
@jdkanani jdkanani deleted the bing/pin-serde branch August 20, 2023 11:38
@eightfilms
Copy link
Contributor Author

Found further context: serde-rs/serde#2514 (comment)

The maintainer is using the 10x improvement in build time to justify shipping the precompiled binary. I'm not sure if it's a good enough reason, but I suspect not.

@matthiasgoergens
Copy link
Collaborator

I suspect people will coalesce around a fork of serde that doesn't force pre-compiled binaries on us.

@eightfilms
Copy link
Contributor Author

@matthiasgoergens This is outdated now 😅 A new release removed the precompiled binary after all the hoo-ha. I will open a new PR to revert this.

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