Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/packages/geventhttpclient.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,4 @@ versions:
- filename: geventhttpclient-2.5.1-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl
sha256: b818e5a131b0e8f34c7282786c9b9f2c42fdbcb1be7c4db8275d2ff94c522e5c
requires-python: '>=3.11'
- version: 2.6.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
From: Ludovic Henry <git@ludovic.dev>
Subject: [PATCH] ship the bundled llhttp licence in the wheel

setup.py compiles llhttp/src/{api,http,llhttp}.c straight into
geventhttpclient._parser, so every wheel redistributes llhttp (MIT,
Copyright Fedor Indutny) in binary form. The MIT licence requires that
notice to travel with the binary, but only the project's own root
LICENSE-MIT is picked up by the default license-files globs, so
llhttp/LICENSE-MIT never reaches dist-info/licenses/.

Declaring license-files explicitly ships both. PEP 639 preserves each
entry's path relative to the project root, so llhttp's copy lands at
dist-info/licenses/llhttp/LICENSE-MIT next to the project's own.

Upstream-Status: To upstream [not yet submitted; no fork of geventhttpclient/geventhttpclient to push from]
---
pyproject.toml | 1 +
1 file changed, 1 insertion(+)

diff --git a/pyproject.toml b/pyproject.toml
index 1111111..2222222 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -10,6 +10,7 @@ description = "HTTP client library for gevent"
readme = "README.md"
requires-python = ">=3.11"
license = "MIT"
+license-files = ["LICENSE-MIT", "llhttp/LICENSE-MIT"]
keywords = ["http", "gevent", "client"]
authors = [{name = "Antonin Amand", email = "antonin.amand@gmail.com"}]
classifiers = [