Skip to content

python3Packages.dm-sonnet: 1.33 -> 2.0.0 - #137079

Closed
samuela wants to merge 1 commit into
NixOS:masterfrom
samuela:samuela/dm-sonnet
Closed

samuela wants to merge 1 commit into
NixOS:masterfrom
samuela:samuela/dm-sonnet

Conversation

@samuela

@samuela samuela commented Sep 8, 2021

Copy link
Copy Markdown
Member
Motivation for this change

Upgrade dm-sonnet to the latest version, 2.0.0. This is necessary for the packaging of other python packages like bsuite and dm-haiku.

Unfortunately the 2.0.0 release removed the :install bazel target, and all of the documentation regarding the build process. See google-deepmind/sonnet#219 for more info. This is highly unfortunate, but for now I've gone ahead and packaged it via the wheel from pypi. If we can manage to get the source build working again that would be ideal, but after banging my head against the wall for many hours today, I believe this to be the best course of action for the time being.

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • 21.11 Release Notes (or backporting 21.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

@github-actions github-actions Bot added the 6.topic: python Python is a high-level, general-purpose programming language. label Sep 8, 2021
@samuela samuela mentioned this pull request Sep 8, 2021
4 of 15 tasks
@samuela

samuela commented Sep 8, 2021

Copy link
Copy Markdown
Member Author

Looks like it's failing because I forgot dm-tree. I already have that packaged in my fork but I forgot to submit that PR first. I'll close this for now and then submit the dm-tree PR first.

@samuela samuela closed this Sep 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: python Python is a high-level, general-purpose programming language.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant