Skip to content

Remove astunparse for newer pyython #1192

@matejsp

Description

@matejsp

astunparse is not maintaned library and is still introducing six dependency in our projects.
It seems that it is used only 3.9 and less.
https://github.com/bufbuild/protoc-gen-validate/blob/main/python/protoc_gen_validate/validator.py#L15-L19

I propose adding astunparse to only old pythons.

Like for example:
https://github.com/pandas-dev/pandas/blob/v1.5.3/setup.cfg#L34-L39

Problematic line:
https://github.com/bufbuild/protoc-gen-validate/blob/main/python/setup.cfg#L24

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementExtend or improve functionalityGood First IssueNewcomer-friendly issueHelp WantedCommunity support requestedPythonPython language support

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions