@@ -23,14 +23,14 @@ requirements_files_by_platform = lambda **kwargs: _sut(
23
23
platforms = kwargs .pop (
24
24
"platforms" ,
25
25
[
26
- "linux_aarch64 " ,
27
- "linux_arm " ,
28
- "linux_ppc " ,
29
- "linux_s390x " ,
30
- "linux_x86_64 " ,
31
- "osx_aarch64 " ,
32
- "osx_x86_64 " ,
33
- "windows_x86_64 " ,
26
+ "cp311_linux_aarch64 " ,
27
+ "cp311_linux_arm " ,
28
+ "cp311_linux_ppc " ,
29
+ "cp311_linux_s390x " ,
30
+ "cp311_linux_x86_64 " ,
31
+ "cp311_osx_aarch64 " ,
32
+ "cp311_osx_x86_64 " ,
33
+ "cp311_windows_x86_64 " ,
34
34
],
35
35
),
36
36
** kwargs
@@ -90,14 +90,14 @@ def _test_simple(env):
90
90
]:
91
91
env .expect .that_dict (got ).contains_exactly ({
92
92
"requirements_lock" : [
93
- "linux_aarch64 " ,
94
- "linux_arm " ,
95
- "linux_ppc " ,
96
- "linux_s390x " ,
97
- "linux_x86_64 " ,
98
- "osx_aarch64 " ,
99
- "osx_x86_64 " ,
100
- "windows_x86_64 " ,
93
+ "cp311_linux_aarch64 " ,
94
+ "cp311_linux_arm " ,
95
+ "cp311_linux_ppc " ,
96
+ "cp311_linux_s390x " ,
97
+ "cp311_linux_x86_64 " ,
98
+ "cp311_osx_aarch64 " ,
99
+ "cp311_osx_x86_64 " ,
100
+ "cp311_windows_x86_64 " ,
101
101
],
102
102
})
103
103
@@ -107,19 +107,19 @@ def _test_simple_limited(env):
107
107
for got in [
108
108
requirements_files_by_platform (
109
109
requirements_lock = "requirements_lock" ,
110
- platforms = ["linux_x86_64 " , "osx_x86_64 " ],
110
+ platforms = ["cp311_linux_x86_64 " , "cp311_osx_x86_64 " ],
111
111
),
112
112
requirements_files_by_platform (
113
113
requirements_by_platform = {
114
114
"requirements_lock" : "*" ,
115
115
},
116
- platforms = ["linux_x86_64 " , "osx_x86_64 " ],
116
+ platforms = ["cp311_linux_x86_64 " , "cp311_osx_x86_64 " ],
117
117
),
118
118
]:
119
119
env .expect .that_dict (got ).contains_exactly ({
120
120
"requirements_lock" : [
121
- "linux_x86_64 " ,
122
- "osx_x86_64 " ,
121
+ "cp311_linux_x86_64 " ,
122
+ "cp311_osx_x86_64 " ,
123
123
],
124
124
})
125
125
@@ -179,18 +179,18 @@ def _test_multi_os(env):
179
179
]:
180
180
env .expect .that_dict (got ).contains_exactly ({
181
181
"requirements_linux" : [
182
- "linux_aarch64 " ,
183
- "linux_arm " ,
184
- "linux_ppc " ,
185
- "linux_s390x " ,
186
- "linux_x86_64 " ,
182
+ "cp311_linux_aarch64 " ,
183
+ "cp311_linux_arm " ,
184
+ "cp311_linux_ppc " ,
185
+ "cp311_linux_s390x " ,
186
+ "cp311_linux_x86_64 " ,
187
187
],
188
188
"requirements_osx" : [
189
- "osx_aarch64 " ,
190
- "osx_x86_64 " ,
189
+ "cp311_osx_aarch64 " ,
190
+ "cp311_osx_x86_64 " ,
191
191
],
192
192
"requirements_windows" : [
193
- "windows_x86_64 " ,
193
+ "cp311_windows_x86_64 " ,
194
194
],
195
195
})
196
196
@@ -224,12 +224,12 @@ def _test_os_arch_requirements_with_default(env):
224
224
"requirements_exotic" : ["linux_super_exotic" ],
225
225
"requirements_linux" : ["linux_x86_64" , "linux_aarch64" ],
226
226
"requirements_lock" : [
227
- "linux_arm " ,
228
- "linux_ppc " ,
229
- "linux_s390x " ,
230
- "osx_aarch64 " ,
231
- "osx_x86_64 " ,
232
- "windows_x86_64 " ,
227
+ "cp311_linux_arm " ,
228
+ "cp311_linux_ppc " ,
229
+ "cp311_linux_s390x " ,
230
+ "cp311_osx_aarch64 " ,
231
+ "cp311_osx_x86_64 " ,
232
+ "cp311_windows_x86_64 " ,
233
233
],
234
234
})
235
235
0 commit comments