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`.
23
23
[ Semantic Versioning] ( https://semver.org/ ) . The
24
24
major version will be incremented only for backwards-incompatible changes.
25
25
Therefore, 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 ` ,
27
27
where ` 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.
28
32
29
33
## Included items
30
34
You can’t perform that action at this time.
0 commit comments