From 4a6ae8895fd6a776d253839b5512bdcb4e1524e3 Mon Sep 17 00:00:00 2001 From: Ben Gyori Date: Thu, 11 Apr 2024 18:04:38 -0400 Subject: [PATCH 1/2] Remove markupsafe restriction --- setup.py | 1 - 1 file changed, 1 deletion(-) diff --git a/setup.py b/setup.py index 413ad92810..db2c07ef56 100755 --- a/setup.py +++ b/setup.py @@ -12,7 +12,6 @@ def main(): install_list = ['pysb>=1.3.0', 'objectpath', 'requests>=2.11', 'lxml', 'ipython', 'future', 'networkx>=2,<3', 'pandas<2', 'ndex2==2.0.1', 'jinja2', - 'markupsafe<2.1.0', 'protmapper>=0.0.29', 'obonet', 'tqdm', 'pybiopax>=0.0.5'] From adcd286378b9cf003420ac62c56c6f08b90a3c0d Mon Sep 17 00:00:00 2001 From: Ben Gyori Date: Thu, 11 Apr 2024 18:16:01 -0400 Subject: [PATCH 2/2] Use markupsafe constraint in extras --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index db2c07ef56..326966cc53 100755 --- a/setup.py +++ b/setup.py @@ -36,7 +36,8 @@ def main(): 'plot': ['matplotlib'], 'isi': ['nltk<3.6', 'unidecode'], 'api': ['flask<2.0', 'flask_restx<0.4', 'flask_cors', - 'docstring-parser', 'gunicorn'], + 'docstring-parser', 'gunicorn', + 'markupsafe<2.1.0'], 'sklearn_belief': ['scikit-learn'], 'owl': ['pronto'], 'tests': ['pytest', 'pytest-cov'],