Skip to content

limit tomli dependency to python < 3.11 #95

@tobypeterson

Description

@tobypeterson

The only use of tomli is in genreqs.py:

try:
    import tomllib  # Python 3.11+
except ImportError:
    import tomli as tomllib  # fallback pour Python <3.11

However, the dependency is declared unconditionally - should add ; python_version < "3.11"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions