octoprint: pin flask-limiter to 2.6.2
fixes startup error with: `TypeError: Limiter.__init__() got multiple values for argument 'key_func'` Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
This commit is contained in:
parent
13081587cb
commit
63f5159ec3
|
@ -14,6 +14,21 @@ let
|
|||
self = py;
|
||||
packageOverrides = lib.foldr lib.composeExtensions (self: super: { }) (
|
||||
[
|
||||
(
|
||||
# with version 3 of flask-limiter octoprint 1.8.6 fails to start with
|
||||
# TypeError: Limiter.__init__() got multiple values for argument 'key_func'
|
||||
self: super: {
|
||||
flask-limiter = super.flask-limiter.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "2.6.2";
|
||||
src = fetchFromGitHub {
|
||||
owner = "alisaifee";
|
||||
repo = "flask-limiter";
|
||||
rev = version;
|
||||
sha256 = "sha256-eWOdJ7m3cY08ASN/X+7ILJK99iLJJwCY8294fwJiDew=";
|
||||
};
|
||||
});
|
||||
}
|
||||
)
|
||||
# Built-in dependency
|
||||
(
|
||||
self: super: {
|
||||
|
|
Loading…
Reference in New Issue
Block a user