Unverified Commit 5caf5f2d authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #232742 from rhendric/rhendric/python311Packages.gmpy

python311Packages.gmpy: disable
parents 789b0875 985286d4
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
{ 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";