From eb9ccc7894cd92c9f9fca7f384a40e4ea7358f4b Mon Sep 17 00:00:00 2001 From: Frost Ming Date: Wed, 23 Aug 2023 21:16:50 +0800 Subject: [PATCH] fix: Switch to Truststore by default Fixes #2195 Signed-off-by: Frost Ming --- news/2195.feature.md | 1 + pdm.lock | 2 +- pyproject.toml | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 news/2195.feature.md diff --git a/news/2195.feature.md b/news/2195.feature.md new file mode 100644 index 0000000000..2219c2917c --- /dev/null +++ b/news/2195.feature.md @@ -0,0 +1 @@ +Switch to truststore by default. diff --git a/pdm.lock b/pdm.lock index e3e169dfc6..6a7577b3f4 100644 --- a/pdm.lock +++ b/pdm.lock @@ -6,7 +6,7 @@ groups = ["default", "all", "doc", "pytest", "test", "tox", "workflow"] cross_platform = true static_urls = false lock_version = "4.3" -content_hash = "sha256:ad6e1f6a51451097dfee550fb24daf4a09f43adc3bb8facc5e6512021d604526" +content_hash = "sha256:2cc7c5f987c1b11a6636f57e0d6c28f86f97c04f45c95f2756eda43dd0873ccb" [[package]] name = "arpeggio" diff --git a/pyproject.toml b/pyproject.toml index 9284c29692..84d4cfbe27 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,6 +26,7 @@ dependencies = [ "resolvelib>=1.0.1", "installer<0.8,>=0.7", "cachecontrol[filecache]>=0.13.0", + "truststore; python_version >= \"3.10\"", "tomli>=1.1.0; python_version < \"3.11\"", "importlib-resources>=5; python_version < \"3.9\"", "importlib-metadata>=3.6; python_version < \"3.10\"", @@ -59,9 +60,8 @@ keyring = ["keyring"] template = [ "pdm[copier,cookiecutter]", ] -truststore = ["truststore; python_version >= \"3.10\""] all = [ - "pdm[keyring,template,truststore]", + "pdm[keyring,template]", ] [project.scripts]