Repository: EMMC-ASBL/tripper (language: python)

Issue:
Publish workflow fails because it uses python 3.7
The `publish-package-and-docs` job fails because it tries to use python 3.7 with the newly updated version requirement for `mkdocs-material`, implemented in PR #186.


Discussion / hints:

Fix patch:
diff --git a/.github/workflows/cd_release.yml b/.github/workflows/cd_release.yml
index 8357f404..f6a6614b 100644
--- a/.github/workflows/cd_release.yml
+++ b/.github/workflows/cd_release.yml
@@ -20,13 +20,13 @@ jobs:
       # Build package
       python_package: true
       package_dirs: tripper
-      python_version_build: "3.7"
+      python_version_build: "3.9"
       build_cmd: "pip install -U flit && flit build"
       publish_on_pypi: true
 
       # Build & publish documentation
       update_docs: true
-      python_version_docs: "3.7"
+      python_version_docs: "3.9"
       doc_extras: "[docs]"
       changelog_exclude_labels: "skip_changelog,duplicate,question,invalid,wontfix"
     secrets:


Test patch:
diff --git a/.github/workflows/ci_tests.yml b/.github/workflows/ci_tests.yml
index 073cb661..6111711e 100644
--- a/.github/workflows/ci_tests.yml
+++ b/.github/workflows/ci_tests.yml
@@ -17,7 +17,7 @@ jobs:
 
       # pre-commit
       run_pre-commit: true
-      python_version_pre-commit: "3.8"
+      python_version_pre-commit: "3.9"
       skip_pre-commit_hooks: pylint,pylint-tests
 
       # pylint & safety
@@ -40,7 +40,7 @@ jobs:
 
       # Build package
       run_build_package: true
-      python_version_package: "3.7"
+      python_version_package: "3.9"
       build_libs: flit
       build_cmd: flit build
 
@@ -85,8 +85,7 @@ jobs:
         token: ${{ secrets.CODECOV_TOKEN }}
 
     - name: Run doctest on tutorial
-      run: |
-        python -m doctest docs/tutorial.md
+      run: python -m doctest docs/tutorial.md
 
   pytest-no-extra-dependencies: # Test for basic version, without extras installed
     runs-on: ubuntu-latest