Skip to content

Consider dropping support for unsupported Pythons? #157

@movermeyer

Description

@movermeyer

Things are getting harder to support both modern versions of Python alongside old ones.
This issue will be a place where I can document the relevant information, and any decisions going forward.


  • Python 2 is no longer available in the Ubuntu Docker image
  • pip and tox removed support for Python < 3.8

So as a result I don't update our benchmarking numbers for Python < 3.8 anymore.

It might be time to give in and drop support for older versions.
Going forward, we might decide that we'll only support to versions of Python that are still supported by upstream.

Benefits

Detriments

  • Some users wouldn't be able to use the latest versions of ciso8601:

Last month's (2024-10) download stats:

category percent downloads
3.14 0.00% 13
3.13 0.06% 2,708
3.12 3.69% 168,627
3.11 20.38% 930,445
3.10 40.81% 1,862,952
3.9 10.09% 460,599
3.8 8.93% 407,673
3.7 1.57% 71,752
3.6 4.24% 193,677
3.5 0.00% 9
3.4 0.00% 2
2.7 0.14% 6,582
null 10.07% 459,887
Total 4,564,926

So at least 14.88% of downloads are from unsupported versions (though 8.93% is from the very recently unsupported 3.8 so we might see that drop quickly in the coming months).

This would of course be a breaking change, so we'd have a major version bump for it.

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