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

Update protobuf and remove old versions #29134

Merged
merged 4 commits into from Sep 9, 2017
Merged

Conversation

abbradar
Copy link
Member

@abbradar abbradar commented Sep 8, 2017

Motivation for this change

First motivation was to update protobuf to 3.4 so that TensorFlow 1.3 could be used. Later I updated all nixpkgs to use protobuf 3.4 (the latest version), sans one package that needs an old version (3.1).

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • 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/)
  • Fits CONTRIBUTING.md.

Remaining packages which don't build with this change seem to fail because of unrelated reason.

This leaves only protobuf3_1 which is the last version with libprotobuf2.

Also fix several packages to build with the latest protobuf.
@FRidh
Copy link
Member

FRidh commented Sep 9, 2017

Do you think we should backport (some) of this? Maybe not the removal of the older versions, but the addition and changing the default we might.

@abbradar
Copy link
Member Author

abbradar commented Sep 9, 2017

Hm, if we backport at least the addition I can then also backport new TensorFlow, maybe along with my other ML-related commits (current packages are somewhat outdated). Not sure about the default (but it'd make backporting other things easier).

@bjornfor
Copy link
Contributor

bjornfor commented Sep 9, 2017

Please fix 6589ee8#commitcomment-24187697 before backporting.

@abbradar
Copy link
Member Author

abbradar commented Sep 9, 2017

Fixed in 0d55804, thanks again.

@roconnor-blockstream
Copy link
Contributor

trezord depends on protobuf 2.6 and is broken by this change. Please restore protobuf2_6.

(cc @jb55)

@abbradar
Copy link
Member Author

Fixed in 27a4820 by rebuilding protobuf files like described in https://github.com/trezor/trezord. Sorry for the breakage!

@ajs124 ajs124 mentioned this pull request Apr 7, 2022
13 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