Skip to content

commitizen 4.8.3 includes dependency importlib_metadata for Python > 3.9 #1525

Description

@jakob-keller

Description

importlib_metadata is only required for Python <= 3.9. The previous dependency specification was correctly restricted.

edb21df caused this regression.

Steps to reproduce

Install commitizen on Python 3.10+, e.g. via (uv) pip install commitizen==4.8.3 -> importlib_metadata is installed.

Current behavior

importlib_metadata is installed, but not actually needed. Previous versions of commitizens did not cause importlib_metadata to be installed on Python >=3.10.

Desired behavior

Installing commitizen should not trigger installation of importlib_metadata on Python >=3.10.

Screenshots

No response

Environment

Commitizen Version: 4.8.3

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions