Skip to content

Commit

Permalink
build: update Pelican to 4.8
Browse files Browse the repository at this point in the history
The two requirements constraints (`jinja2` and `markupsafe`) are not
necessary anymore.

The changelog for Pelican 4.8 is available:
https://docs.getpelican.com/en/4.8.0/changelog.html#id1.
  • Loading branch information
Linkid committed Oct 8, 2022
1 parent 065f7cc commit 3f74f1c
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 11 deletions.
3 changes: 0 additions & 3 deletions pelicanconf.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
from datetime import datetime


Expand Down
4 changes: 0 additions & 4 deletions publishconf.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals

# This file is only used if you use `make publish` or
# explicitly specify it as your config file.

Expand Down
4 changes: 1 addition & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
pelican>=4.7,<4.8
pelican>=4.8,<4.9
Markdown
ghp-import
beautifulsoup4
jinja2<3
MarkupSafe<2.1
2 changes: 1 addition & 1 deletion tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def livereload(c):
from livereload import Server

def cached_build():
cmd = '-s {settings_base} -e CACHE_CONTENT=True LOAD_CONTENT_CACHE=True'
cmd = '-s {settings_base} -e CACHE_CONTENT=true LOAD_CONTENT_CACHE=true'
pelican_run(cmd.format(**CONFIG))

cached_build()
Expand Down

0 comments on commit 3f74f1c

Please sign in to comment.