We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7fb170 commit f680b3dCopy full SHA for f680b3d
noxfile.py
@@ -264,7 +264,7 @@ def tests(session: nox.Session, backend: str, vcs: bool, docs: Docs) -> None:
264
@nox.parametrize("vcs", [False, True], ids=["novcs", "vcs"])
265
@nox.parametrize("backend", ("poetry", "pdm", "hatch"), ids=("poetry", "pdm", "hatch"))
266
def native(session: nox.Session, backend: str, vcs: bool, docs: Docs) -> None:
267
- session.install("cookiecutter", backend)
+ session.install("cookiecutter", "pdm!=2.26.3" if backend == "pdm" else backend)
268
269
tmp_dir = session.create_tmp()
270
session.cd(tmp_dir)
@@ -277,7 +277,7 @@ def native(session: nox.Session, backend: str, vcs: bool, docs: Docs) -> None:
277
session.run(backend, "sync", env={"VIRTUAL_ENV": None})
278
session.run(backend, "run", "pytest", env={"VIRTUAL_ENV": None})
279
else:
280
- session.run(backend, "install")
+ session.run(backend, "install", env={"PDM_IGNORE_ACTIVE_VENV": "1"})
281
session.run(backend, "run", "pytest")
282
283
0 commit comments