Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 53d00c335194
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ed8400bb9a59
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Nov 11, 2018

  1. pythonPackages.cryptography: ignore pytest warnings

    The test suite was generating a lot of warnings, causing the hydra build
    to fail. Unfortunately, PYTHONWARNINGS env var is completely ignored.
    FRidh committed Nov 11, 2018
    Copy the full SHA
    ed8400b View commit details
Showing with 4 additions and 0 deletions.
  1. +4 −0 pkgs/development/python-modules/cryptography/default.nix
4 changes: 4 additions & 0 deletions pkgs/development/python-modules/cryptography/default.nix
Original file line number Diff line number Diff line change
@@ -51,6 +51,10 @@ buildPythonPackage rec {
hypothesis
];

checkPhase = ''
py.test --disable-pytest-warnings tests
'';

# The test assumes that if we're on Sierra or higher, that we use `getentropy`, but for binary
# compatibility with pre-Sierra for binary caches, we hide that symbol so the library doesn't
# use it. This boils down to them checking compatibility with `getentropy` in two different places,