Skip to content

Commit

Permalink
fix: pygment crashes (#209)
Browse files Browse the repository at this point in the history
Dpaste crashes when something else than plain text is stored.
https://user-images.githubusercontent.com/428000/171509933-116ea4d2-105e-4d75-b731-0d2fad1c8fd7.png

!! This is a temporary fix for the problem described above.

This fixes it by downgrading the pygment version.

Note: I also remove mysqlclient as was an accidental commit.
---

Fixes: #208
Origin: pygments/pygments#2119

Signed-off-by: Darren <[email protected]>
  • Loading branch information
DarrenOfficial authored Jun 2, 2022
1 parent 51e9172 commit 0e89d18
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ python_requires = >=3.6
install_requires =
# Essential packages
django>=3.2
pygments>=2.11
mysqlclient>=2.1.0
pygments<=2.11.2
django-staticinline>=1.0
django-csp>=3.6
dj_database_url>=0.5.0
Expand Down

0 comments on commit 0e89d18

Please sign in to comment.