Skip to content

No support for python3.9 even though this is not EOL #2975

@AyanSinhaMahapatra

Description

@AyanSinhaMahapatra

We recently encountered some issues when doing a pip install scancode-toolkit due to some silent changes in how click handles ProgressBar attributes, i.e. EnhancedProgressBar.is_hidden was renamed to EnhancedProgressBar.hidden. Our CI was also failing because of this as we test for latest versions of all dependencies on supported OS/python combinations.

See aboutcode-org/scancode-toolkit#4369 for more details on this.

We decided to use the new versions since we already had complex version constraints for click due to various regressions (like: #2832). We also test for all click versions we support to catch against regressions.

But this update does not work because starting click version 8.2.0, you are no longer supporting python3.9 with #2893

Note that because there was breaking changes and you've dropped a non-EOL python version simultaniously, we cannot use anymore latest versions of click going forward (or atleast untill python3.9 is EOL) since we plan to support using scancode-toolkit in all non-EOL python versions.

From https://palletsprojects.com/versions:
it supports all Python versions that are not within six months of end of life (EOL)

Seems like this change was introduced recently as click 8.1.8 supported python3.7 even though it was EOL for more than a year. While dropping support for EOL python versions is great and much welcomed, could you explain why you are dropping support for non-EOL versions since 6 months is a long time and as libraries we do need to support older python versions as they are still being used actively. IMHO being unable to use latest versions (with possible security updates) is worse than using non-EOL python versions.

Environment:

  • Python version: 3.9
  • Click version: 8.2.0 and above

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