From c8de08e177f78290d3baaca2716d1ec64c9059b6 Mon Sep 17 00:00:00 2001 From: Oleh Prypin Date: Sat, 8 May 2021 21:05:10 +0200 Subject: [PATCH 1/4] chore: Also accept a higher version of mkdocs-autorefs PR #282: https://github.com/mkdocstrings/mkdocstrings/pull/282 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index cf5c7286..b33de5d9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,7 +24,7 @@ Jinja2 = "^2.11" Markdown = "^3.3" MarkupSafe = "^1.1" mkdocs = "^1.1" -mkdocs-autorefs = "^0.1" +mkdocs-autorefs = ">=0.1, <0.3" pymdown-extensions = ">=6.3, <9.0" pytkdocs = ">=0.2.0, <0.12.0" From bb4f9de08a77bef85e550d70deb0db13e6aa0c96 Mon Sep 17 00:00:00 2001 From: Oleh Prypin Date: Sun, 9 May 2021 18:45:10 +0200 Subject: [PATCH 2/4] build: Support the upcoming major Jinja and MarkupSafe releases They mainly just drop Python 2. * https://jinja.palletsprojects.com/en/master/changes/#version-3-0-0 * https://markupsafe.palletsprojects.com/en/master/changes/#version-2-0-0 PR #283: https://github.com/mkdocstrings/mkdocstrings/pull/283 --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index b33de5d9..bd9f9430 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,9 +20,9 @@ include = [ [tool.poetry.dependencies] python = "^3.6" -Jinja2 = "^2.11" +Jinja2 = ">=2.11.1, <4.0" Markdown = "^3.3" -MarkupSafe = "^1.1" +MarkupSafe = ">=1.1, <3.0" mkdocs = "^1.1" mkdocs-autorefs = ">=0.1, <0.3" pymdown-extensions = ">=6.3, <9.0" From fac2c711351f7b62bf5308f19cfc612a3944588a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Mazzucotelli?= Date: Sun, 16 May 2021 17:41:38 +0200 Subject: [PATCH 3/4] fix: Prevent error during parallel installations Poetry and PDM install packages in parallel. By including README.md and pyproject.toml in the project's metadata, they are included in the final wheel, above the actual source files. Upon installation, these two files are written directly in site-packages. If one or more other packages do the same thing, it sometimes results in OS errors due to parallel accesses to the same files. --- pyproject.toml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index bd9f9430..b80d526c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,10 +13,6 @@ repository = "https://github.com/mkdocstrings/mkdocstrings" homepage = "https://github.com/mkdocstrings/mkdocstrings" keywords = ["mkdocs", "mkdocs-plugin", "docstrings", "autodoc", "documentation"] packages = [ { include = "mkdocstrings", from = "src" } ] -include = [ - "README.md", - "pyproject.toml" -] [tool.poetry.dependencies] python = "^3.6" From 07fb48436ffb7a78824ac1ac26831a23cad02017 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Mazzucotelli?= Date: Sun, 16 May 2021 17:56:29 +0200 Subject: [PATCH 4/4] chore: Prepare release 0.15.1 --- CHANGELOG.md | 12 ++++++++++++ pyproject.toml | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b60b3fcc..635b5080 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,18 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [0.15.1](https://github.com/mkdocstrings/mkdocstrings/releases/tag/0.15.1) - 2021-05-16 + +[Compare with 0.15.0](https://github.com/mkdocstrings/mkdocstrings/compare/0.15.0...0.15.1) + +### Bug Fixes +- Prevent error during parallel installations ([fac2c71](https://github.com/mkdocstrings/mkdocstrings/commit/fac2c711351f7b62bf5308f19cfc612a3944588a) by Timothée Mazzucotelli). + +### Packaging +- Support the upcoming major Jinja and MarkupSafe releases ([bb4f9de](https://github.com/mkdocstrings/mkdocstrings/commit/bb4f9de08a77bef85e550d70deb0db13e6aa0c96) by Oleh Prypin). [PR #283](https://github.com/mkdocstrings/mkdocstrings/pull/283) +- Accept a higher version of mkdocs-autorefs ([c8de08e](https://github.com/mkdocstrings/mkdocstrings/commit/c8de08e177f78290d3baaca2716d1ec64c9059b6) by Oleh Prypin). [PR #282](https://github.com/mkdocstrings/mkdocstrings/pull/282) + + ## [0.15.0](https://github.com/mkdocstrings/mkdocstrings/releases/tag/0.15.0) - 2021-02-28 [Compare with 0.14.0](https://github.com/mkdocstrings/mkdocstrings/compare/0.14.0...0.15.0) diff --git a/pyproject.toml b/pyproject.toml index b80d526c..faa18416 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "mkdocstrings" -version = "0.15.0" +version = "0.15.1" description = "Automatic documentation from sources, for MkDocs." authors = ["Timothée Mazzucotelli "] license = "ISC License"