From bce078eb1b999b85ce6002c121ac4ac602d6bc1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@ericsson.com> Date: Tue, 9 Apr 2024 09:06:29 +0200 Subject: [PATCH] downgraded MarkupSafe --- docs/index.rst | 3 ++- requirements.txt | 1 + setup.cfg | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/index.rst b/docs/index.rst index f014513..3211a31 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -83,10 +83,11 @@ Otherwise :code:`PyInit` won't be generated by Cython and such module will be unimportable in Python. Normal import won't suffice. Please install Snakehouse in a separate venv. This is because it requires an ancient version of -the templating library Mako_, because newer versions requires Python 3.8, and I wanted +the templating library Mako_ and MarkupSafe_, because newer versions requires Python 3.8, and I wanted Snakehouse to support older Pythons as well. .. _Mako: https://pypi.org/project/Mako/1.1.0/ +.. _MarkupSafe: https://pypi.org/project/MarkupSafe/1.1.1/ Contributions ============= diff --git a/requirements.txt b/requirements.txt index 6a00477..f920453 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ Cython mako==1.1.0 satella +MarkupSafe==1.1.1 \ No newline at end of file diff --git a/setup.cfg b/setup.cfg index 6cd1634..972017f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -35,6 +35,7 @@ install_requires = Cython mako == 1.1.0 satella + MarkupSafe == 1.1.1 python_requires = !=2.7.*,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.* packages = find: -- GitLab