Skip to content

Package version specified not used in conf.py #587

@vedran-kasalica

Description

@vedran-kasalica

Checklist before submitting a bug report

  • I have checked the existing issues and couldn't find an issue about this bug.

Bug details

Describe the bug

When using the template the user is asked to fill in the software version, author name, etc. However, the version is not used in conf.py. For example, if we specify the version to 0.2.2, .copier-answers.yml contains the correct version: 0.2.2, while conf.py contains version = "0.1.0".

In addition, Notice contains only the text "This product includes workflomics_benchmarker, software developed by ." It could include the specified author's name.

To Reproduce

Steps to reproduce the behavior:

  1. install copier using pipx
  2. run copier copy --vcs-ref=HEAD https://github.com/nlesc/python-template.git . (applying to existing code)
  3. Select minimal template
  4. Specify version to 0.2.2
  5. See generated files conf.py and Notice

Expected behavior

I would expect the version in conf.py to be version = "0.2.2".

I would expect the notice to reads "This product includes workflomics_benchmarker, software developed by Author Name."

Metadata

Metadata

Assignees

Labels

generated-packageRelated to the generated package, i.e. after running cookiecutter

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions