Skip to content

Install optional dependencies during test stage #123

@sethmlarson

Description

@sethmlarson
Collaborator

The test phase of the build pipeline is missing:

  • libmpdec
  • tkinter

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

Activity

self-assigned this
on May 7, 2024
JelleZijlstra

JelleZijlstra commented on May 7, 2024

@JelleZijlstra
Member

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

  • Maybe depends on actual TTY?
test_generated_cases skipped -- cases_generator directory could not be found
test_clinic skipped -- clinic directory could not be found
  • Maybe these only work if running in the whole repo?
test_dbm_gnu skipped -- No module named '_gdbm'
test_dbm_ndbm skipped -- No module named '_dbm'
  • Judging from the devguide, something like apt-get install libgdbm-dev should work
erlend-aasland

erlend-aasland commented on May 8, 2024

@erlend-aasland

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    Participants

    @JelleZijlstra@erlend-aasland@sethmlarson

    Issue actions

      Install optional dependencies during test stage · Issue #123 · python/release-tools