From 6b37a5041ff4a12b44886627a6daa55c7c1ec015 Mon Sep 17 00:00:00 2001 From: sspencer Date: Thu, 7 Jul 2022 15:57:24 -0500 Subject: [PATCH] lsyncd_mkdocs requirements.txt requires newer Python * When installing mkdocs in a Rocky Linux container (8.x), the `requirements.txt` will not fully install dependencies without installing a newer version of Python. Default is Python36, needed at minimum Python38. * procedure adds admonition to deal with the change --- docs/guides/contribute/mkdocs_lsyncd.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/docs/guides/contribute/mkdocs_lsyncd.md b/docs/guides/contribute/mkdocs_lsyncd.md index 412e6d652a..6cd76feb5f 100644 --- a/docs/guides/contribute/mkdocs_lsyncd.md +++ b/docs/guides/contribute/mkdocs_lsyncd.md @@ -2,7 +2,10 @@ title: Local Documentation - LXD author: Steven Spencer contributors: Ezequiel Bruni -update: 27-Feb-2022 +tested with: 8.5, 8.6 +tags: + - contribute + - local envirmonent lxd --- # Introduction @@ -58,6 +61,17 @@ First, get into the container with: lxc exec mkdocs bash ``` +!!! important "Changes in requirements.txt for 8.x" + + The current `requirements.txt` will require a newer version of Python than what is installed by default in Rocky Linux 8.5 or 8.6. To be able to install all the other dependencies, do the following: + + ``` + sudo dnf module enable python38 + sudo dnf install python38 + ``` + + You can then skip installing `python3-pip` in the packages found below. + We will need a few packages to accomplish what we need to do: ```