Skip to content

Cannot update project rendered from local template #2371

@jimustafa

Description

@jimustafa

Describe the problem

Suppose I have a template in a local directory at /path/to/template and create a project from the template:

copier /path/to/template test

When I try to update the project (after cd test):

copier update

I get the following error:
Cannot update because cannot obtain old template references from `.copier-answers.yml`.

I commented #335 (comment) about this behavior, but I thought creating a separate issue might also be relevant.

Template

template.zip

To Reproduce

No response

Logs

Expected behavior

I expected to be prompted for updated answers.

Screenshots/screencasts/logs

No response

Operating system

Linux

Operating system distribution and version

CentOS 8

Copier version

copier 9.10.1

Python version

Python 3.13.2

Installation method

uvx+pypi

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugtriageTrying to make sure if this is valid or not

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions