From 365c6c7e1f2b62eed8d21db5634b372ff117ace2 Mon Sep 17 00:00:00 2001 From: Philip Bauer Date: Tue, 12 Nov 2024 15:41:52 +0100 Subject: [PATCH] handle py3-only release of ijson --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 7c781dcf..1c4cdcb9 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,6 @@ install_requires = [ "hurry.filesize", - "ijson", "setuptools", "six", ] @@ -26,6 +25,7 @@ install_requires.append("attrs < 22") install_requires.append("backports.functools-lru-cache < 2") install_requires.append("beautifulsoup4 < 4.10") + install_requires.append("ijson < 3.3.0") # plone.restapi depends on plone.schema, which depends on jsonschema, # which has a Py3-only release since September 2021. install_requires.append("jsonschema < 4") @@ -39,6 +39,7 @@ install_requires.append("pyrsistent < 0.16.0") else: install_requires.append("beautifulsoup4") + install_requires.append("ijson") install_requires.append("plone.api >= 1.8.4") install_requires.append("plone.restapi")