summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Mayer <entroP@gmail.com>2021-01-15 13:04:07 +0100
committerJustin Mayer <entroP@gmail.com>2021-01-15 13:04:07 +0100
commitce5d0635137009300b65edb15f73081f0ac4231b (patch)
treed42c2eb4603122118b2b40fa0f2d090149188e51
parente01cde7fcb6ff4e3720059cd59a498972630f3d3 (diff)
downloadpelican-ce5d0635137009300b65edb15f73081f0ac4231b.tar.gz
Allow latest Python-Markdown to be installed
Pinning dependencies to specific versions creates conflicts when other packages require more recent versions. We can do our part by allowing for a wider range of dependency versions, specifying only the oldest version that will still work. Meanwhile, we ensure that test environments use a specific pinned dependency in order to match the expected functional test output.
-rw-r--r--pyproject.toml4
-rw-r--r--requirements/test.pip2
2 files changed, 3 insertions, 3 deletions
diff --git a/pyproject.toml b/pyproject.toml
index cef0a16f..63fe09ba 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -39,12 +39,12 @@ pygments = "^2.6"
python-dateutil = "^2.8"
pytz = "^2020.1"
unidecode = "^1.1"
-markdown = {version = "~3.2.2", optional = true}
+markdown = {version = "^3.2", optional = true}
[tool.poetry.dev-dependencies]
BeautifulSoup4 = "^4.9"
lxml = "^4.3"
-markdown = "~3.2.2"
+markdown = "~3.3.3"
typogrify = "^2.0"
sphinx = "^3.0"
sphinx_rtd_theme = "^0.5"
diff --git a/requirements/test.pip b/requirements/test.pip
index 30b52845..74c6bf9a 100644
--- a/requirements/test.pip
+++ b/requirements/test.pip
@@ -5,7 +5,7 @@ pytest-cov
pytest-xdist[psutil]
# Optional Packages
-Markdown >= 3.1
+Markdown==3.3.3
BeautifulSoup4
lxml
typogrify