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

protobuf: 3.5.1.1 -> 3.6.1, grpc: 1.10.1 -> 1.15.0 #47184

Closed
wants to merge 3 commits into from
Closed

protobuf: 3.5.1.1 -> 3.6.1, grpc: 1.10.1 -> 1.15.0 #47184

wants to merge 3 commits into from

Conversation

tarigo
Copy link
Contributor

@tarigo tarigo commented Sep 22, 2018

Motivation for this change
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Fits CONTRIBUTING.md.

@xeji
Copy link
Contributor

xeji commented Sep 22, 2018

This change affects many packages. How did you test it?

@tarigo
Copy link
Contributor Author

tarigo commented Sep 24, 2018

This change affects many packages. How did you test it?

Please elaborate your concern. This library is backward compatible across versions. So, how did I test what? Backward compatibility?

@xeji
Copy link
Contributor

xeji commented Sep 24, 2018

See the checklist above. Since you did not check anything it is not clear to me what you did.
In particular, did you build the package and other packages that depend on it? On which platforms?

@tarigo
Copy link
Contributor Author

tarigo commented Sep 24, 2018

I'm sorry, that this change is not clear for you, @xeji. Maybe, it would be better to include somebody, who is more aware about this topic... Let's say @orivej or @volth.

@tarigo
Copy link
Contributor Author

tarigo commented Sep 24, 2018

Just a side note:
running nox-review for this PR with resources I have (harware&time) is not possible because:
1). It takes ages and ages to recompile all dependencies on my laptop.
2). Some of dependencies are broken for other reasons (not this particular change). For example chromiumDev build fails to apply patch.
3). nox-review -k does not work due to bug in review script.

Probably we can come up with some reasonable amount of dependencies to build and test or some test for nixpkgs/pkgs/test, sufficient enough to verify further updates of protobuf library. I would be glad to help.

@tarigo tarigo changed the title protobuf: 3.5.1.1 -> 3.6.1 protobuf: 3.5.1.1 -> 3.6.1, grpc: 1.10.1 -> 1.15.0 Sep 24, 2018
@orivej orivej mentioned this pull request Sep 25, 2018
9 tasks
@orivej
Copy link
Contributor

orivej commented Sep 25, 2018

I'd like to add protobuf 3.6.1 first (in #47307), and then switch the default protobuf from 3.4 to 3.6 (as done in this PR) and the default python protobuf from 3.5 to 3.6 (as done in #45709).

Probably we can come up with some reasonable amount of dependencies to build and test

It seems reasonable to rebuild only those packages that run protoc or use protoc-generated files from their dependencies, but they are not known in advance.

You don't have to rebuild everything to propose a PR, only to indicate the amount of testing that has been done.

This library is backward compatible across versions.

Protobuf introduces breaking changes in every minor release: we do have to check every package that depends on it. For example, while testing this update I noticed that pokerth fails to build and needs to be restricted to protobuf3_4, and protobufc fails to build and needs to be updated to 1.3.1. A lot more might have to be done to switch the default to 3.6.

@tarigo tarigo closed this Sep 25, 2018
@tarigo
Copy link
Contributor Author

tarigo commented Sep 25, 2018

Ok, understood. Actually, my main motivation was to get the fresh version gRPC. I made PR #47348 for that. Could you, please, review it, @orivej ?

@orivej orivej mentioned this pull request Sep 25, 2018
9 tasks
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

4 participants