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

build(deps): update sysinfo requirement from 0.15.3 to 0.16.2 #524

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 15, 2021

Updates the requirements on sysinfo to permit the latest version.

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [sysinfo](https://github.com/GuillaumeGomez/sysinfo) to permit the latest version.
- [Release notes](https://github.com/GuillaumeGomez/sysinfo/releases)
- [Commits](https://github.com/GuillaumeGomez/sysinfo/commits)

Signed-off-by: dependabot[bot] <support@github.com>
@dvdplm
Copy link
Contributor

dvdplm commented Feb 15, 2021

The build errors here has nothing to do with the sysinfo upgrade. It is caused by breaking changes in funty 1.2 (a dependency of bitvec, which is a dependency of parity-scale-codec.

@dvdplm
Copy link
Contributor

dvdplm commented Feb 15, 2021

…but even after fixing the bitvec/funty issue, there is a problem on macOS that requires an update to libc version 0.2.86 where this PR is included.

@ordian Any thoughts on how we should handle breaking libc updates? AFAIK it doesn't follow semver and we don't use it directly.

@ordian
Copy link
Member

ordian commented Feb 15, 2021

@ordian Any thoughts on how we should handle breaking libc updates? AFAIK it doesn't follow semver and we don't use it directly.

this should probably be handled in crates that directly depend on it, e.g. rocksdb and/or in applications with Cargo.lock

@dvdplm
Copy link
Contributor

dvdplm commented Feb 15, 2021

this should probably be handled in crates that directly depend on it, e.g. rocksdb and/or in applications with Cargo.lock

So in this case here?

@ordian
Copy link
Member

ordian commented Feb 15, 2021

Actually, in case of libc, it might be a bad idea, because it's not possible to build two versions of it. So if some crate depends on the latest version, pinning it might cause more trouble than good. So the fix would have to go into Cargo.lock.

@dvdplm
Copy link
Contributor

dvdplm commented Feb 15, 2021

So the fix would have to go into Cargo.lock.

It's not checked in here. Do you think we should check it in then? That's not great either.

@ordian
Copy link
Member

ordian commented Feb 15, 2021

So the fix would have to go into Cargo.lock.

It's not checked in here. Do you think we should check it in then? That's not great either.

No, adding Cargo.lock here won't help. My point is that it should not be fixed here, but rather in the leaf application with Cargo.lock file with cargo update -p libc --precise <whatever>.

I kind of understand why libc doesn't follow semver: https://github.com/dtolnay/semver-trick#illustrative-example
but by pinning its version here we might create more problems in the future, cf rust-bitcoin/rust-secp256k1#204.

@dvdplm
Copy link
Contributor

dvdplm commented Feb 15, 2021

My point is that it should not be fixed here, but rather in the leaf application with Cargo.lock

Won't help our CI, but I see the point. We'll have to fix CI separately I guess.

@dvdplm
Copy link
Contributor

dvdplm commented Feb 15, 2021

Anyway, given that this upgrade here is far from necessary and requires a big number of crates to update to libc 0.2.86, I'll close this PR and punt on the upgrade.

@dvdplm dvdplm closed this Feb 15, 2021
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 15, 2021

OK, I won't notify you again about this release, but will get in touch when a new version is available.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/cargo/sysinfo-0.16.2 branch February 15, 2021 14:55
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.

None yet

2 participants