From 848203b201a6e0df190f50f4e5ba9ab126099e7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Fri, 21 Jul 2023 19:12:04 +0100 Subject: [PATCH] unpin python 3.7 for cloudflare & fix build --- build_cloudflare.sh | 5 +++-- mkdocs.yml | 1 + poetry.lock | 8 ++++---- pyproject.toml | 4 ++-- runtime.txt | 1 - 5 files changed, 10 insertions(+), 9 deletions(-) delete mode 100644 runtime.txt diff --git a/build_cloudflare.sh b/build_cloudflare.sh index f3ca140ac..771d20f9d 100755 --- a/build_cloudflare.sh +++ b/build_cloudflare.sh @@ -1,5 +1,6 @@ set -xe pip install poetry -poetry install -pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git@9.1.5-insiders-4.32.4 +poetry install --with docs +poetry remove mkdocs-material +poetry add git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git@9.1.18-insiders-4.37.0 mkdocs build --config-file mkdocs.insiders.yml diff --git a/mkdocs.yml b/mkdocs.yml index caef64db6..3f62f0f09 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -76,6 +76,7 @@ plugins: text: "#425C82" rss: match_path: blog/posts/.* + use_git: False date_from_meta: as_creation: date as_update: date diff --git a/poetry.lock b/poetry.lock index 5ba82e89f..7c207a61f 100644 --- a/poetry.lock +++ b/poetry.lock @@ -552,9 +552,9 @@ doc = ["mkdocs-bootswatch (>=1,<2)", "mkdocs-minify-plugin (==0.5.*)", "pygments [package.source] type = "git" -url = "https://github.com/cachix/mkdocs-rss-plugin" -reference = "no-git" -resolved_reference = "017bdb52095703c79e0632f219b5adf9f212873c" +url = "https://github.com/Guts/mkdocs-rss-plugin" +reference = "feature/no-git-no-cry" +resolved_reference = "bac5e8935196011b4fb16c5076113d5e3ff13806" [[package]] name = "packaging" @@ -1042,4 +1042,4 @@ testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "p [metadata] lock-version = "2.0" python-versions = ">=3.9,<3.12" -content-hash = "fafe77fcec2b5b4522202effc0e55be4e05c9033c9049e20a98e674735e82fcf" +content-hash = "9747b6c0d68ebabcf88721e81fa39c89b5529282e1d62761c09003663b966ee1" diff --git a/pyproject.toml b/pyproject.toml index 7ac20c543..9aa42f39d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,8 +25,8 @@ pillow = "^9.5.0" cairosvg = "^2.7.0" mkdocs-markdownextradata-plugin = "^0.2.5" mkdocs-include-markdown-plugin = "^4.0.4" -mkdocs-material = "^9.1.6" -mkdocs-rss-plugin = {git = "https://github.com/cachix/mkdocs-rss-plugin", rev = "no-git"} +mkdocs-rss-plugin = {git = "https://github.com/Guts/mkdocs-rss-plugin", rev = "feature/no-git-no-cry"} +mkdocs-material = "^9.1.19" [tool.poetry.scripts] devenv = "devenv.cli:cli" diff --git a/runtime.txt b/runtime.txt deleted file mode 100644 index 475ba515c..000000000 --- a/runtime.txt +++ /dev/null @@ -1 +0,0 @@ -3.7