buildPythonPackage: use nix-update as the default update script (#435720)

authored by Martin Weinelt and committed by GitHub bd4d0905 7ff6e06d

+4 -9
+2
doc/release-notes/rl-2511.section.md
··· 127 127 recommendation](https://clickhouse.com/docs/faq/operations/production). Users 128 128 can continue to use the `clickhouse-lts` package if desired. 129 129 130 + - `buildPythonPackage` and `buildPythonApplication` now default to `nix-update-script` as their default `updateScript`. This should improve automated updates, since nix-update is better maintained than the in-tree update script and has more robust fetcher support. 131 + 130 132 ## Nixpkgs Library {#sec-nixpkgs-release-25.11-lib} 131 133 132 134 <!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
+2 -9
pkgs/development/interpreters/python/mk-python-derivation.nix
··· 10 10 # Whether the derivation provides a Python module or not. 11 11 toPythonModule, 12 12 namePrefix, 13 - update-python-libraries, 13 + nix-update-script, 14 14 setuptools, 15 15 pypaBuildHook, 16 16 pypaInstallHook, ··· 399 399 inherit disabled; 400 400 } 401 401 // { 402 - updateScript = 403 - let 404 - filename = head (splitString ":" finalAttrs.finalPackage.meta.position); 405 - in 406 - [ 407 - update-python-libraries 408 - filename 409 - ]; 402 + updateScript = nix-update-script { }; 410 403 } 411 404 // optionalAttrs (dependencies != [ ]) { 412 405 inherit dependencies;