#4056 Allow Markdown v3 for Pagure
Closed 5 years ago by ngompa. Opened 5 years ago by ngompa.
ngompa/pagure markdownv3  into  master

file modified
+1 -1
@@ -14,7 +14,7 @@ 

  flask

  flask-wtf

  kitchen

- markdown < 3.0

+ markdown

  munch

  Pillow

  psutil

Markdown v3 is the new major version, and we should support it.

Note that this probably doesn't work out of the box yet... I'm going to use the test run to identify what to fix. :)

What the heck, why does every single test fail?

rebased onto 00d27f5

5 years ago

Because everything fails at the import/initiation level:

  File "/root/pagure/tests/../pagure/pfmarkdown.py", line 328, in <module>
    class ImagePatternLazyLoad(markdown.inlinepatterns.ImagePattern):
AttributeError: 'module' object has no attribute 'ImagePattern'

I was sort of hoping those errors would be in the test runs... :(

Pull-Request has been closed by ngompa

5 years ago

I haven't been able to work on this... Sorry, @pingou. :frowning: