@@ -80,8 +80,8 @@ FLAGS = struct(
80
80
"is_pip_whl_auto" ,
81
81
"is_pip_whl_no" ,
82
82
"is_pip_whl_only" ,
83
- "is_py_freethreaded " ,
84
- "is_py_non_freethreaded " ,
83
+ "_is_py_freethreaded_yes " ,
84
+ "_is_py_freethreaded_no " ,
85
85
"pip_whl_glibc_version" ,
86
86
"pip_whl_muslc_version" ,
87
87
"pip_whl_osx_arch" ,
@@ -205,12 +205,12 @@ def _dist_config_settings(*, suffix, plat_flag_values, python_version, **kwargs)
205
205
for name , f , compatible_with in [
206
206
("py_none" , _flags .whl , None ),
207
207
("py3_none" , _flags .whl_py3 , None ),
208
- ("py3_abi3" , _flags .whl_py3_abi3 , (FLAGS .is_py_non_freethreaded ,)),
208
+ ("py3_abi3" , _flags .whl_py3_abi3 , (FLAGS ._is_py_freethreaded_no ,)),
209
209
("none" , _flags .whl_pycp3x , None ),
210
- ("abi3" , _flags .whl_pycp3x_abi3 , (FLAGS .is_py_non_freethreaded ,)),
210
+ ("abi3" , _flags .whl_pycp3x_abi3 , (FLAGS ._is_py_freethreaded_no ,)),
211
211
# The below are not specializations of one another, they are variants
212
- (cpv , _flags .whl_pycp3x_abicp , (FLAGS .is_py_non_freethreaded ,)),
213
- (cpv + "t" , _flags .whl_pycp3x_abicp , (FLAGS .is_py_freethreaded ,)),
212
+ (cpv , _flags .whl_pycp3x_abicp , (FLAGS ._is_py_freethreaded_no ,)),
213
+ (cpv + "t" , _flags .whl_pycp3x_abicp , (FLAGS ._is_py_freethreaded_yes ,)),
214
214
]:
215
215
if (f , compatible_with ) in used_flags :
216
216
# This should never happen as all of the different whls should have
@@ -237,12 +237,12 @@ def _dist_config_settings(*, suffix, plat_flag_values, python_version, **kwargs)
237
237
for name , f , compatible_with in [
238
238
("py_none" , _flags .whl_plat , None ),
239
239
("py3_none" , _flags .whl_plat_py3 , None ),
240
- ("py3_abi3" , _flags .whl_plat_py3_abi3 , (FLAGS .is_py_non_freethreaded ,)),
240
+ ("py3_abi3" , _flags .whl_plat_py3_abi3 , (FLAGS ._is_py_freethreaded_no ,)),
241
241
("none" , _flags .whl_plat_pycp3x , None ),
242
- ("abi3" , _flags .whl_plat_pycp3x_abi3 , (FLAGS .is_py_non_freethreaded ,)),
242
+ ("abi3" , _flags .whl_plat_pycp3x_abi3 , (FLAGS ._is_py_freethreaded_no ,)),
243
243
# The below are not specializations of one another, they are variants
244
- (cpv , _flags .whl_plat_pycp3x_abicp , (FLAGS .is_py_non_freethreaded ,)),
245
- (cpv + "t" , _flags .whl_plat_pycp3x_abicp , (FLAGS .is_py_freethreaded ,)),
244
+ (cpv , _flags .whl_plat_pycp3x_abicp , (FLAGS ._is_py_freethreaded_no ,)),
245
+ (cpv + "t" , _flags .whl_plat_pycp3x_abicp , (FLAGS ._is_py_freethreaded_yes ,)),
246
246
]:
247
247
if (f , compatible_with ) in used_flags :
248
248
# This should never happen as all of the different whls should have
@@ -329,7 +329,7 @@ def _dist_config_setting(*, name, compatible_with = None, native = native, **kwa
329
329
compatible_with: {type}`tuple[Label]` A collection of config settings that are
330
330
compatible with the given dist config setting. For example, if only
331
331
non-freethreaded python builds are allowed, add
332
- FLAGS.is_py_non_freethreaded here.
332
+ FLAGS._is_py_freethreaded_no here.
333
333
native (struct): The struct containing alias and config_setting rules
334
334
to use for creating the objects. Can be overridden for unit tests
335
335
reasons.
0 commit comments