python3Packages.asgi-csrf: 0.7.1 -> 0.8
This commit is contained in:
parent
c984bc100d
commit
bbc23a42db
@ -1,8 +1,17 @@
|
|||||||
{ lib, stdenv, buildPythonPackage, isPy27, fetchFromGitHub, itsdangerous, python-multipart
|
{ lib
|
||||||
, pytestCheckHook, starlette, httpx, pytest-asyncio }:
|
, buildPythonPackage
|
||||||
|
, isPy27
|
||||||
|
, fetchFromGitHub
|
||||||
|
, itsdangerous
|
||||||
|
, python-multipart
|
||||||
|
, pytestCheckHook
|
||||||
|
, starlette
|
||||||
|
, httpx
|
||||||
|
, pytest-asyncio
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
version = "0.7.1";
|
version = "0.8";
|
||||||
pname = "asgi-csrf";
|
pname = "asgi-csrf";
|
||||||
disabled = isPy27;
|
disabled = isPy27;
|
||||||
|
|
||||||
@ -11,7 +20,7 @@ buildPythonPackage rec {
|
|||||||
owner = "simonw";
|
owner = "simonw";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1hhqrb9r46y6i3d3w6hc9zm6yyikdyd2k5pcbyw0r9fl959yi4hf";
|
sha256 = "sha256-0I/p9SjVVZhJQeR7s1R3tooP9XMNLPlcxl0dBSzsVaw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
@ -26,10 +35,7 @@ buildPythonPackage rec {
|
|||||||
starlette
|
starlette
|
||||||
];
|
];
|
||||||
|
|
||||||
# tests fail while importing a private module from httpx
|
doCheck = false; # asgi-lifespan missing
|
||||||
# E ModuleNotFoundError: No module named 'httpx._content_streams'
|
|
||||||
# https://github.com/simonw/asgi-csrf/issues/18
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
pythonImportsCheck = [ "asgi_csrf" ];
|
pythonImportsCheck = [ "asgi_csrf" ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user