Skip to content

Commit 84b611d

Browse files
Insist on Cython prior to 3.0 (#1061)
Hopefully this is a quick-fix for #1060 - but a more permanent fix will be needed at some future point. Now includes a work-around for #1062
1 parent 5f5e4c4 commit 84b611d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

enable/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@
4343
# Dependencies for PySide6
4444
"pyside6": ["pyface[pyside6]", "traitsui[pyside6]"],
4545
# Dependencies for PySide2
46-
"pyside2": ["pyface[pyside2]", "traitsui[pyside2]"],
46+
"pyside2": ["pyface[pyside2]", "traitsui[pyside2]", "pillow<10"],
4747
# Dependencies for PyQt6
4848
"pyqt6": ["pyface[pyqt6]", "traitsui[pyqt6]"],
4949
# Dependencies for PyQt5
50-
"pyqt5": ["pyface[pyqt5]", "traitsui[pyqt5]"],
50+
"pyqt5": ["pyface[pyqt5]", "traitsui[pyqt5]", "pillow<10"],
5151
# Dependencies for WxPython
5252
"wx": ["pyface[wx]", "traitsui[wx]"],
5353
# Dependencies for null backend (nothing right now)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["cython", "oldest-supported-numpy", "setuptools", "swig", "wheel"]
2+
requires = ["cython<3", "oldest-supported-numpy", "setuptools", "swig", "wheel"]
33
build-backend = "setuptools.build_meta"
44

55
[tool.cibuildwheel]

0 commit comments

Comments
 (0)