v1.3.2 - Python 3.9 Compatibility Fix
Bug Fix
Fixed Python 3.9 compatibility issue that caused installation to fail with:
TypeError: unsupported operand type(s) for |: 'types.GenericAlias' and 'NoneType'
Cause
Missing from __future__ import annotations in url_context.py. The | union syntax for type hints requires Python 3.10+, but this import enables it for Python 3.9.
Affected Users
Users running Python 3.9 who installed v1.3.0 or v1.3.1.
Upgrade
wtp --updateOr reinstall:
curl -sSL https://raw.githubusercontent.com/aaronmedina-dev/WhatThePatch/main/install.sh | bash