copier update does not update pyproject.toml
Checklist before submitting a bug report
- [x] I have checked the existing issues and couldn't find an issue about this bug.
Bug details
Describe the bug
I create a minimum version of package, which I then update with 'copier update' and make some changes (e.g. version, email). Because pyproject.toml is listed under _skip_if_exists it is rightfully skipped. As a result, those values are not updated. I do not think this is a desired behaviour.
https://github.com/NLeSC/python-template/blob/cd751a0973a4e591ea8533a2b376a566039705bd/copier/settings.yml#L6
To Reproduce
Steps to reproduce the behavior:
- install copier using '...'
- run
copier copy ... - Select Minimum profile
- Run 'copier update'
- Change version, email
- Observe
pyproject.tomlfile
Error Message
pyproject.toml is not updated after 'copier update'
Expected behavior
We want to update it. I am not aware of other reasons why it should be under _skip_if_exist
Desktop (please complete the following information):
- Template profile
- [ ] recommended
- [x] minimum
- [ ] let me choose
Btw same applies to CITATION.cff and LICENCE. If user changes those, they wont't change.
this is expected because we skip these files in https://github.com/NLeSC/python-template/blob/cd751a0973a4e591ea8533a2b376a566039705bd/copier/settings.yml#L5
Do you suggest updating the settings?
Yes, I suggest removing it from there. It was expected, but undesired. Unless there is another reason to keep it?