@@ -126,10 +126,10 @@ def test_rust(session: nox.Session):
126126 # so that it can be used in the test code
127127 # (e.g. for `#[cfg(feature = "abi3-py38")]`)
128128 _run_cargo_test (session , features = feature_set , extra_flags = flags )
129- breakpoint ()
130129 if (
131130 feature_set
132131 and "abi3" in feature_set
132+ and "abi3t" not in feature_set
133133 and "full" in feature_set
134134 and sys .version_info >= (3 , 9 )
135135 ):
@@ -1369,7 +1369,7 @@ def check_feature_powerset(session: nox.Session):
13691369 }
13701370
13711371 EXPECTED_ABI3T_FEATURES = {
1372- f"abi3 -py3{ ver .split ('.' )[1 ]} " for ver in ABI3T_PY_VERSIONS
1372+ f"abi3t -py3{ ver .split ('.' )[1 ]. strip ( "t" ) } " for ver in ABI3T_PY_VERSIONS
13731373 }
13741374
13751375 EXCLUDED_FROM_FULL = {
@@ -1393,7 +1393,7 @@ def check_feature_powerset(session: nox.Session):
13931393 abi3_version_features = abi3_features - {"abi3" }
13941394
13951395 abi3t_features = {feature for feature in features if feature .startswith ("abi3t" )}
1396- abi3t_version_features = abi3_features - {"abi3t" }
1396+ abi3t_version_features = abi3t_features - {"abi3t" }
13971397
13981398 unexpected_stable_abi_features = (
13991399 abi3_version_features - EXPECTED_ABI3_FEATURES - EXPECTED_ABI3T_FEATURES
@@ -1457,17 +1457,18 @@ def check_feature_powerset(session: nox.Session):
14571457 subcommand = "minimal-versions"
14581458
14591459 comma_join = "," .join
1460- _run_cargo (
1461- session ,
1462- subcommand ,
1463- "--feature-powerset" ,
1464- '--optional-deps=""' ,
1465- f'--skip="{ comma_join (features_to_skip )} "' ,
1466- * (f"--group-features={ comma_join (group )} " for group in features_to_group ),
1467- "check" ,
1468- "--all-targets" ,
1469- env = env ,
1470- )
1460+ for abi_name in ["abi3" , "abi3t" ]:
1461+ _run_cargo (
1462+ session ,
1463+ subcommand ,
1464+ "--feature-powerset" ,
1465+ '--optional-deps=""' ,
1466+ f'--skip="{ comma_join (features_to_skip + [abi_name ])} "' ,
1467+ * (f"--group-features={ comma_join (group )} " for group in features_to_group ),
1468+ "check" ,
1469+ "--all-targets" ,
1470+ env = env ,
1471+ )
14711472
14721473
14731474@nox .session (name = "update-ui-tests" , venv_backend = "none" )
0 commit comments