Skip to content

Walrus expression in 1.0.5 breaks Python 3.7 code #77

@wjsi

Description

@wjsi

Line:

elif source_profile := profile.get('source_profile'):

The walrus expression is supported since Python 3.8, and it causes SyntaxError in Python 3.7. You need to fix this or set python_requires>=3.8 in setup.py, and yank 1.0.5 release in pypi.

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