File: test-build-no-site-isolation

package info (click to toggle)
python-hatch-mypyc 0.16.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 232 kB
  • sloc: python: 1,025; makefile: 5
file content (21 lines) | stat: -rw-r--r-- 801 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
From: "Michael R. Crusoe" <crusoe@debian.org>
Date: Thu, 27 Jun 2024 15:58:09 -0700
Subject: Skip isolation to use the Debian packaged dependencies

Forwarded: not-needed
---
 tests/utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/utils.py b/tests/utils.py
index 2b6ee31..157d8fb 100644
--- a/tests/utils.py
+++ b/tests/utils.py
@@ -9,6 +9,6 @@ def build_project(*args):
     if not args:
         args = ['-w']
 
-    process = subprocess.run([sys.executable, '-m', 'build', *args], stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
+    process = subprocess.run([sys.executable, '-m', 'build', '--no-isolation', *args], stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
     if process.returncode:  # no cov
         raise Exception(process.stdout.decode('utf-8'))