The issue seems to be with setuptools-scm? commenting out 
```python
#[tool.pdm.version]
#source = "scm"
```
solved the issue, but now I have no versioning 😕