@@ -47,16 +47,17 @@ def build_other_wheels(ctx: Context, no_test: bool):
4747        if  project .is_meson_project ():
4848            continue 
4949
50-         project .install_build_deps (
51-             wheel_path = ctx .wheel_path , other_wheel_path = ctx .other_wheel_path 
52-         )
53-         project .build_wheel (
54-             wheel_path = ctx .wheel_path ,
55-             other_wheel_path = ctx .other_wheel_path ,
56-             install = True ,
57-         )
58-         if  not  no_test :
59-             project .test (install_requirements = True )
50+         with  ctx .handle_exception (project .name ):
51+             project .install_build_deps (
52+                 wheel_path = ctx .wheel_path , other_wheel_path = ctx .other_wheel_path 
53+             )
54+             project .build_wheel (
55+                 wheel_path = ctx .wheel_path ,
56+                 other_wheel_path = ctx .other_wheel_path ,
57+                 install = True ,
58+             )
59+             if  not  no_test :
60+                 project .test (install_requirements = True )
6061
6162
6263@ci .command () 
@@ -84,13 +85,14 @@ def build_meson_wheels(ctx: Context, no_test: bool):
8485        if  not  project .is_meson_project ():
8586            continue 
8687
87-         project .install_build_deps (
88-             wheel_path = ctx .wheel_path , other_wheel_path = ctx .other_wheel_path 
89-         )
90-         project .build_wheel (
91-             wheel_path = ctx .wheel_path ,
92-             other_wheel_path = ctx .other_wheel_path ,
93-             install = True ,
94-         )
95-         if  not  no_test :
96-             project .test (install_requirements = True )
88+         with  ctx .handle_exception (project .name ):
89+             project .install_build_deps (
90+                 wheel_path = ctx .wheel_path , other_wheel_path = ctx .other_wheel_path 
91+             )
92+             project .build_wheel (
93+                 wheel_path = ctx .wheel_path ,
94+                 other_wheel_path = ctx .other_wheel_path ,
95+                 install = True ,
96+             )
97+             if  not  no_test :
98+                 project .test (install_requirements = True )
0 commit comments