Skip to content

Tracking issue: The great pythonOlder purge #312288

@Sigmanificient

Description

@Sigmanificient

Issue description

This issue aim to track a series of pull requests to drop support for old python 3 version that have reached end of life (python3 < 3.8). The goal of this maneuver is to simplify some python packages from theses outdated conditionals behaviors. It would also mean dropping packages that were mean for theses version such as functools32 or enum34

In the current state, there is many affected packages that needs the mentioned cleanup:

python version 3.0 3.2 3.3 3.4 3.5 3.6 3.7 3.8
packages affected 3 2 17 28 106 554 2001 1119

Meanwhile, nixpkgs does not support python38Packages at top level, and only the support for Python 3.11 and 3.12 is continuously guaranteed (at the date of writing).

As i discussed with @wegank, we came to the conclusion that it would be better to split this pull requests into manageable chunks that affects < 200 files each.

image

see: Status of Python versions

from PyPI website, they also currently support python 3.10, 3.9, and 2.7.

I am unsure on how to treat python 2.7 packages, and open for discussions about it.

Steps to reproduce

Technical details

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: enhancementAdd something new or improve an existing system.3.skill: sprintableA larger issue which is split into distinct actionable tasks5.scope: trackingLong-lived issue tracking long-term fixes or multiple sub-problems6.topic: pythonPython is a high-level, general-purpose programming language.
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions