Skip to content

Commit f4e43c1

Browse files
authored
Restrict Cython version (#131)
Cython version 3.1 introduces a bug. To reproduce: ``` from pyroaring import BitMap bm = BitMap(range(1000)) repr(bm) ```
1 parent 11683c0 commit f4e43c1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
version=VERSION,
8989
description='Library for handling efficiently sorted integer sets.',
9090
long_description=long_description,
91-
setup_requires=['cython>=3.0.2'],
91+
setup_requires=['cython>=3.0.2,<3.1.0'],
9292
url='https://github.com/Ezibenroc/PyRoaringBitMap',
9393
author='Tom Cornebize',
9494
author_email='[email protected]',

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ setenv =
1313
deps =
1414
hypothesis
1515
pytest
16-
cython>=3.0.2
16+
cython>=3.0.2,<3.1.0
1717
passenv =
1818
HYPOTHESIS_PROFILE
1919
ROARING_BITSIZE

0 commit comments

Comments
 (0)