Skip to content

Spurious test failures on Python 3.7 #919

Description

@JamesParrott

This is the typical 'failure' seen all the time when testing on EOL Python versions. I'm guessing Github's setup-python action, and/or Ubuntu 24.04 have dropped Python 3.7 support.

Image

Some possible fixes that worked for me in the past are:

  • Run the action in a Python 3.7 docker container, instead of directly on the Ubuntu host
  • LizardByte/actions/actions/setup-python instead (uses pyenv under the hood)
  • For newer versions thatn 3.7, installing the required Python with uv works, but I don't believe they support 3.7 any more.
  • Perhaps use tox to create its required Python envs itself?

Or drop support for Python 3.7 of course.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: AvailableNo one has claimed responsibility for resolving this issue.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions