Update package

Update package#

Note

You can get the same information by running the “template update check” action From your pypackage based repository.

Whenever the version of your pypackage template is outdate, you can update it by following these steps:

  1. create an “update-template” branch to avoid creating conflict.

  2. Run the following code in your project directory to update the template:

    copier update --trust --defaults --vcs-ref <latest pypackage version>
    

    Note

    You may need to reinstall copier and jinja2-time if they are not available in your environment.

  3. After solving the merging issues you can push back the changes to your main branch.