From 49c7e06c7d497ea454bc95aed0be15bf6321bf1e Mon Sep 17 00:00:00 2001 From: WANG Xuerui Date: Sat, 2 Nov 2024 17:06:01 +0800 Subject: [PATCH] build: poetry add typing_extensions It was implicitly included in the dev environment but apparently explicit installation is still needed for a fresh packaging venv. The package is licensed under the PSF which is permissive and compatible with Ruyi's Apache-2.0 license, so additionally append PSF to the license allowlist. Fixes: #220 --- poetry.lock | 2 +- pyproject.toml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/poetry.lock b/poetry.lock index 89e5119..93b6ada 100644 --- a/poetry.lock +++ b/poetry.lock @@ -931,4 +931,4 @@ cffi = ["cffi (>=1.11)"] [metadata] lock-version = "2.0" python-versions = ">=3.11" -content-hash = "127125d79d968040e3db516c6217b4d707bcebeaec7cfd3db8dd43b83e19aa4c" +content-hash = "d94be4bb40332a08f68e262052e5a6f74d4548c3dbbc5cfa5bd34de3ee0aed05" diff --git a/pyproject.toml b/pyproject.toml index f46d814..666dfbf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -53,6 +53,7 @@ safe_licenses = [ "GPLv2 with linking exception", "MIT License", "Mozilla Public License 2.0 (MPL 2.0)", # needs mention in license notices + "Python Software Foundation License", ] @@ -74,6 +75,7 @@ types-cffi = "^1.16.0.20240106" types-pygit2 = "^1.14.0.20240317" types-PyYAML = "^6.0.12.20240311" types-requests = "^2.31.0.20240311" +typing-extensions = "^4.12.2" [tool.poetry.group.dev.dependencies] mypy = "^1.9.0"