python / release-tools

Scripts for making (C)Python releases
39 stars 33 forks source link

Install optional dependencies during test stage #123

Open sethmlarson opened 6 months ago

sethmlarson commented 6 months ago

The test phase of the build pipeline is missing:

It would be nice to copy what's being done on the CPython repository so we can properly run the entire test suite.

JelleZijlstra commented 6 months ago

For what it's worth I looked through https://github.com/python/release-tools/actions/runs/8992970829/job/24703944115 and looked at all skipped tests. Most are Windows-specific and obviously can't run on the Linux runner, but I noticed the following that sound like they could possibly work (in addition to decimal and tkinter):

test_ioctl skipped -- Unable to open /dev/tty

test_generated_cases skipped -- cases_generator directory could not be found
test_clinic skipped -- clinic directory could not be found
test_dbm_gnu skipped -- No module named '_gdbm'
test_dbm_ndbm skipped -- No module named '_dbm'
erlend-aasland commented 6 months ago

See also .github/workflows/posix-deps-apt.sh in the cpython repo.