python311Packages.django-allauth: 0.57.0 -> 0.60.0

Changelog: https://github.com/pennersr/django-allauth/blob/0.60.0/ChangeLog.rst
This commit is contained in:
Fabian Affolter 2024-01-13 17:43:50 +01:00
parent a334fb4663
commit cce7e85bb4

View file

@ -28,16 +28,16 @@
buildPythonPackage rec {
pname = "django-allauth";
version = "0.57.0";
format = "pyproject";
version = "0.60.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "pennersr";
repo = pname;
rev = version;
hash = "sha256-zhKqvm43rw28UKNFdfJ2C1dIeZfPqmchb1rJykm1lx4=";
repo = "django-allauth";
rev = "refs/tags/${version}";
hash = "sha256-hkzZl2eZKti6m06LTtBqVXmsj6IFztsV2Of6tPiej+I=";
};
nativeBuildInputs = [
@ -46,12 +46,11 @@ buildPythonPackage rec {
propagatedBuildInputs = [
django
python3-openid
pyjwt
python3-openid
requests
requests-oauthlib
]
++ pyjwt.optional-dependencies.crypto;
] ++ pyjwt.optional-dependencies.crypto;
passthru.optional-dependencies = {
saml = [
@ -70,8 +69,12 @@ buildPythonPackage rec {
pillow
pytestCheckHook
pytest-django
]
++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
disabledTests = [
# Tests require network access
"test_login"
];
passthru.tests = {
inherit dj-rest-auth;