Skip to content

Upgrade to Python 3.10+ (3.9 broken anyway) #112

@athewsey

Description

@athewsey

agent-evaluation currently specifies Python 3.9+, as per:

...but:

  1. Python 3.9 will stop receiving security updates in 2025-10, and
  2. Support is already broken by various uses of | in type expressions - which was only introduced in Python 3.10 in PEP604. When I try to run pytest on a 3.9 environment, I see a slew of TypeError: unsupported operand type(s) for |: 'type' and 'NoneType' errors.

...So I probably suggest to just bump the listed dependency to 3.10+?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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