Skip to content

Using a deprecated version string for click #27

Open
@crlane

Description

@crlane
.venv/lib/python3.13/site-packages/click_aliases/__init__.py:10
  /Users/crlane/projects/rpo/.venv/lib/python3.13/site-packages/click_aliases/__init__.py:10: DeprecationWarning: The '__version__' attribute is deprecated and will be removed in Click 9.1. Use feature detection or 'importlib.metadata.version("click")' instead.
    _click7 = click.__version__[0] >= "7"

Using latest version (1.0.5), warnings are thrown. Can be changed without much impact I think. I'll try to work up a PR.

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