@@ -1786,6 +1786,10 @@ axes:
1786
1786
display_name : " PyPy 3.6"
1787
1787
variables :
1788
1788
PYTHON_BINARY : " /opt/python/pypy3.6/bin/pypy3"
1789
+ - id : " pypy3.7"
1790
+ display_name : " PyPy 3.7"
1791
+ variables :
1792
+ PYTHON_BINARY : " /opt/python/pypy3.7/bin/pypy3"
1789
1793
- id : " system-python3"
1790
1794
display_name : " Python3"
1791
1795
variables :
@@ -2099,16 +2103,15 @@ buildvariants:
2099
2103
- " .4.4"
2100
2104
- " .4.2"
2101
2105
2102
- - matrix_name : " tests-python-version-rhel62 -test-ssl"
2106
+ - matrix_name : " tests-python-version-amazon1 -test-ssl"
2103
2107
matrix_spec :
2104
- platform : rhel62
2105
- # RHEL 6.2 does not support Python 3.7.x and later.
2106
- python-version : &rhel62-pythons ["3.6", "pypy3.6"]
2108
+ platform : awslinux
2109
+ python-version : &amazon1-pythons ["3.6", "3.7", "3.8", "3.9", "pypy3.6", "pypy3.7"]
2107
2110
auth : " *"
2108
2111
ssl : " *"
2109
2112
coverage : " *"
2110
2113
exclude_spec :
2111
- - platform : rhel62
2114
+ - platform : awslinux
2112
2115
python-version : " *"
2113
2116
auth : " noauth"
2114
2117
ssl : " ssl"
@@ -2139,7 +2142,7 @@ buildvariants:
2139
2142
- matrix_name : " tests-pyopenssl-pypy"
2140
2143
matrix_spec :
2141
2144
platform : debian92
2142
- python-version : ["pypy3.6"]
2145
+ python-version : ["pypy3.6", "pypy3.7" ]
2143
2146
auth : " auth"
2144
2147
ssl : " ssl"
2145
2148
pyopenssl : " *"
@@ -2170,11 +2173,10 @@ buildvariants:
2170
2173
tasks :
2171
2174
- ' .replica_set'
2172
2175
2173
- - matrix_name : " tests-python-version-rhel62 -test-encryption"
2176
+ - matrix_name : " tests-python-version-amazon1 -test-encryption"
2174
2177
matrix_spec :
2175
- platform : rhel62
2176
- # RHEL 6.2 does not support Python 3.7.x and later.
2177
- python-version : ["3.6"]
2178
+ platform : awslinux
2179
+ python-version : ["3.6", "3.7", "3.8", "3.9"]
2178
2180
auth-ssl : noauth-nossl
2179
2181
# TODO: dependency error for 'coverage-report' task:
2180
2182
# dependency tests-python-version-rhel62-test-encryption_.../test-2.6-standalone is not present in the project config
@@ -2186,56 +2188,40 @@ buildvariants:
2186
2188
- matrix_name : " tests-pypy-debian-test-encryption"
2187
2189
matrix_spec :
2188
2190
platform : debian92
2189
- python-version : ["pypy3.6"]
2191
+ python-version : ["pypy3.6", "pypy3.7" ]
2190
2192
auth-ssl : noauth-nossl
2191
2193
encryption : " *"
2192
2194
display_name : " Encryption ${python-version} ${platform} ${auth-ssl}"
2193
2195
tasks : *encryption-server-versions
2194
2196
2195
- - matrix_name : " tests-python-version-rhel62 -without-c-extensions"
2197
+ - matrix_name : " tests-python-version-amazon1 -without-c-extensions"
2196
2198
matrix_spec :
2197
- platform : rhel62
2198
- python-version : *rhel62 -pythons
2199
+ platform : awslinux
2200
+ python-version : *amazon1 -pythons
2199
2201
c-extensions : without-c-extensions
2200
2202
auth-ssl : noauth-nossl
2201
2203
coverage : " *"
2202
2204
exclude_spec :
2203
2205
# These interpreters are always tested without extensions.
2204
- - platform : rhel62
2205
- python-version : ["pypy3.6"]
2206
+ - platform : awslinux
2207
+ python-version : ["pypy3.6", "pypy3.7" ]
2206
2208
c-extensions : " *"
2207
2209
auth-ssl : " *"
2208
2210
coverage : " *"
2209
2211
display_name : " ${c-extensions} ${python-version} ${platform} ${auth} ${ssl} ${coverage}"
2210
2212
tasks : *all-server-versions
2211
2213
2212
- - matrix_name : " tests-python-version-ubuntu1604-without-c-extensions"
2213
- matrix_spec :
2214
- platform : ubuntu-16.04
2215
- python-version : &openssl-102-plus-pythons ["3.7", "3.8", "3.9"]
2216
- c-extensions : without-c-extensions
2217
- auth-ssl : noauth-nossl
2218
- display_name : " ${c-extensions} ${python-version} ${platform} ${auth} ${ssl} ${coverage}"
2219
- tasks :
2220
- - " .latest"
2221
- - " .4.4"
2222
- - " .4.2"
2223
- - " .4.0"
2224
- - " .3.6"
2225
- - " .3.4"
2226
- - " .3.2"
2227
-
2228
2214
- matrix_name : " tests-python-version-ubuntu16-compression"
2229
2215
matrix_spec :
2230
2216
# Ubuntu 16.04 images have libsnappy-dev installed, and provides OpenSSL 1.0.2 for testing Python 3.7
2231
2217
platform : ubuntu-16.04
2232
- python-version : ["3.6", "3.7", "3.8", "3.9", "pypy3.6"]
2218
+ python-version : ["3.6", "3.7", "3.8", "3.9", "pypy3.6", "pypy3.7" ]
2233
2219
c-extensions : " *"
2234
2220
compression : " *"
2235
2221
exclude_spec :
2236
2222
# These interpreters are always tested without extensions.
2237
2223
- platform : ubuntu-16.04
2238
- python-version : ["pypy3.6"]
2224
+ python-version : ["pypy3.6", "pypy3.7" ]
2239
2225
c-extensions : " with-c-extensions"
2240
2226
compression : " *"
2241
2227
# PYTHON-2365 Some tests fail with CPython 3.8+ and python-snappy
@@ -2259,16 +2245,16 @@ buildvariants:
2259
2245
- " test-4.0-standalone"
2260
2246
- " test-3.6-standalone"
2261
2247
2262
- - matrix_name : " tests-python-version-green-framework-rhel62 "
2248
+ - matrix_name : " tests-python-version-green-framework-amazon1 "
2263
2249
matrix_spec :
2264
- platform : rhel62
2265
- python-version : *rhel62 -pythons
2250
+ platform : awslinux
2251
+ python-version : *amazon1 -pythons
2266
2252
green-framework : " *"
2267
2253
auth-ssl : " *"
2268
2254
exclude_spec :
2269
2255
# Don't test green frameworks on these Python versions.
2270
- - platform : rhel62
2271
- python-version : ["pypy3.6"]
2256
+ - platform : awslinux
2257
+ python-version : ["pypy3.6", "pypy3.7" ]
2272
2258
green-framework : " *"
2273
2259
auth-ssl : " *"
2274
2260
display_name : " ${green-framework} ${python-version} ${platform} ${auth-ssl}"
@@ -2290,34 +2276,10 @@ buildvariants:
2290
2276
display_name : " ${platform} ${python-version-windows-32} ${auth-ssl}"
2291
2277
tasks : *all-server-versions
2292
2278
2293
- - matrix_name : " tests-python-version-requires-openssl-102-plus-test-ssl"
2294
- matrix_spec :
2295
- platform : ubuntu-16.04
2296
- python-version : *openssl-102-plus-pythons
2297
- auth-ssl : " *"
2298
- display_name : " ${python-version} OpenSSL 1.0.2 ${platform} ${auth-ssl}"
2299
- tasks :
2300
- - " .latest"
2301
- - " .4.4"
2302
- - " .4.2"
2303
- - " .4.0"
2304
- - " .3.6"
2305
- - " .3.4"
2306
- - " .3.2"
2307
-
2308
- - matrix_name : " tests-python-version-requires-openssl-102-plus-test-encryption"
2309
- matrix_spec :
2310
- platform : ubuntu-16.04
2311
- python-version : *openssl-102-plus-pythons
2312
- auth-ssl : " noauth-nossl"
2313
- encryption : " *"
2314
- display_name : " Encryption ${python-version} ${platform} ${auth-ssl}"
2315
- tasks : *encryption-server-versions
2316
-
2317
2279
- matrix_name : " tests-python-version-supports-openssl-110-test-ssl"
2318
2280
matrix_spec :
2319
2281
platform : debian92
2320
- python-version : *openssl-102-plus -pythons
2282
+ python-version : *amazon1 -pythons
2321
2283
auth-ssl : " *"
2322
2284
display_name : " ${python-version} OpenSSL 1.1.0 ${platform} ${auth-ssl}"
2323
2285
tasks :
@@ -2332,16 +2294,16 @@ buildvariants:
2332
2294
display_name : " Encryption ${platform} ${python-version-windows} ${auth-ssl}"
2333
2295
tasks : *encryption-server-versions
2334
2296
2335
- # Storage engine tests on RHEL 6.2 (x86_64) with Python 3.6.
2297
+ # Storage engine tests on Amazon1 (x86_64) with Python 3.6.
2336
2298
- matrix_name : " tests-storage-engines"
2337
2299
matrix_spec :
2338
- platform : rhel62
2300
+ platform : awslinux
2339
2301
storage-engine : " *"
2340
2302
python-version : 3.6
2341
2303
display_name : " Storage ${storage-engine} ${python-version} ${platform}"
2342
2304
rules :
2343
2305
- if :
2344
- platform : rhel62
2306
+ platform : awslinux
2345
2307
storage-engine : ["inmemory"]
2346
2308
python-version : " *"
2347
2309
then :
@@ -2355,7 +2317,7 @@ buildvariants:
2355
2317
- " test-3.2-standalone"
2356
2318
- if :
2357
2319
# MongoDB 4.2 drops support for MMAPv1
2358
- platform : rhel62
2320
+ platform : awslinux
2359
2321
storage-engine : ["mmapv1"]
2360
2322
python-version : " *"
2361
2323
then :
@@ -2368,17 +2330,17 @@ buildvariants:
2368
2330
- " test-3.2-standalone"
2369
2331
- if :
2370
2332
# No need to test this on later server versions as it becomes the default
2371
- platform : rhel62
2333
+ platform : awslinux
2372
2334
storage-engine : ["wiredtiger"]
2373
2335
python-version : " *"
2374
2336
then :
2375
2337
add_tasks :
2376
2338
- " test-3.0-standalone"
2377
2339
2378
- # enableTestCommands=0 tests on RHEL 6.2 (x86_64) with Python 3.6.
2340
+ # enableTestCommands=0 tests on Amazon1 (x86_64) with Python 3.6.
2379
2341
- matrix_name : " test-disableTestCommands"
2380
2342
matrix_spec :
2381
- platform : rhel62
2343
+ platform : awslinux
2382
2344
disableTestCommands : " *"
2383
2345
python-version : " 3.6"
2384
2346
display_name : " Disable test commands ${python-version} ${platform}"
@@ -2387,8 +2349,8 @@ buildvariants:
2387
2349
2388
2350
- matrix_name : " test-linux-enterprise-auth"
2389
2351
matrix_spec :
2390
- platform : rhel62
2391
- python-version : *rhel62 -pythons
2352
+ platform : awslinux
2353
+ python-version : *amazon1 -pythons
2392
2354
auth : " auth"
2393
2355
display_name : " Enterprise ${auth} ${platform} ${python-version}"
2394
2356
tasks :
@@ -2405,31 +2367,30 @@ buildvariants:
2405
2367
2406
2368
- matrix_name : " tests-mod-wsgi"
2407
2369
matrix_spec :
2408
- platform : rhel62
2409
- # The toolchain doesn't currently include mod-wsgi
2410
- # built for CPython 3.8, mod-wsgi doesn't yet
2411
- # claim to support 3.9. Python 3.7+ won't build on rhel6
2412
- # and we need to do some work to migrate mod-wsgi testing
2413
- # to a different OS. For now we're stuck just testing with
2414
- # Python 3.6.
2415
- python-version : ["3.6"]
2370
+ platform : awslinux
2371
+ python-version : ["3.6", "3.7", "3.8", "3.9"]
2416
2372
mod-wsgi-version : " *"
2373
+ exclude_spec :
2374
+ # mod-wsgi 3.5 won't build against CPython 3.8+
2375
+ - platform : awslinux
2376
+ python-version : ["3.8", "3.9"]
2377
+ mod-wsgi-version : " 3"
2417
2378
display_name : " ${mod-wsgi-version} ${python-version} ${platform}"
2418
2379
tasks :
2419
2380
- name : " mod-wsgi-standalone"
2420
2381
- name : " mod-wsgi-replica-set"
2421
2382
2422
2383
- matrix_name : " mockupdb-tests"
2423
2384
matrix_spec :
2424
- platform : rhel62
2385
+ platform : awslinux
2425
2386
python-version : 3.6
2426
2387
display_name : " MockupDB Tests"
2427
2388
tasks :
2428
2389
- name : " mockupdb"
2429
2390
2430
2391
- matrix_name : " tests-doctests"
2431
2392
matrix_spec :
2432
- platform : rhel62
2393
+ platform : awslinux
2433
2394
python-version : ["3.6"]
2434
2395
display_name : " Doctests ${python-version} ${platform}"
2435
2396
tasks :
@@ -2438,7 +2399,7 @@ buildvariants:
2438
2399
- name : " no-server"
2439
2400
display_name : " No server test"
2440
2401
run_on :
2441
- - rhel62-small
2402
+ - amazon1-2018-test
2442
2403
tasks :
2443
2404
- name : " no-server"
2444
2405
expansions :
@@ -2455,16 +2416,8 @@ buildvariants:
2455
2416
2456
2417
- matrix_name : " atlas-connect"
2457
2418
matrix_spec :
2458
- platform : rhel62
2459
- python-version : *rhel62-pythons
2460
- display_name : " Atlas connect ${python-version} ${platform}"
2461
- tasks :
2462
- - name : " atlas-connect"
2463
-
2464
- - matrix_name : " atlas-connect-openssl-102-plus"
2465
- matrix_spec :
2466
- platform : debian92
2467
- python-version : *openssl-102-plus-pythons
2419
+ platform : awslinux
2420
+ python-version : *amazon1-pythons
2468
2421
display_name : " Atlas connect ${python-version} ${platform}"
2469
2422
tasks :
2470
2423
- name : " atlas-connect"
@@ -2506,7 +2459,7 @@ buildvariants:
2506
2459
- matrix_name : " ocsp-test-pypy"
2507
2460
matrix_spec :
2508
2461
platform : debian92
2509
- python-version : ["pypy3.6"]
2462
+ python-version : ["pypy3.6", "pypy3.7" ]
2510
2463
mongodb-version : ["4.4", "latest"]
2511
2464
auth : " noauth"
2512
2465
ssl : " ssl"
0 commit comments