File: wheel-exclude-more-tests.patch

package info (click to toggle)
django-pipeline 4.0.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 904 kB
  • sloc: python: 3,170; makefile: 120; javascript: 59
file content (27 lines) | stat: -rw-r--r-- 881 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From: Colin Watson <cjwatson@debian.org>
Date: Sun, 13 Jul 2025 18:06:47 +0200
Subject: Exclude tests/{assets,templates}/ from wheel

A built wheel of this package includes a number of files under
`tests/assets/` and `tests/templates/`, which is namespace pollution and
doesn't seem to be intentional.  Remove them.

Forwarded: https://github.com/jazzband/django-pipeline/pull/837
Last-Update: 2025-07-13
---
 pyproject.toml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyproject.toml b/pyproject.toml
index 369a34e..9db1424 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -68,7 +68,7 @@ changelog = "https://github.com/jazzband/django-pipeline/blob/master/HISTORY.rst
 include-package-data = true
 
 [tool.setuptools.packages.find]
-exclude = ["tests", "tests.tests"]
+exclude = ["tests", "tests.*"]
 
 [tool.setuptools_scm]
 local_scheme = "dirty-tag"