Merge pull request #265777 from r-ryantm/auto-update/python310Packages.flask-login
python310Packages.flask-login: 0.6.2 -> 0.6.3
This commit is contained in:
commit
b0e3e12d6c
@ -1,34 +1,48 @@
|
||||
{ lib
|
||||
, asgiref
|
||||
, blinker
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, flask
|
||||
, pytestCheckHook
|
||||
, pythonAtLeast
|
||||
, pythonOlder
|
||||
, semantic-version
|
||||
|
||||
# build-system
|
||||
, setuptools
|
||||
|
||||
# dependencies
|
||||
, flask
|
||||
, werkzeug
|
||||
|
||||
# tests
|
||||
, asgiref
|
||||
, blinker
|
||||
, pytestCheckHook
|
||||
, semantic-version
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "flask-login";
|
||||
version = "0.6.2";
|
||||
format = "setuptools";
|
||||
version = "0.6.3";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "Flask-Login";
|
||||
inherit version;
|
||||
hash = "sha256-wKe6qf3ESM3T3W8JOd9y7sUXey96vmy4L8k00pyqycM=";
|
||||
hash = "sha256-XiPRSmB+8SgGxplZC4nQ8ODWe67sWZ11lHv5wUczAzM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
flask
|
||||
werkzeug
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"flask_login"
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
asgiref
|
||||
blinker
|
||||
@ -36,25 +50,8 @@ buildPythonPackage rec {
|
||||
semantic-version
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# https://github.com/maxcountryman/flask-login/issues/747
|
||||
"test_remember_me_accepts_duration_as_int"
|
||||
"test_remember_me_custom_duration_uses_custom_cookie"
|
||||
"test_remember_me_refresh_every_request"
|
||||
"test_remember_me_uses_custom_cookie_parameters"
|
||||
] ++ lib.optionals (pythonAtLeast "3.10") [
|
||||
"test_hashable"
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"-W" "ignore::DeprecationWarning"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"flask_login"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/maxcountryman/flask-login/blob/${version}/CHANGES.md";
|
||||
description = "User session management for Flask";
|
||||
homepage = "https://github.com/maxcountryman/flask-login";
|
||||
license = licenses.mit;
|
||||
|
Loading…
Reference in New Issue
Block a user