summaryrefslogtreecommitdiff
path: root/pkgs/development/interpreters/python/mk-python-derivation.nix
AgeCommit message (Collapse)Author
6 daysbuildPython*: extend overrideStdenvCompat to fixed-point argumentsYueh-Shun Li
with `passthru.__stdenvPythonCompat` Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>
2026-01-04buildPython*: support fixed-point arguments (#271387)Martin Weinelt
2026-01-01mk-python-derivation: fix typodmyTRUEk
2025-12-18buildPython*: format expressionsYueh-Shun Li
2025-12-18buildPython*: support fixed-point arguments via lib.extendMkDerivationYueh-Shun Li
Postpone formatting to minimize diff and to ease merging.
2025-12-17buildPythonPackage: chore: remove unnecessary set updateYueh-Shun Li
2025-10-23buildPython*: allow stdenv customization through <function>.overrideYueh-Shun Li
2025-09-29python3Packages.buildPythonPackage: remove ineffective outputs cleanAttrsYueh-Shun Li
2025-09-29python3Packages.buildPythonPackage: make ↵Yueh-Shun Li
passthru.{dependencies,build-system} overridable
2025-09-29python3Packages.buildPythonPackage: pass passthru.dependencies empty or notYueh-Shun Li
2025-09-29python3Packages.buildPythonPackage: use pythonRelaxDepsHook iff related ↵Yueh-Shun Li
attributes non-empty
2025-09-29python3Packages.buildPythonPackage: make src overridableYueh-Shun Li
2025-09-29python3Packages.buildPythonPackage: make passthru.pyproject overridableYueh-Shun Li
2025-09-29python3Packages.buildPythonPackage: add internal helper getFinalPassthruYueh-Shun Li
Add getFinalPassthru, an internal helper function that produces informative error message when an atttribute is not found in `finalAttrs.passthru`.
2025-09-02python: Allow users to set nativeInstallCheckInputs and installCheckInputsRoss Smyth
to make consistent with the rest of nixpkgs
2025-08-22buildPythonPackage: use nix-update as the default update scriptMartin Weinelt
Much more robust and supports various fetchers like cargo, npm or yarn.
2025-07-24treewide: run nixfmt 1.0.0Wolfgang Walther
2025-07-02buildPython*: throw on empty formatMartin Weinelt
This is the ratchet that disallows introducing new python packages that do not define a package format.
2025-05-24Merge staging-next into stagingnixpkgs-ci[bot]
2025-05-23buildPythonPackage: preserve the `disabled` effect after ↵Martin Weinelt
`<pkg>.overrideAttrs` (#376419)
2025-04-30buildPython*: pass check-related args whenever specifiedYueh-Shun Li
Pass - disabledTestMarks - disabledTestPaths - disabledTests - enabledTestMarks - enabledTestPaths - enabledTests - pytestFlags - pytestFlagsArray - unittestFlags - unittestFlagsArray whenever they are specified, no matter if doCheck is true or if they are empty lists. Simplify the buildPython* argument handling and bring us closer to the deprecation of overridePythonAttrs and the adoption of fixed-point arguments.
2025-04-11buildPython*: fix the disabled functionality for overrideAttrs-Yueh-Shun Li
2025-03-23python3Packages.pytestCheckHook: support enabledTestMarks and disabledTestMarksYueh-Shun Li
2025-03-23python3Packages.pytestCheckHook: support enabledTestsYueh-Shun Li
2025-03-23python3Packages.pytestCheckHook: support enabledTestPathsYueh-Shun Li
2025-03-07buildPythonPackage: simplify check-related attribute inheritanceYueh-Shun Li
2025-03-02buildPythonPackage: add and use lib inheritanceYueh-Shun Li
2025-03-02buildPythonPackage: sort lib inheritanceYueh-Shun Li
2025-03-02buildPythonPackage: remove obsolete lib inheritanceYueh-Shun Li
2025-03-02buildPythonPackage: format expressionYueh-Shun Li
2025-02-08buildPython*: make name-related attributes overridable via overrideAttrs ↵Martin Weinelt
(#376714)
2025-02-04buildPython*: always specify attributes catchConflicts and ↵Yueh-Shun Li
dontWrapPythonPrograms Always specify catchConflicts and dontWrapPythonPrograms. Make them overrideAttrs-overridable.
2025-02-04buildPython*: make name-relaed attributes overridable via overrideAttrsYueh-Shun Li
Make name, pname and version overridable via overrideAttrs for Python packgaes constructed with buildPython*.
2025-02-03buildPython*: fix mismergeK900
2025-02-03Merge remote-tracking branch 'origin/master' into staging-nextK900
2025-02-02Merge remote-tracking branch 'origin/master' into staging-nextK900
2025-02-02buildPython*: format expression after restructuringYueh-Shun Li
2025-02-02buildPython*: remove redundant parenthesisYueh-Shun Li
This commit is intentionally unformatted for smoother merging and rebasing experience.
2025-02-02buildPython*: move argument-dependent let-in variables down below finalAttrsYueh-Shun Li
This commit is intentionally unformatted for smoother merging and rebasing experience.
2025-02-02buildPython*: abstract out transformDrvYueh-Shun Li
2025-01-24buildPython*: use finalAttrs.finalPackage for passthru attribute valuesYueh-Shun Li
2025-01-24buildPython*: move the format'-related assertion down to its valueYueh-Shun Li
2025-01-24buildPython*: prioritize user-specified passthru attrsYueh-Shun Li
2025-01-09unittestCheckHook: handle unittestFlagsArray `__structuredAttrs`-agnosticallyYueh-Shun Li
Take unittestFlags as the new and conforming interface. Keep unittestFlagsArray as is.
2025-01-09pytestCheckHook: support __structuredAttrsYueh-Shun Li
Add flag pytestFlags as the new, conforming interface replacing pytestFlagsArray. Stop Bash-expanding disabledTests and disabledTestPaths. Handle disabledTestPaths with `pytest --ignore-glob <path>` to keep globbing support. Check if each path glob matches at least one path using the `glob` module from the Python standard library. Also make buildPythonPackage and buildPythonApplication stop escaping the elements of disabledTests and disabledTestPaths.
2025-01-09mk-python-derivation: passthru `disabled`Peder Bergebakken Sundt
Enables outside testing of whether a package is supported for the current interpreter
2024-12-10treewide: format all inactive Nix filesSilvan Mosberger
After final improvements to the official formatter implementation, this commit now performs the first treewide reformat of Nix files using it. This is part of the implementation of RFC 166. Only "inactive" files are reformatted, meaning only files that aren't being touched by any PR with activity in the past 2 months. This is to avoid conflicts for PRs that might soon be merged. Later we can do a full treewide reformat to get the rest, which should not cause as many conflicts. A CI check has already been running for some time to ensure that new and already-formatted files are formatted, so the files being reformatted here should also stay formatted. This commit was automatically created and can be verified using nix-build https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \ --argstr baseRev b32a0943687d2a5094a6d92f25a4b6e16a76b5b7 result/bin/apply-formatting $NIXPKGS_PATH
2024-10-14mkPythonPackage, mkPythonApplication: handle `passthru` with ↵OTABI Tomoya
`stdenv.mkDerivation` instead of `lib.extendDerivation` (#347130)
2024-10-08mkPythonPackage, mkPythonApplication: handle passthru with mkDerivationYueh-Shun Li
2024-09-25Merge branch 'master' into staging-nextArtturin