-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
Open
Labels
5.scope: trackingLong-lived issue tracking long-term fixes or multiple sub-problemsLong-lived issue tracking long-term fixes or multiple sub-problems6.topic: pythonPython is a high-level, general-purpose programming language.Python is a high-level, general-purpose programming language.
Description
This issue tracks the transition from overridePythonAttrs to overrideAttrs for Python package overriding and the adoption of finalAttrs.
Preliminary works
- buildPython*: minor changes to prepare for restructuring #378566
- buildPython*: restructure in preparation for fixed-point argument support and
overridePythonAttrsdeprecation #375921 - treewide (Python packages): Use the buildPythonPackage-provided locale specification whenever appropriate #383766
finalAttrs referencing
Generic finalAttrs referencing
- buildPythonPackage: Enable direct attribute overriding via overrideAttrs (the non-staging ones) #376372
- buildPython*: make name-related attributes overridable via overrideAttrs #376714
- buildPython*: Enable direct attribute overriding via overrideAttrs (the staging ones) #377057
Test arguments handling
- buildPython*: pass check-related args whenever specified #376060
- treewide (Python packages): Use the buildPythonPackage-provided locale specification whenever appropriate #383766
- buildPythonPackage: redirect pre/postCheck to pre/postInstallCheck #379637
buildPythonPackage,buildPythonApplication: takeinstallCheck-related attributes directly #324124
overrideAttrs fixing and adoption
Incorporating overridePythonAttrs with overrideAttrs
- makeOverridablePythonPackage: simplify implementation and make compatible with
<pkg>.overrideAttrs#267296 - buildPythonPackage: preserve the
disabledeffect after<pkg>.overrideAttrs#376419
Deprecating overridePythonAttrs and its test argument mapping in favour of overrideAttrs
- TBD
Fixed-point arguments support
stdenv specification via <pkg>.override
- buildPython*: bring back buildPython*.override #366593
- Enable
stdenvcustomization through(buildPython*.override { inherit stdenv; })#271762 - tests.overriding: buildPythonPackage: test
stdenvcustomisation viabuildPythonPackage.override#455462 - buildPython*: simplify overrideStdenvCompat and add nested-override support #455764
- buildPython*: extend overrideStdenvCompat to fixed-point arguments #477208
Transitioning stdenv specification to <pkg>.override
Taking fixed-point arguments
- buildPython*: support fixed-point arguments #271387
- doc/python: document fixed-point arguments (#271387) #477149
Transitioning to fixed-point arguments
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
5.scope: trackingLong-lived issue tracking long-term fixes or multiple sub-problemsLong-lived issue tracking long-term fixes or multiple sub-problems6.topic: pythonPython is a high-level, general-purpose programming language.Python is a high-level, general-purpose programming language.