Yueh-Shun Li
f2efb32a79
python2Packages.buildPythonPackage: port respect user-specified passthru attrs
...
Port to python2/mk-python-derivation.nix commit d6a757bb01
("buildPython*: prioritize user-specified passthru attrs").
2026-04-26 15:05:41 +08:00
Yueh-Shun Li
57c0190caf
python2Packages.buildPythonPackage: handle passthru with mkDerivation
...
Port to python2/mk-python-derivation.nix commit 21a1cf9686
("mkPythonPackage, mkPythonApplication:
handle passthru with mkDerivation").
2026-04-26 15:05:41 +08:00
nixpkgs-ci[bot]
0a57913992
Merge staging-next into staging
2026-04-21 00:32:45 +00:00
nixpkgs-ci[bot]
dcaefd38ef
Merge master into staging-next
2026-04-21 00:32:14 +00:00
Ben Siraphob
5fadc89f02
treewide: remove empty buildInputs assignments
2026-04-20 10:34:26 -07:00
Martin Weinelt
634df81a6b
python313: 3.13.12 -> 3.13.13
...
https://docs.python.org/release/3.13.13/whatsnew/changelog.html
Fixes: CVE-2026-4224, CVE-2026-3644, CVE-2026-2297
2026-04-08 23:32:08 +02:00
Martin Weinelt
e5a825f3cb
python314: 3.14.3 -> 3.14.4
...
https://docs.python.org/release/3.14.4/whatsnew/changelog.html
Fixes: CVE-2026-4224, CVE-2026-3644, CVE-2026-2297
2026-04-08 02:51:10 +02:00
Martin Weinelt
51c6e5d2b4
python315: 3.15.0a7 -> 3.15.0a8
...
https://docs.python.org/3.15/whatsnew/changelog.html#python-3-15-0-alpha-8
Fixes: CVE-2026-4224, CVE-2026-3644
2026-04-08 02:49:46 +02:00
Ihar Hrachyshka
b624ca79ab
python: apply hacl patch unconditionally
2026-03-22 14:16:04 -04:00
Martin Weinelt
bbfd20b61d
pkgsStatic.python314: fix build ( #502058 )
2026-03-22 13:11:33 +00:00
Ihar Hrachyshka
5e45722b67
pkgsStatic.python314: fix build
2026-03-21 19:12:33 -04:00
Lisanna Dettwyler
3887e60583
pythonDocs.html.python27: use https for sources
...
Signed-off-by: Lisanna Dettwyler <lisanna.dettwyler@gmail.com >
2026-03-21 12:31:04 -04:00
r-vdp
e2e702cb4e
Merge commit 'ea5f21f20569' into staging-next
...
# Conflicts:
# pkgs/by-name/ki/kitty/package.nix
2026-03-13 12:42:04 +01:00
Doron Behar
094f4cbf39
python3: propagate overrides of spliced pythons ( #498251 )
2026-03-13 11:12:28 +00:00
Doron Behar
20a0e1b210
python3: propagate overrides of spliced pythons
...
This is a more accurate resurrection of what was meant to be done in
6421482683
2026-03-13 12:56:21 +02:00
nixpkgs-ci[bot]
20fc1a16e1
Merge master into staging-next
2026-03-11 18:18:55 +00:00
Martin Weinelt
eb50eb4678
python315: 3.15.0a6 -> 3.15.0a7
...
https://docs.python.org/3.15/whatsnew/changelog.html#python-3-15-0-alpha-7
2026-03-11 14:10:58 +01:00
Doron Behar
825a7f002c
python3: avoid a small rec near passthruFun
2026-03-09 16:04:41 +02:00
nixpkgs-ci[bot]
efdd68f94b
Merge staging-next into staging
2026-03-06 18:13:08 +00:00
Martin Weinelt
f751ae3d25
python311: 3.11.14 -> 3.11.15
...
https://docs.python.org/release/3.11.15/whatsnew/changelog.html
2026-03-03 17:05:55 +01:00
Martin Weinelt
5c994fe2b1
python312: 3.12.12 -> 3.12.13
...
https://docs.python.org/release/3.12.13/whatsnew/changelog.html
2026-03-03 16:55:00 +01:00
nixpkgs-ci[bot]
381c7f4b77
Merge staging-next into staging
2026-02-23 18:22:42 +00:00
Sandro
5b90dbcbe6
stestrCheckHook: init ( #489221 )
2026-02-23 13:28:12 +00:00
Vinetos
38af642d2f
stestrCheckHook: init
...
This adds a useful hook to be used for projects that use stestr,
it is primiative at the moment but covers most scenarios for using
it.
This PR also changes a Python module to start using it, once it
lands, follow up PRs can update all of them to use it tree-wide.
Signed-off-by: Vinetos <contact+git@vinetos.fr >
2026-02-21 22:20:21 +01:00
nixpkgs-ci[bot]
5bbb1b1e97
Merge staging-next into staging
2026-02-15 18:08:20 +00:00
Martin Weinelt
b79da2786f
Merge remote-tracking branch 'origin/master' into staging-next
...
Conflicts:
pkgs/development/python-modules/bundlewrap/default.nix
pkgs/development/python-modules/coverage/default.nix
pkgs/development/python-modules/h5netcdf/default.nix
pkgs/development/python-modules/hypothesis/default.nix
pkgs/development/python-modules/numba/default.nix
pkgs/development/python-modules/optype/default.nix
pkgs/development/python-modules/setuptools-git-versioning/default.nix
pkgs/development/python-modules/sphinx/default.nix
2026-02-15 16:17:41 +01:00
Martin Weinelt
8ea6bde88d
treewide: prune pythonOlder 3.10/3.11
...
This is a post 3.10 removal cleanup.
2026-02-15 04:33:54 +01:00
Martin Weinelt
77ca080475
python310: drop
...
Reaches end of life before NixOS 26.05 and therefore has to leave early.
2026-02-15 03:17:23 +01:00
Stefan Frijters
0efd1693f7
python2Packages.mkPythonDerivation: move LANG into env for structuredAttrs
2026-02-13 00:23:37 +01:00
Stefan Frijters
2d73bd4b51
python3Packages.mkPythonDerivation: move LANG into env for structuredAttrs
2026-02-13 00:23:37 +01:00
K900
15a6983bd3
Merge remote-tracking branch 'origin/master' into staging-next
2026-02-11 21:30:26 +03:00
Martin Weinelt
ca2468533b
python315: 3.15.0a5 -> 3.15.0a6
...
https://docs.python.org/3.15/whatsnew/changelog.html#python-3-15-0-alpha-6
2026-02-11 18:44:41 +01:00
Doron Behar
6421482683
python3: let lib.mkScopeWithSplicing do its job
...
Fixes #476822 and #480467 . By itself this change doesn't trigger many
rebuilds, but it is easier to justify it in conjunction with the
previous commit.
Co-Authored-By: Colin <colin@uninsane.org >
2026-02-09 12:38:08 +02:00
K900
3c4102eef4
Merge remote-tracking branch 'origin/staging-next' into staging
2026-02-06 15:58:23 +03:00
quantenzitrone
55280fa564
various: rename references from libX11 to libx11
...
this shouldn't create any rebuilds
2026-02-06 00:24:34 +01:00
Martin Weinelt
b428db0f48
python313: 3.13.11 -> 3.13.12
...
https://docs.python.org/release/3.13.12/whatsnew/changelog.html
Fixes: CVE-2026-1299, CVE-2025-11468, CVE-2025-15282, CVE-2026-0672,
CVE-2026-0865
2026-02-04 03:44:12 +01:00
Martin Weinelt
08371b96c3
python314: 3.14.2 -> 3.14.3
...
https://docs.python.org/release/3.14.3/whatsnew/changelog.html
Fixes: CVE-2026-1299, CVE-2025-11468, CVE-2025-15282, CVE-2026-0672,
CVE-2026-0865
2026-02-04 03:38:12 +01:00
Philip Taron
76563817ee
wrapPythonPrograms: support structuredAttrs, modify gi-docgen and freecell-solver to verify ( #471986 )
2026-01-31 15:52:13 +00:00
nixpkgs-ci[bot]
79424fc2c3
Merge staging-next into staging
2026-01-30 12:11:07 +00:00
Stefan Frijters
052e8a9c58
python3.setupHook: use replaceVars instead of substituteAllInPlace
2026-01-28 17:43:58 +01:00
Yueh-Shun Li
773f5cc8c8
buildPythonPackage: overrideStdenvCompat: add position to warning message
...
Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk >
2026-01-27 10:46:17 +00:00
K900
3ac81a5564
Merge remote-tracking branch 'origin/staging-next' into staging
2026-01-26 21:15:56 +03:00
nixpkgs-ci[bot]
4f189086d0
Merge master into staging-nixos
2026-01-26 18:08:53 +00:00
quantenzitrone
7d8132a92c
treewide: remove references to the xorg namespace in pkgs (automated)
...
this creates some eval errors that will be fixed in the next commit
done with the following script:
```fish
\#!/usr/bin/env fish
set packagesjson (nix eval --impure --json --expr '
let
lib = import ./lib;
in
import pkgs/servers/x11/xorg/default.nix (lib.mapAttrs (
name: _:
if name == "lib" then
lib
else if name == "config" then
{ allowAliases = false; }
else
name
) (__functionArgs (import pkgs/servers/x11/xorg/default.nix))) { }
' | jq)
set one (grep '^ [A-Za-z0-9_-]*$' pkgs/servers/x11/xorg/default.nix | string trim | string replace -r '$' Z | sort | string sub -e -1)
set two (grep '^ [A-Za-z0-9_-]* = [A-Za-z0-9_-]*;$' pkgs/servers/x11/xorg/default.nix | cut -d= -f1 | string trim | string replace -r '$' Z | sort | string sub -e -1)
for arg in $one $two
set oname $arg
set nname (echo $packagesjson | jq -r .$oname)
if test $nname = null
echo (set_color red)warn:(set_color normal) unknown package xorg.$oname >&2
continue
end
echo $oname "->" $nname
# replace basic xorg.$name references
for file in (rg -F "xorg.$oname" --files-with-matches pkgs)
# special cases
sd -F "$oname = xorg.$oname;" "$nname = $nname;" $file
# replace
sd -F "xorg.$oname" "$nname" $file
# fixup function arguments
# prevent duplicate function args
if grep -E " ($oname|$nname),\$" $file >/dev/null
continue
end
if grep 'xorg\..' $file >/dev/null # case1: there is more so we can't just remove the function arg
if grep ' xorg,$' $file >/dev/null
sd ' xorg,$' " xorg,
$nname," $file
else if grep ' xorg ? .*,$' $file >/dev/null
sd 'xorg( ? .*),$' "xorg\$1,
$nname," $file
else
sd -F 'xorg,' "$nname,
xorg," $file
end
else # case there is no more xorg..* so we can just replace the function arg
sd 'xorg(| ? .*),.*$' "$nname," $file
end
end
end
nix fmt
```
2026-01-25 22:28:09 +01:00
quantenzitrone
c7c77c1aee
treewide: remove all uses of 'with xorg;' in pkgs
...
this shouldn't create any rebuilds
this was done manually by grepping for `with xorg` and `with pkgs.xorg`
2026-01-25 22:26:00 +01:00
Michael Daniels
006ecdbdeb
treewide: fix typos ( #479869 )
2026-01-24 21:36:44 +00:00
Yueh-Shun Li
f83867d2d4
buildPythonPackage: comment on passthru.__stdenvPythonCompat
2026-01-20 23:17:19 +08:00
nixpkgs-ci[bot]
635cb3e856
Merge staging-next into staging
2026-01-20 12:08:50 +00:00
Matt Sturgeon
e6959ad528
buildPython*: extend overrideStdenvCompat to fixed-point arguments ( #477208 )
2026-01-20 11:27:58 +00:00
Martin Weinelt
f85ec1fc02
buildPython*: run runtime dependency check hook for wheels ( #480159 )
2026-01-19 18:20:44 +00:00