mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-23 03:46:37 +11:00
fix: pygment crashes (#209)
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: https://github.com/DarrenOfficial/dpaste/issues/208 Origin: https://github.com/pygments/pygments/issues/2119 Signed-off-by: Darren <git@darrennathanael.com>
This commit is contained in:
parent
51e9172479
commit
0e89d18bc5
1 changed files with 1 additions and 2 deletions
|
@ -30,8 +30,7 @@ python_requires = >=3.6
|
||||||
install_requires =
|
install_requires =
|
||||||
# Essential packages
|
# Essential packages
|
||||||
django>=3.2
|
django>=3.2
|
||||||
pygments>=2.11
|
pygments<=2.11.2
|
||||||
mysqlclient>=2.1.0
|
|
||||||
django-staticinline>=1.0
|
django-staticinline>=1.0
|
||||||
django-csp>=3.6
|
django-csp>=3.6
|
||||||
dj_database_url>=0.5.0
|
dj_database_url>=0.5.0
|
||||||
|
|
Loading…
Reference in a new issue