From 5571df9df3b1b6a7dbeddd09a7b4fd51db9bf338 Mon Sep 17 00:00:00 2001 From: Brett Gibson Date: Tue, 8 Aug 2023 10:39:56 +0100 Subject: [PATCH] Insist on Cython prior to 3.0 Also put upper bound on Pillow for Qt5. --- enable/__init__.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/enable/__init__.py b/enable/__init__.py index 2a8ad63a5..7164ed42d 100644 --- a/enable/__init__.py +++ b/enable/__init__.py @@ -16,7 +16,7 @@ __version__ = "not-built" __requires__ = [ - "numpy", "pillow", "traits>=6.2.0", "traitsui", "pyface>=7.2.0", "fonttools" + "numpy", "pillow<10", "traits>=6.2.0", "traitsui", "pyface>=7.2.0", "fonttools" ] __extras_require__ = { diff --git a/pyproject.toml b/pyproject.toml index 54d49e451..34c702732 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,3 @@ [build-system] -requires = ["cython", "oldest-supported-numpy", "setuptools", "swig", "wheel"] +requires = ["cython<3", "oldest-supported-numpy", "setuptools", "swig", "wheel"] build-backend = "setuptools.build_meta"