Skip to content
Snippets Groups Projects
Commit 3735c583 authored by Alexandre Detiste's avatar Alexandre Detiste
Browse files

switch back from 'mistune0' to 'mistune', release

parent 308f8f06
No related branches found
No related tags found
No related merge requests found
Pipeline #684948 passed
python-flasgger (0.9.7.2~dev2+dfsg-3) unstable; urgency=medium
* Team upload.
* Revert to regular "mistune" now that just works,
"mistune0" is not needed anymore.
-- Alexandre Detiste <tchet@debian.org> Sun, 02 Jun 2024 00:27:19 +0200
python-flasgger (0.9.7.2~dev2+dfsg-2) unstable; urgency=medium
* Team upload.
......
......@@ -9,7 +9,7 @@ Build-Depends:
python3-all,
python3-flask,
python3-jsonschema,
python3-mistune0,
python3-mistune,
python3-pytest,
python3-setuptools,
python3-yaml,
......
Description: python3-mistune is a dependency for this package. It reached 2.0.0 release and is no longer backward compatible with 0.8.4. We need to switch -hopefully temporarily- to mistune0 that contains mistune 0.8.4 release.
Author: Marcos Fouces <marcos@debian.org>
Bug-Debian: https://bugs.debian.org/1003568
Forwarded: not-needed
--- a/flasgger.egg-info/requires.txt
+++ b/flasgger.egg-info/requires.txt
@@ -1,7 +1,7 @@
Flask>=0.10
PyYAML>=3.0
jsonschema>=3.0.1
-mistune
+mistune0
six>=1.10.0
packaging
certifi
--- a/flasgger/base.py
+++ b/flasgger/base.py
@@ -37,7 +37,7 @@
from markupsafe import Markup
except ImportError:
from flask import Markup
-from mistune import markdown
+from mistune0 import markdown
from .constants import OPTIONAL_FIELDS, OPTIONAL_OAS3_FIELDS
from .utils import LazyString
from .utils import extract_definitions
--- a/setup.py
+++ b/setup.py
@@ -136,7 +136,7 @@
'Flask>=0.10',
'PyYAML>=3.0',
'jsonschema>=3.0.1',
- 'mistune',
+ 'mistune0',
'six>=1.10.0',
'packaging',
'certifi', # For downloading external dependencies such as swagger-ui
......@@ -119,7 +119,7 @@ depend on six too.
@@ -137,7 +137,6 @@
'PyYAML>=3.0',
'jsonschema>=3.0.1',
'mistune0',
'mistune',
- 'six>=1.10.0',
'packaging',
'certifi', # For downloading external dependencies such as swagger-ui
......@@ -129,7 +129,7 @@ depend on six too.
@@ -2,6 +2,5 @@
PyYAML>=3.0
jsonschema>=3.0.1
mistune0
mistune
-six>=1.10.0
packaging
certifi
02-switch-from-mistune-to-mistune0.patch
01-dont-use-google-fonts.patch
03-remove-usage-of-python3-six.patch
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment