pythonPackages.APScheduler: drop Py2K support (#116967)
This commit is contained in:
parent
d9537b941c
commit
35e8b7c68f
|
@ -11,20 +11,19 @@
|
||||||
, tornado
|
, tornado
|
||||||
, twisted
|
, twisted
|
||||||
, mock
|
, mock
|
||||||
, trollius
|
|
||||||
, gevent
|
, gevent
|
||||||
, six
|
, six
|
||||||
, pytz
|
, pytz
|
||||||
, tzlocal
|
, tzlocal
|
||||||
, funcsigs
|
, funcsigs
|
||||||
, futures
|
|
||||||
, setuptools
|
, setuptools
|
||||||
, isPy3k
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "APScheduler";
|
pname = "APScheduler";
|
||||||
version = "3.7.0";
|
version = "3.7.0";
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
|
@ -45,7 +44,7 @@ buildPythonPackage rec {
|
||||||
twisted
|
twisted
|
||||||
mock
|
mock
|
||||||
gevent
|
gevent
|
||||||
] ++ lib.optionals (!isPy3k) [ trollius ];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
six
|
six
|
||||||
|
@ -53,7 +52,7 @@ buildPythonPackage rec {
|
||||||
tzlocal
|
tzlocal
|
||||||
funcsigs
|
funcsigs
|
||||||
setuptools
|
setuptools
|
||||||
] ++ lib.optional (!isPy3k) futures;
|
];
|
||||||
|
|
||||||
disabledTests = lib.optionals stdenv.isDarwin [
|
disabledTests = lib.optionals stdenv.isDarwin [
|
||||||
"test_submit_job"
|
"test_submit_job"
|
||||||
|
|
Loading…
Reference in a new issue