File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ build-backend = "setuptools.build_meta"
27
27
test = [
28
28
" pytest-pyodide==0.52.2" ,
29
29
" pytest-cov" ,
30
- " build==0.10 " ,
30
+ " build>=1.0 " ,
31
31
]
32
32
33
33
Original file line number Diff line number Diff line change @@ -20,14 +20,15 @@ def matplotlib_test_decorator(f):
20
20
def wheel_path (tmp_path_factory ):
21
21
# Build a micropip wheel for testing
22
22
import build
23
- from build .env import IsolatedEnvBuilder
23
+ from build .env import DefaultIsolatedEnv
24
24
25
25
output_dir = tmp_path_factory .mktemp ("wheel" )
26
26
27
- with IsolatedEnvBuilder () as env :
28
- builder = build .ProjectBuilder (Path (__file__ ).parent .parent )
29
- builder .python_executable = env .executable
30
- builder .scripts_dir = env .scripts_dir
27
+ with DefaultIsolatedEnv () as env :
28
+ builder = build .ProjectBuilder (
29
+ source_dir = Path (__file__ ).parent .parent ,
30
+ python_executable = env .python_executable ,
31
+ )
31
32
env .install (builder .build_system_requires )
32
33
builder .build ("wheel" , output_directory = output_dir )
33
34
You can’t perform that action at this time.
0 commit comments