alan-turing-institute / python-project-template

15 stars 3 forks source link

Invalid version raised by copier #25

Closed eddableheath closed 6 months ago

eddableheath commented 8 months ago

When trying to use copier to set up the template the following error is thrown:

packaging.version.InvalidVersion: Invalid version: 'v2024-02-06.post1+g42a0b88'

which occurs after the set up is complete.

This occurs with versions of copier back to 8.0.0, before which it doesn't run at all.

phinate commented 8 months ago

Finally got around to look into this — I had a GitHub tag on this repo that was formatted as above (v2024-02-06), which wasn't compatible with PEP 440 versioning. Should work now!

boykovdn commented 7 months ago

I tried it today and it works, thanks!