pyroaring: Override Cython version for tests/build

- `pyroaring` upstream have a constraint against `cython` v3.1.x, which
  means we need to stick to `cython` v3.0.12.
   - This is due to a few tests failing with newer `cython` versions.

- It affects `buildstream` and `python3Packages.buildstream-plugins` in
  Nixpkgs, which is why I have implemented this quick workaround to
  make `pyroaring` use a older version of `cython`.
This commit is contained in:
Dom Rodriguez
2025-08-25 22:47:54 +01:00
parent 2eaa301807
commit 76f6cf67ee
@@ -21,7 +21,16 @@ buildPythonPackage rec {
};
build-system = [
cython
(cython.overrideAttrs (rec {
name = "cython";
version = "3.0.12";
src = fetchFromGitHub {
owner = "cython";
repo = "cython";
tag = version;
hash = "sha256-clJXjQb6rVECirKRUGX0vD5a6LILzPwNo7+6KKYs2pI=";
};
}))
setuptools
];