Context
lightkube currently depends on httpx[http2] >= 0.28.1, < 1.0.0. The last release of httpx was in December 2024, and the project has become effectively unmaintained — issues and discussions are being closed without resolution.
The Python community is moving to httpx2, which is maintained by Pydantic Services Inc. httpx2 is API-compatible and serves as a drop-in replacement. Major projects like Starlette have already migrated, and others are following suit.
Proposal
Replace the httpx dependency with httpx2 to ensure lightkube continues to receive timely bug fixes and security updates, rather than depending on an unmaintained library.
Notes
- httpx2 is API-compatible with httpx, so the migration should be straightforward
- I'd be happy to submit a PR for this if you're open to the change
Would you be open to this?
Context
lightkubecurrently depends onhttpx[http2] >= 0.28.1, < 1.0.0. The last release ofhttpxwas in December 2024, and the project has become effectively unmaintained — issues and discussions are being closed without resolution.The Python community is moving to httpx2, which is maintained by Pydantic Services Inc. httpx2 is API-compatible and serves as a drop-in replacement. Major projects like Starlette have already migrated, and others are following suit.
Proposal
Replace the
httpxdependency withhttpx2to ensure lightkube continues to receive timely bug fixes and security updates, rather than depending on an unmaintained library.Notes
Would you be open to this?