Unverified Commit 9052a266 authored by Robert Schütz's avatar Robert Schütz Committed by GitHub
Browse files

Merge pull request #293593 from leona-ya/django-allauth-0.6.1

python3Packages.django-allauth: 0.60.0 -> 0.61.1
parents ec8b34cd 5a4abe8f
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@
, djangorestframework
, djangorestframework-simplejwt
, fetchFromGitHub
, fetchpatch
, python
, pythonOlder
, responses
@@ -26,6 +27,15 @@ buildPythonPackage rec {
    hash = "sha256-TqeNpxXn+v89fEiJ4AVNhp8blCfYQKFQfYmZ6/QlRbQ=";
  };

  patches = [
    # https://github.com/iMerica/dj-rest-auth/pull/597
    (fetchpatch {
      name = "disable-email-confirmation-ratelimit-in-tests-to-support-new-allauth.patch";
      url = "https://github.com/iMerica/dj-rest-auth/commit/c8f19e18a93f4959da875f9c5cdd32f7d9363bba.patch";
      hash = "sha256-Y/YBjV+c5Gw1wMR5r/4VnyV/ewUVG0z4pjY/MB4ca9Y=";
    })
  ];

  postPatch = ''
    substituteInPlace setup.py \
      --replace "==" ">="
+2 −2
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@

buildPythonPackage rec {
  pname = "django-allauth";
  version = "0.60.0";
  version = "0.61.1";
  pyproject = true;

  disabled = pythonOlder "3.7";
@@ -37,7 +37,7 @@ buildPythonPackage rec {
    owner = "pennersr";
    repo = "django-allauth";
    rev = "refs/tags/${version}";
    hash = "sha256-hkzZl2eZKti6m06LTtBqVXmsj6IFztsV2Of6tPiej+I=";
    hash = "sha256-C9SYlL1yMnSb+Zpi2opvDw1stxAHuI9/XKHyvkM36Cg=";
  };

  nativeBuildInputs = [