Skip to content

Instantly share code, notes, and snippets.

@aloisklink
Last active September 4, 2023 12:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aloisklink/54e8047482db16bef4b2177068aede3c to your computer and use it in GitHub Desktop.
Save aloisklink/54e8047482db16bef4b2177068aede3c to your computer and use it in GitHub Desktop.
PDM v2.9.0 `pdm install --no-default` change (see https://github.com/pdm-project/pdm/issues/2230)
[project]
name = "pdm-v2.9.0-test"
version = "1.0.0"
description = """\
Test case for a potential breaking change between pdm v2.8.2 and v2.9.0
The following command works in v2.8.2 but doesn't work in pdm v2.9.0
```bash
pdm install --group lint --no-default
```
"""
authors = [
{name = "Alois Klink",email = "alois@nquiringminds.com"},
]
dependencies = []
requires-python = ">=3.10"
license = {text = "MIT"}
[tool]
[tool.pdm]
[tool.pdm.dev-dependencies]
lint = [
"pre-commit>=3.4.0",
]
# fail the build for testing purposes
raise Exception("setup.py script was called")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment