python311Packages.gmpy: disable
This commit is contained in:
parent
93a8a8760b
commit
985286d4a7
|
@ -1,4 +1,4 @@
|
|||
{ buildPythonPackage, fetchurl, isPyPy, gmp } :
|
||||
{ buildPythonPackage, fetchurl, isPyPy, gmp, pythonAtLeast } :
|
||||
|
||||
let
|
||||
pname = "gmpy";
|
||||
|
@ -8,7 +8,10 @@ in
|
|||
buildPythonPackage {
|
||||
inherit pname version;
|
||||
|
||||
disabled = isPyPy;
|
||||
# Python 3.11 has finally made changes to its C API for which gmpy 1.17,
|
||||
# published in 2013, would require patching. It seems unlikely that any
|
||||
# patches will be forthcoming.
|
||||
disabled = isPyPy || pythonAtLeast "3.11";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/g/gmpy/${pname}-${version}.zip";
|
||||
|
|
Loading…
Reference in a new issue