mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-22 12:04:40 +00:00
python3Packages.starlette: 0.16.0 -> 0.17.1
This commit is contained in:
parent
1b50adacbf
commit
f63772386b
@ -5,7 +5,6 @@
|
|||||||
, aiofiles
|
, aiofiles
|
||||||
, anyio
|
, anyio
|
||||||
, contextlib2
|
, contextlib2
|
||||||
, graphene
|
|
||||||
, itsdangerous
|
, itsdangerous
|
||||||
, jinja2
|
, jinja2
|
||||||
, python-multipart
|
, python-multipart
|
||||||
@ -23,14 +22,16 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "starlette";
|
pname = "starlette";
|
||||||
version = "0.16.0";
|
version = "0.17.1";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "encode";
|
owner = "encode";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-/NYhRRZdi6I7CtLCohAqK4prsSUayOxa6sBKIJhPv+w=";
|
sha256 = "sha256-qT/w7r8PsrauLoBolwCGpxiwhDZo3z6hIqKVXeY5yqA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
@ -41,7 +42,6 @@ buildPythonPackage rec {
|
|||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
aiofiles
|
aiofiles
|
||||||
anyio
|
anyio
|
||||||
graphene
|
|
||||||
itsdangerous
|
itsdangerous
|
||||||
jinja2
|
jinja2
|
||||||
python-multipart
|
python-multipart
|
||||||
@ -64,19 +64,15 @@ buildPythonPackage rec {
|
|||||||
typing-extensions
|
typing-extensions
|
||||||
];
|
];
|
||||||
|
|
||||||
disabledTestPaths = [
|
|
||||||
# fails to import graphql, but integrated graphql support is about to
|
|
||||||
# be removed in 0.15, see https://github.com/encode/starlette/pull/1135.
|
|
||||||
"tests/test_graphql.py"
|
|
||||||
];
|
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
# asserts fail due to inclusion of br in Accept-Encoding
|
# asserts fail due to inclusion of br in Accept-Encoding
|
||||||
"test_websocket_headers"
|
"test_websocket_headers"
|
||||||
"test_request_headers"
|
"test_request_headers"
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "starlette" ];
|
pythonImportsCheck = [
|
||||||
|
"starlette"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://www.starlette.io/";
|
homepage = "https://www.starlette.io/";
|
||||||
|
Loading…
Reference in New Issue
Block a user