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: cc52180b3f80
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ad1e1af5ad3f
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Jan 2, 2020

  1. pythonPackages.pyjwt: fix tests

    Rationale for this backport: not entirely sure why this starts to fail
    now, but this change fixes the build on 19.09: https://hydra.nixos.org/build/109120376
    
    (cherry picked from commit 5cc8fdb)
    Jonathan Ringer authored and Ma27 committed Jan 2, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    sxzz Kevin Deng 三咲智子
    Copy the full SHA
    ad1e1af View commit details
Showing with 5 additions and 0 deletions.
  1. +5 −0 pkgs/development/python-modules/pyjwt/default.nix
5 changes: 5 additions & 0 deletions pkgs/development/python-modules/pyjwt/default.nix
Original file line number Diff line number Diff line change
@@ -19,6 +19,11 @@ buildPythonPackage rec {
substituteInPlace setup.py --replace "pytest>=4.0.1,<5.0.0" "pytest"
'';

# ecdsa changed internal behavior
checkPhase = ''
pytest tests -k 'not ec_verify_should_return_false_if_signature_invalid'
'';

meta = with lib; {
description = "JSON Web Token implementation in Python";
homepage = https://github.com/jpadilla/pyjwt;