File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -23,8 +23,12 @@ way as equivalent forms in `typing`.
2323[ Semantic Versioning] ( https://semver.org/ ) . The
2424major version will be incremented only for backwards-incompatible changes.
2525Therefore, it's safe to depend
26- on ` typing_extensions ` like this: ` typing_extensions > =x.y, <(x+1) ` ,
26+ on ` typing_extensions ` like this: ` typing_extensions ~ =x.y ` ,
2727where ` x.y ` is the first version that includes all features you need.
28+ [ This] ( https://packaging.python.org/en/latest/specifications/version-specifiers/#compatible-release )
29+ is equivalent to ` typing_extensions >=x.y, <(x+1) ` . Do not depend on ` ~= x.y.z `
30+ unless you really know what you're doing; that defeats the purpose of
31+ semantic versioning.
2832
2933## Included items
3034
You can’t perform that action at this time.
0 commit comments