Skip to content

Comments

python3Packages.Theano: add pythonImportsCheck#100867

Merged
mweinelt merged 1 commit intoNixOS:masterfrom
risicle:ris-theano-imports-check
Oct 17, 2020
Merged

python3Packages.Theano: add pythonImportsCheck#100867
mweinelt merged 1 commit intoNixOS:masterfrom
risicle:ris-theano-imports-check

Conversation

@risicle
Copy link
Contributor

@risicle risicle commented Oct 17, 2020

Motivation for this change

This not only gives us a "hint" of test coverage, but also proves the fix from #97597 allows import of theano from within a sandboxed build.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • 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 nixpkgs-review --run "nixpkgs-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)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@ofborg ofborg bot added the 6.topic: python Python is a high-level, general-purpose programming language. label Oct 17, 2020
@ofborg ofborg bot requested a review from bcdarwin October 17, 2020 19:38
@ofborg ofborg bot added 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. labels Oct 17, 2020
this not only gives us a "hint" of test coverage, but also proves the fix
from NixOS#97597 allows import of theano from within a sandboxed build
@risicle risicle force-pushed the ris-theano-imports-check branch from e9ef4bd to 4a9dba6 Compare October 17, 2020 22:39
@zowoq
Copy link
Contributor

zowoq commented Oct 17, 2020

@ofborg eval

@mweinelt
Copy link
Member

Result of nixpkgs-review pr 100867 1

1 package failed to build:
  • python37Packages.pymc3
7 packages built:
  • python27Packages.Lasagne
  • python27Packages.Theano (python27Packages.TheanoWithoutCuda)
  • python27Packages.TheanoWithCuda
  • python37Packages.Theano (python37Packages.TheanoWithoutCuda)
  • python37Packages.TheanoWithCuda
  • python38Packages.Theano (python38Packages.TheanoWithoutCuda)
  • python38Packages.TheanoWithCuda

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. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants