From 388efe4b7915332fca502052e6e32d53265ea6ce Mon Sep 17 00:00:00 2001 From: Anders Eklund <96499163+ajeklund@users.noreply.github.com> Date: Fri, 1 Mar 2024 15:30:08 +0100 Subject: [PATCH] Bump mkdocs-material version for security (#186) * Require mkdocs-material version >=9.5.5 for avoiding security vulnerability 64496. * Bump python version from 3.7 to 3.9 for "pylint & safety" and "build docs" tests. --- .github/workflows/ci_tests.yml | 4 ++-- pyproject.toml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci_tests.yml b/.github/workflows/ci_tests.yml index b54bfcab..073cb661 100644 --- a/.github/workflows/ci_tests.yml +++ b/.github/workflows/ci_tests.yml @@ -21,7 +21,7 @@ jobs: skip_pre-commit_hooks: pylint,pylint-tests # pylint & safety - python_version_pylint_safety: "3.7" + python_version_pylint_safety: "3.9" run_pylint: true pylint_runs: | --rcfile=pyproject.toml tripper @@ -46,7 +46,7 @@ jobs: # Build documentation run_build_docs: true - python_version_docs: "3.7" + python_version_docs: "3.9" update_python_api_ref: true update_docs_landing_page: true package_dirs: tripper diff --git a/pyproject.toml b/pyproject.toml index 71eb495b..68d314c6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,7 +37,7 @@ docs = [ "mike ~=2.0", "mkdocs ~=1.5", "mkdocs-awesome-pages-plugin ~=2.9", - "mkdocs-material ~=9.2", + "mkdocs-material >=9.5.5", "mkdocstrings[python-legacy] ~=0.22.0", "EMMOntoPy ~=0.7", "rdflib ~=6.3", @@ -66,7 +66,7 @@ dev = [ "mike ~=2.0", "mkdocs ~=1.5", "mkdocs-awesome-pages-plugin ~=2.9", - "mkdocs-material ~=9.2", + "mkdocs-material >=9.5.5", "mkdocstrings[python-legacy] ~=0.22.0", "pre-commit ~=2.21", "pylint ~=2.13",