Skip to content

Commit

Permalink
Don't increase the major version when dropping support for a Python v…
Browse files Browse the repository at this point in the history
…ersion

As pointed out in #1023, there is no risk of incompatibility, since the
requires-python field will prevent installation on older Python versions.
  • Loading branch information
srittau committed Jan 14, 2022
1 parent 2370371 commit e07fc35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions typing_extensions/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ haven't yet figured out how to deal with that possibility.

Starting with version 4.0.0, ``typing_extensions`` uses
`Semantic Versioning <https://semver.org/>`_. The
major version is incremented for all backwards-incompatible changes, including
dropping support for older Python versions. Therefore, it's safe to depend
major version is incremented for all backwards-incompatible changes.
Therefore, it's safe to depend
on ``typing_extensions`` like this: ``typing_extensions >=x.y, <(x+1)``,
where ``x.y`` is the first version that includes all features you need.

Expand Down

0 comments on commit e07fc35

Please sign in to comment.