From f5bcbbc0e1c96371235baf905b0b85d7b6c07ad4 Mon Sep 17 00:00:00 2001 From: nightcityblade Date: Mon, 11 May 2026 11:07:40 +0800 Subject: [PATCH 1/3] Fix packaging of Cython hash directories --- CHANGES/10860.packaging.rst | 2 ++ CONTRIBUTORS.txt | 1 + MANIFEST.in | 1 + pyproject.toml | 2 +- 4 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 CHANGES/10860.packaging.rst diff --git a/CHANGES/10860.packaging.rst b/CHANGES/10860.packaging.rst new file mode 100644 index 00000000000..ab49cc60a9e --- /dev/null +++ b/CHANGES/10860.packaging.rst @@ -0,0 +1,2 @@ +Excluded generated Cython ``.hash`` directories from source distributions and wheels. +-- by :user:`nightcityblade`. diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt index 7c5613648ca..dcd89bc6a35 100644 --- a/CONTRIBUTORS.txt +++ b/CONTRIBUTORS.txt @@ -282,6 +282,7 @@ Morgan Delahaye-Prat Moss Collum Mun Gwan-gyeong Navid Sheikhol +Nightcity Blade Nicolas Braem Nikolay Kim Nikolay Novik diff --git a/MANIFEST.in b/MANIFEST.in index ea5d39d4722..787143a1e70 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -17,5 +17,6 @@ global-exclude *.lib global-exclude *.dll global-exclude *.a global-exclude *.obj +recursive-exclude aiohttp .hash/* exclude aiohttp/*.html prune docs/_build diff --git a/pyproject.toml b/pyproject.toml index 7ad4f54b0c3..81779a70482 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -86,7 +86,7 @@ include = [ ] [tool.setuptools.exclude-package-data] -"*" = ["*.c", "*.h"] +"*" = ["*.c", "*.h", ".hash/*"] [tool.towncrier] package = "aiohttp" From d656bc77a074d766ebd82f99496291031897295a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 11 May 2026 03:08:46 +0000 Subject: [PATCH 2/3] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- CONTRIBUTORS.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt index dcd89bc6a35..23d3fdcff08 100644 --- a/CONTRIBUTORS.txt +++ b/CONTRIBUTORS.txt @@ -282,8 +282,8 @@ Morgan Delahaye-Prat Moss Collum Mun Gwan-gyeong Navid Sheikhol -Nightcity Blade Nicolas Braem +Nightcity Blade Nikolay Kim Nikolay Novik Nikolay Tiunov From 59436d4fbbbfe4996cbb2d532266437bf28d6e39 Mon Sep 17 00:00:00 2001 From: nightcityblade Date: Sat, 16 May 2026 11:14:15 +0800 Subject: [PATCH 3/3] docs: use file role for .hash changelog entry --- CHANGES/10860.packaging.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGES/10860.packaging.rst b/CHANGES/10860.packaging.rst index ab49cc60a9e..be4043f4065 100644 --- a/CHANGES/10860.packaging.rst +++ b/CHANGES/10860.packaging.rst @@ -1,2 +1,2 @@ -Excluded generated Cython ``.hash`` directories from source distributions and wheels. +Excluded generated Cython :file:`.hash/` directories from source distributions and wheels. -- by :user:`nightcityblade`.