python.pkgs.asyncio: remove
> This version is only relevant for Python 3.3, > which does not include asyncio in its stdlib. We don't ship 3.3 anymore.
This commit is contained in:
parent
3172140c19
commit
a4a61777e8
|
@ -1,5 +1,4 @@
|
||||||
{ lib, buildPythonPackage, fetchPypi, isPy33, pythonOlder,
|
{ lib, buildPythonPackage, fetchPypi, pythonOlder,
|
||||||
asyncio
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -17,7 +16,5 @@ buildPythonPackage rec {
|
||||||
sha256 = "17vrl6jajr81bql7kjgq0zkxy225px97z4g9wmbhbbnvzn1p92c0";
|
sha256 = "17vrl6jajr81bql7kjgq0zkxy225px97z4g9wmbhbbnvzn1p92c0";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = lib.optionals isPy33 [ asyncio ];
|
|
||||||
|
|
||||||
disabled = pythonOlder "3.3";
|
disabled = pythonOlder "3.3";
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{ stdenv, buildPythonPackage, fetchPypi
|
{ stdenv, buildPythonPackage, fetchPypi
|
||||||
, isPy33, isPy27, isPyPy, python, pycares, typing, asyncio, trollius }:
|
, isPy27, isPyPy, python, pycares, typing, trollius }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "aiodns";
|
pname = "aiodns";
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, eventlet
|
, eventlet
|
||||||
, trollius
|
, trollius
|
||||||
, asyncio
|
|
||||||
, mock
|
, mock
|
||||||
, python
|
, python
|
||||||
}:
|
}:
|
||||||
|
@ -17,7 +16,7 @@ buildPythonPackage rec {
|
||||||
sha256 = "cecb51ea220209e33b53cfb95124d90e4fcbee3ff8ba8a179a57120b8624b16a";
|
sha256 = "cecb51ea220209e33b53cfb95124d90e4fcbee3ff8ba8a179a57120b8624b16a";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ eventlet trollius asyncio ];
|
propagatedBuildInputs = [ eventlet trollius ];
|
||||||
buildInputs = [ mock ];
|
buildInputs = [ mock ];
|
||||||
|
|
||||||
# 2 tests error out
|
# 2 tests error out
|
||||||
|
|
|
@ -1,10 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, isPy33
|
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, asyncio
|
|
||||||
, singledispatch
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -18,8 +15,6 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
disabled = pythonOlder "3.3";
|
disabled = pythonOlder "3.3";
|
||||||
|
|
||||||
propagatedBuildInputs = lib.optionals isPy33 [ asyncio singledispatch ];
|
|
||||||
|
|
||||||
# No tests in archive
|
# No tests in archive
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
|
|
@ -1,18 +0,0 @@
|
||||||
{ stdenv, buildPythonPackage, fetchPypi, isPy34 }:
|
|
||||||
|
|
||||||
buildPythonPackage rec {
|
|
||||||
pname = "asyncio";
|
|
||||||
version = "3.4.3";
|
|
||||||
disabled = !isPy34;
|
|
||||||
|
|
||||||
src = fetchPypi {
|
|
||||||
inherit pname version;
|
|
||||||
sha256 = "0hfbqwk9y0bbfgxzg93s2wyk6gcjsdxlr5jwy97hx64ppkw0ydl3";
|
|
||||||
};
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
|
||||||
description = "Reference implementation of PEP 3156";
|
|
||||||
homepage = http://www.python.org/dev/peps/pep-3156;
|
|
||||||
license = licenses.free;
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,5 +1,5 @@
|
||||||
{ lib, buildPythonPackage, fetchPypi, isPy3k, isPy33,
|
{ lib, buildPythonPackage, fetchPypi, isPy3k,
|
||||||
six, txaio, twisted, zope_interface, cffi, asyncio, trollius, futures,
|
six, txaio, twisted, zope_interface, cffi, trollius, futures,
|
||||||
mock, pytest
|
mock, pytest
|
||||||
}:
|
}:
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -12,7 +12,6 @@ buildPythonPackage rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ six txaio twisted zope_interface cffi ] ++
|
propagatedBuildInputs = [ six txaio twisted zope_interface cffi ] ++
|
||||||
(lib.optional isPy33 asyncio) ++
|
|
||||||
(lib.optionals (!isPy3k) [ trollius futures ]);
|
(lib.optionals (!isPy3k) [ trollius futures ]);
|
||||||
|
|
||||||
checkInputs = [ mock pytest ];
|
checkInputs = [ mock pytest ];
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, withVoice ? true, libopus
|
, withVoice ? true, libopus
|
||||||
, asyncio
|
|
||||||
, aiohttp
|
, aiohttp
|
||||||
, websockets
|
, websockets
|
||||||
, pynacl
|
, pynacl
|
||||||
|
@ -18,7 +17,7 @@ buildPythonPackage rec {
|
||||||
sha256 = "17fb8814100fbaf7a79468baa432184db6cef3bbea4ad194fe297c7407d50108";
|
sha256 = "17fb8814100fbaf7a79468baa432184db6cef3bbea4ad194fe297c7407d50108";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ asyncio aiohttp websockets pynacl ];
|
propagatedBuildInputs = [ aiohttp websockets pynacl ];
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
substituteInPlace "requirements.txt" \
|
substituteInPlace "requirements.txt" \
|
||||||
--replace "aiohttp>=1.0.0,<1.1.0" "aiohttp"
|
--replace "aiohttp>=1.0.0,<1.1.0" "aiohttp"
|
||||||
|
|
|
@ -997,8 +997,6 @@ in {
|
||||||
|
|
||||||
astor = callPackage ../development/python-modules/astor {};
|
astor = callPackage ../development/python-modules/astor {};
|
||||||
|
|
||||||
asyncio = callPackage ../development/python-modules/asyncio {};
|
|
||||||
|
|
||||||
asyncssh = callPackage ../development/python-modules/asyncssh { };
|
asyncssh = callPackage ../development/python-modules/asyncssh { };
|
||||||
|
|
||||||
python-fontconfig = callPackage ../development/python-modules/python-fontconfig { };
|
python-fontconfig = callPackage ../development/python-modules/python-fontconfig { };
|
||||||
|
|
Loading…
Reference in New Issue