Drop Python 3.8 support (#3592)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Alex Grönholm · committed by GitHub · parent 336204f · Browse files · 8 files·+13 added−9 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
8 files+13 added−9 removed
- other:+13 added−9 removed
Provenance
- Commit
4fb9528- Tree
7becfb8- Author
Alex Grönholm <alex.gronholm@nextday.fi>- Committer
GitHub <noreply@github.com>- Parent
336204f
8 files changed+13 added−9 removed
modified:.github/workflows/publish.yml+1 added-1 removed
15 unmodified lines161718192020212223245 unmodified lines15 unmodified lines steps: - uses: "actions/checkout@v4" - uses: "actions/setup-python@v5" with: python-version: 3.8 python-version: 3.9 - name: "Install dependencies" run: "scripts/install" - name: "Build package & docs" run: "scripts/build"5 unmodified linesmodified:.github/workflows/test-suite.yml+1 added-1 removed
12 unmodified lines1314151617171819202113 unmodified lines12 unmodified lines runs-on: "ubuntu-latest"
strategy: matrix: python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
steps: - uses: "actions/checkout@v4" - uses: "actions/setup-python@v5"13 unmodified linesmodified:docs/async.md+1 added-1 removed
21 unmodified lines22 <Response [200 OK]>23 ```24 25 !!! tip26- Use [IPython](https://ipython.readthedocs.io/en/stable/) or Python 3.8+ with `python -m asyncio` to try this code interactively, as they support executing `async`/`await` expressions in the console.26+ Use [IPython](https://ipython.readthedocs.io/en/stable/) or Python 3.9+ with `python -m asyncio` to try this code interactively, as they support executing `async`/`await` expressions in the console.27 28 ## API Differences29 30 If you're using an async client then there are a few bits of API that164 unmodified linesmodified:docs/index.md+1 added-1 removed
143 unmodified lines144 ```shell145 $ pip install httpx[brotli,zstd]146 ```147 148-HTTPX requires Python 3.8+148+HTTPX requires Python 3.9+149 150 [sync-support]: https://github.com/encode/httpx/issues/572modified:CHANGELOG.md+6 added
2 unmodified lines3 All notable changes to this project will be documented in this file.4 5 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).6 7+## [UNRELEASED]8+9+### Removed10+11+* Drop support for Python 3.812+13 ## 0.28.1 (6th December, 2024)14 15 * Fix SSL case where `verify=False` together with client side certificates.16 1122 unmodified linesmodified:pyproject.toml+1 added-2 removed
4 unmodified lines567899101112135 unmodified lines192021222323242526106 unmodified linesExpand all4 unmodified lines[project]name = "httpx"description = "The next generation HTTP client."license = "BSD-3-Clause"requires-python = ">=3.8"requires-python = ">=3.9"authors = [ { name = "Tom Christie", email = "tom@tomchristie.com" },]classifiers = [5 unmodified lines "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12",106 unmodified linesExpand allmodified:README.md+1 added-1 removed
99 unmodified lines100 ```shell101 $ pip install httpx[http2]102 ```103 104-HTTPX requires Python 3.8+.104+HTTPX requires Python 3.9+.105 106 ## Documentation107 108 Project documentation is available at [https://www.python-httpx.org/](https://www.python-httpx.org/).39 unmodified linesmodified:requirements.txt+1 added-2 removed
23 unmodified lines24 pytest==8.3.425 ruff==0.8.126 trio==0.27.027 trio-typing==0.10.028-trustme==1.1.0; python_version < '3.9'29-trustme==1.2.0; python_version >= '3.9'28+trustme==1.2.029 uvicorn==0.32.1