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] 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"