See discussion here: https://github.com/ImperialCollegeLondon/python-template/pull/500#pullrequestreview-3729280383 Seems like it's an upstream problem. Maybe this is a reason to move to `copier`, assuming it doesn't have the same bug.