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

python37Packages.onnx: 1.7.0 -> 1.8.0 #103286

Merged
merged 1 commit into from Nov 10, 2020

Conversation

r-ryantm
Copy link
Contributor

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.

meta.description for python37Packages.onnx is: "Open Neural Network Exchange"

meta.homepage for python37Packages.onnx is: "http://onnx.ai"

meta.changelog for python37Packages.onnx is: ""

Updates performed
  • Ran passthru.UpdateScript
To inspect upstream changes
Impact
Checks done (click to expand)

Rebuild report (if merged into master) (click to expand)
8 total rebuild path(s)

2 package rebuild(s)

2 x86_64-linux rebuild(s)
2 i686-linux rebuild(s)
2 x86_64-darwin rebuild(s)
2 aarch64-linux rebuild(s)


First fifty rebuilds by attrpath
python37Packages.onnx
python38Packages.onnx
Instructions to test this update (click to expand)

Either download from Cachix:

nix-store -r /nix/store/m4f507c84yqvl9h7g06nzxq2s3bpsgvs-python3.7-onnx-1.8.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.

Or, build yourself:

nix-build -A python37Packages.onnx https://github.com/r-ryantm/nixpkgs/archive/8d528dd33ab1dc189dedc9f70081246e3243fc03.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:

ls -la /nix/store/m4f507c84yqvl9h7g06nzxq2s3bpsgvs-python3.7-onnx-1.8.0
ls -la /nix/store/m4f507c84yqvl9h7g06nzxq2s3bpsgvs-python3.7-onnx-1.8.0/bin


Pre-merge build results

We have automatically built all packages that will get rebuilt due to
this change.

This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.

Result of nixpkgs-review 1

2 packages built:
  • python37Packages.onnx
  • python38Packages.onnx

Maintainer pings

cc @acairncross for testing.

@acairncross
Copy link
Contributor

I've tested that import onnx works. LGTM

Comment on lines 23 to 24
# Due to Protobuf packaging issues this build of Onnx with Python 2 gives
# errors on import.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The next line of the comment (which I can't add a comment on directly) should be changed to something like # Support for Python 2 is deprecated as of Onnx v1.8. or I guess it could be omitted entirely.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll apply this

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually, it's already applied:

[nix-shell:~/.cache/nixpkgs-review/pr-103286]$ nix-build ./nixpkgs/ -A pythonPackages.onnx
error: onnx-1.8.0 not supported for interpreter python2.7

Copy link
Contributor

@jonringer jonringer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Result of nixpkgs-review pr 103286 1

2 packages built:
  • python37Packages.onnx
  • python38Packages.onnx

@jonringer jonringer merged commit edba7d6 into NixOS:master Nov 10, 2020
@r-ryantm r-ryantm deleted the auto-update/python3.7-onnx branch November 12, 2020 13:15
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

3 participants