@@ -1383,9 +1383,6 @@ Platform-specific environment variables are also available:<br/>
1383
1383
!!! tab examples "Environment variables"
1384
1384
1385
1385
```yaml
1386
- # Run the project tests against the installed wheel using `nose`
1387
- CIBW_TEST_COMMAND: nosetests {project}/tests
1388
-
1389
1386
# Run the package tests using `pytest`
1390
1387
CIBW_TEST_COMMAND: pytest {package}/tests
1391
1388
@@ -1402,9 +1399,6 @@ Platform-specific environment variables are also available:<br/>
1402
1399
1403
1400
```toml
1404
1401
[tool.cibuildwheel]
1405
- # Run the project tests against the installed wheel using `nose`
1406
- test-command = "nosetests {project}/tests"
1407
-
1408
1402
# Run the package tests using `pytest`
1409
1403
test-command = "pytest {package}/tests"
1410
1404
@@ -1510,7 +1504,7 @@ Platform-specific environment variables are also available:<br/>
1510
1504
CIBW_TEST_REQUIRES: pytest
1511
1505
1512
1506
# Install specific versions of test dependencies
1513
- CIBW_TEST_REQUIRES: nose==1.3.7 moto==0.4.31
1507
+ CIBW_TEST_REQUIRES: pytest==8.2.2 packaging==24.1
1514
1508
```
1515
1509
1516
1510
!!! tab examples "pyproject.toml"
@@ -1522,7 +1516,7 @@ Platform-specific environment variables are also available:<br/>
1522
1516
1523
1517
# Install specific versions of test dependencies
1524
1518
[tool.cibuildwheel]
1525
- test-requires = ["nose==1.3.7 ", "moto==0.4.31 "]
1519
+ test-requires = ["pytest==8.2.2 ", "packaging==24.1 "]
1526
1520
```
1527
1521
1528
1522
In configuration files, you can use an array, and the items will be joined with a space.
0 commit comments