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:
parent
921d68d79f
commit
e714a4c376
pkgs/development/python-modules/numba
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue