python310Packages.numba: fix __version__
This commit is contained in:
@@ -83,7 +83,7 @@ in buildPythonPackage rec {
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py --replace "version=versioneer.get_version()" "version='0.57.1'"
|
||||
substituteInPlace numba/_version.py \
|
||||
--replace 'git_refnames = ""' 'git_refnames = "0.57.1"'
|
||||
--replace 'git_refnames = " (HEAD -> main)"' 'git_refnames = "tag: 0.57.1"'
|
||||
'';
|
||||
|
||||
postFixup = lib.optionalString cudaSupport ''
|
||||
|
||||
Reference in New Issue
Block a user