From 43df0eb1280c63d8af205ffed4cc03d2d9d80170 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Mon, 13 Mar 2023 10:34:54 -0400 Subject: [PATCH] chore: update name of PDM backend Signed-off-by: Henry Schreiner --- noxfile.py | 4 ---- {{cookiecutter.project_name}}/pyproject.toml | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/noxfile.py b/noxfile.py index c4915d84..d57740e0 100644 --- a/noxfile.py +++ b/noxfile.py @@ -104,10 +104,6 @@ def native(session, backend): else: session.run(backend, "install") - # Temporary skip for https://github.com/pdm-project/pdm/issues/1411 - if backend == "pdm" and sys.version_info < (3, 8): - return - session.run(backend, "run", "pytest") diff --git a/{{cookiecutter.project_name}}/pyproject.toml b/{{cookiecutter.project_name}}/pyproject.toml index c163cdcd..77b7d053 100644 --- a/{{cookiecutter.project_name}}/pyproject.toml +++ b/{{cookiecutter.project_name}}/pyproject.toml @@ -6,8 +6,8 @@ build-backend = "trampolim" requires = ["whey>=0.0.17"] build-backend = "whey" {%- elif cookiecutter.project_type == "pdm" %} -requires = ["pdm-pep517"] -build-backend = "pdm.pep517.api" +requires = ["pdm-backend"] +build-backend = "pdm.backend" {%- elif cookiecutter.project_type == "maturin" %} requires = ["maturin>=0.12"] build-backend = "maturin"