docs: add version compatibility table
Summary
Adds a version compatibility table to the documentation, as requested in #299.
The table lists objects provided by typing_extensions that backport or extend features from the standard library, showing:
- Object name (cross-linked to its docs entry)
- Python version when the feature was added to
typing - typing_extensions release that first included it
- Associated PEP (if any)
This follows the format suggested by @JelleZijlstra in the issue discussion, using a list-table directive as recommended by @AlexWaygood for easier maintenance.
Closes #299
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 97.38%. Comparing base (442d848) to head (7541a36).
:warning: Report is 8 commits behind head on main.
@@ Coverage Diff @@
## main #733 +/- ##
=======================================
Coverage 97.38% 97.38%
=======================================
Files 3 3
Lines 7690 7768 +78
=======================================
+ Hits 7489 7565 +76
- Misses 201 203 +2
| Flag | Coverage Δ | |
|---|---|---|
| 3.10 | 89.08% <ø> (+0.09%) |
:arrow_up: |
| 3.10.4 | 89.08% <ø> (+0.09%) |
:arrow_up: |
| 3.11 | 88.32% <ø> (+0.10%) |
:arrow_up: |
| 3.11.0 | 87.56% <ø> (+0.11%) |
:arrow_up: |
| 3.12 | 88.27% <ø> (+0.10%) |
:arrow_up: |
| 3.12.0 | 88.25% <ø> (+0.10%) |
:arrow_up: |
| 3.13 | 81.83% <ø> (+0.17%) |
:arrow_up: |
| 3.13.0 | 82.55% <ø> (+0.16%) |
:arrow_up: |
| 3.14 | 79.12% <ø> (+1.03%) |
:arrow_up: |
| 3.9 | 89.78% <ø> (+0.09%) |
:arrow_up: |
| 3.9.12 | 89.78% <ø> (+0.09%) |
:arrow_up: |
| pypy3.10 | 88.91% <ø> (+0.09%) |
:arrow_up: |
| pypy3.11 | 88.18% <ø> (+0.10%) |
:arrow_up: |
| pypy3.9 | 89.62% <ø> (+0.09%) |
:arrow_up: |
Flags with carried forward coverage won't be shown. Click here to find out more. see 2 files with indirect coverage changes
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
I'm happy to finish this up but @r266-tech are you willing to sign the contributor license agreement? Otherwise we'll have to close this PR.
@JelleZijlstra CLA signed and check is green now — happy to have you finish it up whenever convenient, thanks!