python3Packages.numba: disable on python 3.9

RuntimeError: Cannot install on Python version 3.9.2; only versions >=3.6,<3.9 are supported.
This commit is contained in:
Dmitry Kalinkin 2021-03-01 20:50:41 -05:00
parent 921d68d79f
commit e714a4c376
No known key found for this signature in database
GPG key ID: 5157B3EC8B2CA333

View file

@ -1,5 +1,6 @@
{ lib
, stdenv
, pythonAtLeast
, pythonOlder
, fetchPypi
, python
@ -13,8 +14,8 @@
buildPythonPackage rec {
version = "0.52.0";
pname = "numba";
# uses f-strings
disabled = pythonOlder "3.6";
# uses f-strings, python 3.9 is not yet supported
disabled = pythonOlder "3.6" || pythonAtLeast "3.9";
src = fetchPypi {
inherit pname version;