Merge pull request #114572 from veprbl/pr/numba_0_52_0

This commit is contained in:
Sandro 2021-03-05 19:13:56 +01:00 committed by GitHub
commit b1ffbf3877
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 6 deletions

View File

@ -12,13 +12,13 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "llvmlite"; pname = "llvmlite";
version = "0.34.0"; version = "0.35.0";
disabled = isPyPy || !isPy3k; disabled = isPyPy || !isPy3k;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "f03ee0d19bca8f2fe922bb424a909d05c28411983b0c2bc58b020032a0d11f63"; sha256 = "80e51d5aa02ad72da9870e89d21f9b152b0220ca551b4596a6c0614bcde336fc";
}; };
nativeBuildInputs = [ llvm ]; nativeBuildInputs = [ llvm ];

View File

@ -1,5 +1,6 @@
{ lib { lib
, stdenv , stdenv
, pythonAtLeast
, pythonOlder , pythonOlder
, fetchPypi , fetchPypi
, python , python
@ -11,14 +12,14 @@
}: }:
buildPythonPackage rec { buildPythonPackage rec {
version = "0.51.2"; 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;
sha256 = "16bd59572114adbf5f600ea383880d7b2071ae45477e84a24994e089ea390768"; sha256 = "44661c5bd85e3d3619be0a40eedee34e397e9ccb3d4c458b70e10bf95d1ce933";
}; };
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-I${libcxx}/include/c++/v1"; NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-I${libcxx}/include/c++/v1";