Skip to content

Commit e022a43

Browse files
committed
#232: Add note about Poetry expecting PEP 440 normally
1 parent 646771a commit e022a43

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,12 @@ In your pyproject.toml file, you may configure the following options:
227227
then the format will be validated against the style's rules.
228228
If `style` is unset, the default output format will follow PEP 440,
229229
but a custom `format` will only be validated if `style` is set explicitly.
230+
231+
Regardless of the style you choose,
232+
the dynamic version is ultimately subject to Poetry's validation as well,
233+
and Poetry is designed around PEP 440 versions.
234+
Poetry can usually understand SemVer/etc input,
235+
but sometimes, Poetry may reject an otherwise valid version format.
230236
* `latest-tag` (boolean, default: false):
231237
If true, then only check the latest tag for a version,
232238
rather than looking through all the tags until a suitable one is found to match the `pattern`.

0 commit comments

Comments
 (0)