From 049b4f072094f1a9d89a99b5f77c8266f17e09a3 Mon Sep 17 00:00:00 2001 From: sak7122 Date: Wed, 19 Aug 2026 02:34:52 +0530 Subject: [PATCH] Include full tests/ tree in sdist via MANIFEST.in Setuptools' default sdist file-finder only auto-includes files matching tests/test*.py, so tests/__init__.py, tests/compliance/*.json, and tests/legacy/*.json were silently dropped from the sdist built for the 1.1.0 release. That breaks pytest when run against the sdist, since tests/test_compliance.py does `from tests import OrderedDict`. Fixes jmespath/jmespath.py#341 --- MANIFEST.in | 1 + 1 file changed, 1 insertion(+) diff --git a/MANIFEST.in b/MANIFEST.in index a5021c60..6742c856 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,2 +1,3 @@ include README.rst include LICENSE +recursive-include tests *