launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #27821
[Merge] ~jugmac00/lpcraft:fix-compatibility-with-rtd into lpcraft:main
Jürgen Gmach has proposed merging ~jugmac00/lpcraft:fix-compatibility-with-rtd into lpcraft:main.
Commit message:
Fix compatibility issue with Read the Docs
Requested reviews:
Launchpad code reviewers (launchpad-reviewers)
For more details, see:
https://code.launchpad.net/~jugmac00/lpcraft/+git/lpcraft/+merge/412897
rtd builds documentation by default on Python3.7, but craft-providers,
which is a dependency of lpcraft, requires Python 3.8 or higher.
--
Your team Launchpad code reviewers is requested to review the proposed merge of ~jugmac00/lpcraft:fix-compatibility-with-rtd into lpcraft:main.
diff --git a/.readthedocs.yaml b/.readthedocs.yaml
new file mode 100644
index 0000000..5ea9d0f
--- /dev/null
+++ b/.readthedocs.yaml
@@ -0,0 +1,12 @@
+# .readthedocs.yaml
+# Read the Docs configuration file
+# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
+
+# Required
+version: 2
+
+# Set the version of Python and other tools you might need
+build:
+ os: ubuntu-20.04
+ tools:
+ python: "3.9"
diff --git a/tox.ini b/tox.ini
index 7ee20e8..edf274c 100644
--- a/tox.ini
+++ b/tox.ini
@@ -54,7 +54,7 @@ commands =
coverage report -m --fail-under=100
[testenv:docs]
-basepython = python3
+basepython = python3.9
extras = docs
commands =
sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html