browniebroke / pypackage-template

A project template for Python package with heavy use of Github actions
MIT License
54 stars 13 forks source link

chore(deps): update dependency copier to v8 #510

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
copier ^7.0 -> ^8.0.0 age adoption passing confidence

Release Notes

copier-org/copier ### [`v8.0.0`](https://togithub.com/copier-org/copier/blob/HEAD/CHANGELOG.md#v800-2023-06-04) [Compare Source](https://togithub.com/copier-org/copier/compare/v7.2.0...v8.0.0) ##### BREAKING CHANGE - Updates will overwrite existing files always. If you need to select only some files, just use `git mergetool` or `git difftool` after updating. - Flag `--overwrite/-w` disappeared from `copier update`. It is now implicit. - To update via API, `overwrite=True` is now required. - The default update conflict mode is now `inline` instead of `rej`. - By default, updates now consider 3 lines of context instead of just 1. - All CLI calls to Copier must now include the subcommand as the 1st argument. For example, `copier` must become now `copier update`; also `copier ./tpl ./dst` must become `copier copy ./tpl ./dst`. - All flags must go after the subcommand now. For example, `copier -r HEAD update ./dst` must now become `copier update -r HEAD ./dst` or `copier update ./dst -r HEAD`. - Automatic mode removed. Since now subcommands are required, the automatic mode is removed. - Deprecated `copier.copy` function is removed. Use `copier.run_copy`, `copier.run_update` or `copier.run_recopy` explicitly as needed. - default values must be of the same type than the question. ##### Feat - disable unsafe features by default and add `--UNSAFE` switch ([#​1171](https://togithub.com/copier-org/copier/issues/1171)) - basic nixpkgs overlay - add `recopy` command and function - support conditional choices ([#​1010](https://togithub.com/copier-org/copier/issues/1010)) - validate default values ([#​1075](https://togithub.com/copier-org/copier/issues/1075)) ##### Fix - explain better why an answer casting fails - **cli**: display subcommand args meaning - preserver recursive symlinks - work around Pydantic bug when parsing choices - skip validating question and generating its default value when its skip condition is met ##### Refactor - overwrite always on updates - **update**: default to inline markers and 3 lines of context - remove unused local overrides to answers

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

renovate[bot] commented 1 year ago

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.