Drop Python 3.8 support

This addresses a failure in the `py38-dev` tests
caused by markupsafe recently dropping Python 3.8 support.

Changed in this commit:

* Drop Python 3.8 support
* Update CI and tox testing
* Update docs references to Python 3.8
* Remove a Windows / Python 3.8 admonition in the docs
* Address type annotations
* Incorporate style fixes

Still to do:

* `src/flask/sessions.py` contains these comments:

  > TODO generic when Python > 3.8

  This TODO should now be unblocked.
This commit is contained in:
Kurt McKee 2024-10-16 18:12:00 -05:00
parent dffe303482
commit 5796f50315
No known key found for this signature in database
GPG key ID: 64713C0B5BA8E1C2
9 changed files with 22 additions and 29 deletions

View file

@ -28,10 +28,9 @@ jobs:
- {python: '3.11'}
- {python: '3.10'}
- {python: '3.9'}
- {python: '3.8'}
- {name: PyPy, python: 'pypy-3.10', tox: pypy310}
- {name: Minimum Versions, python: '3.12', tox: py-min}
- {name: Development Versions, python: '3.8', tox: py-dev}
- {name: Development Versions, python: '3.9', tox: py-dev}
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0