Commit Graph

2051 Commits

Author SHA1 Message Date
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
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
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
Yueh-Shun Li
de48b6a845 buildPython*: extend overrideStdenvCompat to fixed-point arguments
with `passthru.__stdenvPythonCompat`

Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>
2026-01-19 14:29:47 +08:00
Yueh-Shun Li
5b114f0534 buildPython*: overrideStdenvCompat: lower warnings down to the stdenv override value
If Nix supports lazy attribute names in the future,
this change will make `<python package>.override` warning-free
and make such warning (or future throw) remediateable
via another override.
2026-01-19 14:29:47 +08:00
Yueh-Shun Li
4ef0c2ded4 buildPython*: overrideStdenvCompat: abstract warning
Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>
2026-01-19 14:29:41 +08:00
Martin Weinelt
6a2319f8af python315: 3.15.0a4 -> 3.15.0a5
https://docs.python.org/3.15/whatsnew/changelog.html#python-3-15-0-alpha-5
2026-01-15 00:50:06 +01:00
Martin Weinelt
7465728763 buildPython*: run runtime dependency check hook for wheels 2026-01-14 21:58:06 +01:00
Martin Weinelt
c06e838d65 python315: 3.15.0a3 -> 3.15.0a4
https://docs.python.org/3.15/whatsnew/changelog.html#python-3-15-0-alpha-4
2026-01-14 01:38:58 +01:00
Ben Siraphob
c7e10647ea treewide: fix typos 2026-01-13 14:45:11 -05:00
Michael Daniels
5ed07317e9 treewide: change 'format = "other";' to 'pyproject = false;'
Entirely find-and-replace based.

A few usages that would cause rebuilds if changed remain.

This PR should have 0 rebuilds.
2026-01-12 17:50:37 -05:00
Robert Schütz
1a04744f74 treewide: remove superfluous disabled
There is no need to disable Python packages for Python versions that are
no longer in Nixpkgs.
This change was generated using the following script:

    pattern='^\s*disabled\s*=\s*pythonOlder\s*"3\.\([0-9]\|10\)"\s*;\s*$'
    for f in $(find -name '*.nix'); do
        grep -q "$pattern" "$f" || continue
        sed -i "/$pattern/d" "$f"
        if [ $(grep -c pythonOlder "$f") == 1 ]; then
            sed -i '/^\s*pythonOlder,\s*$/d' "$f"
        fi
        nixfmt "$f"
    done
2026-01-11 09:34:20 -08:00
Martin Weinelt
8b9ad97235 buildPython*: support fixed-point arguments (#271387) 2026-01-04 20:51:07 +00:00
Matt Sturgeon
193be27bbf buildPython*: include package name in stdenv warning
Co-authored-by: Leona Maroni <dev@leona.is>
2026-01-04 21:21:50 +01:00