aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Sturmfels <ben@sturm.com.au>2021-09-23 13:50:09 +1000
committerBen Sturmfels <ben@sturm.com.au>2021-09-23 14:17:34 +1000
commite8efeaa8f5eccafdae6c4a506b6dba04017a153a (patch)
tree1e1a1476bd0120bd40a1f39c094f4015463b1aeb
parent78bd329ac288fb859a1a7ea6b7bf3d41c17e0531 (diff)
downloadmediagoblin-e8efeaa8f5eccafdae6c4a506b6dba04017a153a.tar.lz
mediagoblin-e8efeaa8f5eccafdae6c4a506b6dba04017a153a.tar.xz
mediagoblin-e8efeaa8f5eccafdae6c4a506b6dba04017a153a.zip
Upgrade jinja2 to fix issue installing old markupsafe on Ubuntu 18.04.
This also aligns with our requirement of Python 3.6 or greater due to recent jinja2 versions requiring f-strings.
-rw-r--r--docs/source/siteadmin/relnotes.rst7
-rw-r--r--setup.cfg3
2 files changed, 9 insertions, 1 deletions
diff --git a/docs/source/siteadmin/relnotes.rst b/docs/source/siteadmin/relnotes.rst
index 3b538f25..ff7f9699 100644
--- a/docs/source/siteadmin/relnotes.rst
+++ b/docs/source/siteadmin/relnotes.rst
@@ -22,6 +22,13 @@ This chapter has important information about our current and previous releases.
0.13.0 (Work in progress)
=========================
+**Breaking changes:**
+
+- MediaGoblin now supports a minimum of Python 3.6 due to use of f-strings
+ internally and updated versions of required Python packages (Ben Sturmfels)
+
+**Changes:**
+
- Extend left/right arrow key navigation to paginated views [trac#5627] (Olivier Mehani)
- Fix incorrect setuptools install location for db/migrations/env.py (Elisei Roca)
- Set videos to preload="metadata" to prevent upfront download [trac#5625] (Michael McMahon)
diff --git a/setup.cfg b/setup.cfg
index 5bb7083b..5f9f0408 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -36,6 +36,7 @@ classifiers=[
[options]
packages = find:
+# We now use f-strings internally and allow Python requirements do too.
python_requires = >=3.6
zip_safe = False
include_package_data = True
@@ -50,7 +51,7 @@ install_requires =
ExifRead>=2.0.0
feedgenerator
itsdangerous
- jinja2<3.0.0 # 3.0.0 uses f-strings (Python >= 3.7) breaking Debian 9.
+ jinja2
jsonschema
Markdown
oauthlib