Upgrading prettytable 2 to 3
Breaking2.5.0 → 3.18.0Security1Platform8Deprecated3New37Changed13Fixed27Other21
Fetching 24 releases from GitHub…19 / 24
BreakingUpgrade verdict
8 platform requirement changes and a security fix.
In plain terms
- The library now works on Python 3.16.
- The library now works with the upcoming Python 3.15, including its free-threaded builds.
- Python 3.9 is no longer supported; you need a newer Python version.
- The library can now be used with Python 3.14.
Must act Top 5 of 12 that need code or config changes
Python requirement changed in 3.17.0: >=3.6 → >=3.10.
What you must change
Security1
Encodes the title and attributes of HTML tables to prevent injection.
Platform8
Adds support for Python 3.16.
Adds support for Python 3.15 and tests 3.13t through 3.15t.
Drops support for Python 3.9.
Adds support for Python 3.14.
Drops support for Python 3.8.
Adds support for Python 3.13.
Drops support for end-of-life Python 3.7.
Declares support for Python 3.12.
Deprecations to plan for
Deprecated3
Deprecates and defers import of OptionsType for performance.
OptionsTypeDeprecates and defers import of TableHandler for performance.
TableHandlerEmits DeprecationWarning for hrule and tableStyle constants.
hruletableStyle