Skip to content

Commit fa051cd

Browse files
committedMar 7, 2018
aiohttp-cors: 0.6.0 -> 0.7.0
Upstream removed support for Python 3.4 [0][1] (and the build fails). [0]: https://github.com/aio-libs/aiohttp-cors/releases/tag/v0.7.0 [1]: https://github.com/aio-libs/aiohttp/releases/tag/v3.0.1
1 parent 25473a6 commit fa051cd

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed
 

‎pkgs/development/python-modules/aiohttp/cors.nix

+9-5
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,24 @@
1-
{lib, stdenv, buildPythonPackage, fetchPypi, pythonOlder, typing, aiohttp }:
1+
{ lib, stdenv, buildPythonPackage, fetchPypi, pythonOlder
2+
, typing, aiohttp
3+
}:
24

35
buildPythonPackage rec {
46
pname = "aiohttp-cors";
5-
version = "0.6.0";
7+
version = "0.7.0";
68

79
src = fetchPypi {
810
inherit pname version;
9-
sha256 = "1r0mb4dw0dc1lpi54dk5vxqs06nyhvagp76lyrvk7rd94z5mjkd4";
11+
sha256 = "0pczn54bqd32v8zhfbjfybiza6xh1szwxy6as577dn8g23bwcfad";
1012
};
1113

12-
# Requires network access
13-
doCheck = false;
14+
disabled = pythonOlder "3.5";
1415

1516
propagatedBuildInputs = [ aiohttp ]
1617
++ lib.optional (pythonOlder "3.5") typing;
1718

19+
# Requires network access
20+
doCheck = false;
21+
1822
meta = with lib; {
1923
description = "CORS support for aiohttp";
2024
homepage = "https://github.com/aio-libs/aiohttp-cors";

‎pkgs/development/python-modules/aiohttp/default.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ buildPythonPackage rec {
2222
sha256 = "7aee5c0750584946fde40da70f0b28fe769f85182f1171acef18a35fd8ecd221";
2323
};
2424

25-
disabled = pythonOlder "3.4";
25+
disabled = pythonOlder "3.5";
2626

2727
checkInputs = [ pytest gunicorn pytest-mock ];
2828

0 commit comments

Comments
 (0)
Please sign in to comment.