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"