From 8b4d7475ea9ee7f998f482ce6fc1f5267e12a73d Mon Sep 17 00:00:00 2001 From: Chris Rose Date: Wed, 31 Dec 2025 08:45:17 -0800 Subject: [PATCH] dev: Switch from PDM to standard dev-dependencies PDM supports this specification (per https://pdm-project.org/latest/usage/dependency/#add-development-only-dependencies) and this lets other frontends (uv, baby!) make use of the same dependencies. --- pyproject.toml | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 09fcbdb6..f6cb125b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -59,24 +59,7 @@ pelican-plugins = "pelican.plugins._utils:list_plugins" pelican-quickstart = "pelican.tools.pelican_quickstart:main" pelican-themes = "pelican.tools.pelican_themes:main" -[tool.autopub] -project-name = "Pelican" -git-username = "botpub" -git-email = "52496925+botpub@users.noreply.github.com" -changelog-file = "docs/changelog.rst" -changelog-header = "###############" -version-header = "=" - -[tool.pdm] -ignore_package_warnings = ["sphinx"] - -[tool.pdm.scripts] -docbuild = "invoke docbuild" -docserve = "invoke docserve" -lint = "invoke lint" -test = "invoke tests" - -[tool.pdm.dev-dependencies] +[dependency-groups] dev = [ "BeautifulSoup4>=4.13.3", "jinja2>=3.1.2", @@ -100,6 +83,23 @@ dev = [ "tomli>=2.0.1; python_version < \"3.11\"", ] +[tool.autopub] +project-name = "Pelican" +git-username = "botpub" +git-email = "52496925+botpub@users.noreply.github.com" +changelog-file = "docs/changelog.rst" +changelog-header = "###############" +version-header = "=" + +[tool.pdm] +ignore_package_warnings = ["sphinx"] + +[tool.pdm.scripts] +docbuild = "invoke docbuild" +docserve = "invoke docserve" +lint = "invoke lint" +test = "invoke tests" + [tool.pdm.build] source-includes = [ "CONTRIBUTING.rst",