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
1 changed files with 3 additions and 2 deletions
pkgs/development/python-modules/numba

View File

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