Skip to content

feat: Support and remember version range specifiers (>=3.2,<4) when updating and copying#2588

Open
ddejong-therp wants to merge 5 commits into
copier-org:masterfrom
ddejong-therp:version_spec
Open

feat: Support and remember version range specifiers (>=3.2,<4) when updating and copying#2588
ddejong-therp wants to merge 5 commits into
copier-org:masterfrom
ddejong-therp:version_spec

Conversation

@ddejong-therp

@ddejong-therp ddejong-therp commented Apr 8, 2026

Copy link
Copy Markdown

This is the implementation of this feature issue: #507

This adds a new cli flag to the upgrade command, which allows you to specify a set of version specifiers, in order to limit the versions that can be effectively upgraded to.
For convenience, I've also added the same flag to the copy and the recopy command,

@ddejong-therp
ddejong-therp marked this pull request as draft April 8, 2026 08:30
…fy the

pep440 specifier that limit's what version of the template can be used
to copy or update.
@ddejong-therp ddejong-therp changed the title Add the --version-spec cli argument, that allows you to specify the feat: Support and remember version range specifiers (>=3.2,<4) when updating Apr 15, 2026
@ddejong-therp ddejong-therp changed the title feat: Support and remember version range specifiers (>=3.2,<4) when updating feat: Support and remember version range specifiers (>=3.2,<4) when updating and copying Apr 15, 2026
@ddejong-therp
ddejong-therp marked this pull request as ready for review April 15, 2026 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants