2212 Commits

Author SHA1 Message Date
Nicolas Benes
5de6d42bcb pythonDocs: 3.14.6 -> 3.14.7 2026-09-08 21:07:06 +02:00
nixpkgs-ci[bot]
0b5ad00e26 Merge master into staging-next 2026-09-07 17:16:07 +00:00
Martin Weinelt
4e848da555 python315: 3.15.0rc1 -> 3.15.0rc2
https://docs.python.org/3.15/whatsnew/changelog.html#python-3-15-0rc2
2026-09-07 15:43:25 +02:00
Stefan Frijters
4deac8ebd8 python3.setupHook: enable structuredAttrs 2026-08-26 21:00:11 +02:00
nixpkgs-ci[bot]
c4f686aee3 Merge master into staging-next 2026-08-25 00:11:30 +00:00
John Ericson
5fb33f776b tk-8_5, tcl-8_5: Remove (#555574) 2026-08-24 20:52:36 +00:00
nixpkgs-ci[bot]
acebe565a8 Merge master into staging-next 2026-08-23 09:44:17 +00:00
John Ericson
c8e1365d31 pypy: Stop the prebuilt interpreters depending on Tcl/Tk 8.5
`prebuilt.nix` (3.10, 3.11) asked for Tcl/Tk 8.5 on Linux, but the
`_tkinter` extension in those tarballs is linked against `libtcl8.6.so`
and `libtk8.6.so`. It resolved anyway, because the tarball vendors its own
copy of both under `lib/`. So the declared dependency was doing nothing,
and `tkinter` -- which is stdlib, not an optional extra -- was quietly
running against a bundled Tcl that we do not update.

Point it at our 8.6 instead, and delete the vendored libraries so it has
to. The vendored *script* libraries have to go too: `init.tcl` checks the
exact patchlevel, so our 8.6.16 rejects the bundled 8.6.14 copy as "not
usable" and `Tcl_Init` fails. Note that the existing `installCheckPhase`
does not catch that, as `import tkinter` never creates an interpreter;
`tkinter.Tcl()` does.

`prebuilt_2_7.nix` genuinely needs 8.5 -- its `tklib_cffi` asks for
`libtcl8.5.so` and its `installPhase` does not keep the bundled `lib/` --
but it exists only to bootstrap the source build of PyPy2, where nothing
imports `tkinter`. Let the module go unresolved and drop it from the
import check rather than keep an end-of-life Tcl alive for it.

Assisted-by: Claude Code (Claude Opus 5)
2026-08-22 21:37:53 -04:00
Yueh-Shun Li
d0461e5ba7 python3Packages.unittestCheckHook: make discover optional (#550521) 2026-08-17 16:06:53 +00:00
Stefan Frijters
e25206301a python3.passthru.doc: enable strictDeps, structuredAttrs 2026-08-14 19:00:43 +02:00
nixpkgs-ci[bot]
b50ee340e0 Merge staging-next into staging 2026-08-14 00:23:05 +00:00
Martin Weinelt
937cdf1063 python311: 3.11.15 -> 3.11.16
https://docs.python.org/release/3.11.16/whatsnew/changelog.html
2026-08-13 15:17:56 +02:00
Martin Weinelt
688b25aceb python312: 3.12.13 -> 3.12.14
https://docs.python.org/release/3.12.14/whatsnew/changelog.html
2026-08-13 15:05:30 +02:00
Stefan Frijters
cc022802b4 python3: enable strictDeps 2026-08-12 20:34:32 +02:00
nixpkgs-ci[bot]
adf7cc8a0b Merge master into staging-next 2026-08-09 00:16:06 +00:00
Sigmanificient
9f90bb0e19 python3Packages.unittestCheckHook: make discover optional 2026-08-08 17:49:17 +02:00
R. Ryantm
a8e87d90d5 pythonDocs.html.python314: 3.14.6 -> 3.14.7 2026-08-08 15:10:44 +00:00
Martin Weinelt
f392f19a94 python313: 3.13.14 -> 3.13.15
https://docs.python.org/release/3.13.15/whatsnew/changelog.html
2026-08-05 18:30:56 +02:00
Martin Weinelt
0ef9e3a240 python314: 3.14.6 -> 3.14.7
https://docs.python.org/release/3.14.7/whatsnew/changelog.html
2026-08-05 18:30:55 +02:00
K900
2f4c2d4476 Merge remote-tracking branch 'origin/staging-next' into staging 2026-08-05 15:42:09 +03:00
Gaétan Lepage
3ca8e3cc3d pkgs/development: fix typos (#549385) 2026-08-05 08:57:03 +00:00
nixpkgs-ci[bot]
c93318c361 Merge staging-next into staging 2026-08-05 00:31:35 +00:00
Martin Weinelt
38464ddcc2 python315: 3.15.0b4 -> 3.15.0rc1
https://docs.python.org/3.15/whatsnew/changelog.html#python-3-15-0rc1
2026-08-04 23:12:45 +02:00
Ben Siraphob
f82dc8ebe9 pkgs/development: fix typos
Assisted-by: Claude Code (claude-opus-5)
2026-08-02 15:56:57 -07:00
nixpkgs-ci[bot]
4758201b3d Merge staging-next into staging 2026-07-28 18:30:07 +00:00
Eman Resu
ec07ae88e0 buildPythonPackage: only override bootstrap hooks once 2026-07-28 13:49:18 -04:00
Peder Bergebakken Sundt
85141fe0ee python3Packages.pythonMetadataCheckHook: fix typo 2026-07-27 16:48:01 +02:00
Peder Bergebakken Sundt
fbc1858e72 python3Packages.pythonMetadataCheckHook: avoid leaking internal variables 2026-07-27 16:47:49 +02:00
Eman Resu
5c483d4767 various: partially apply prefix/suffix/infix checks (#543869) 2026-07-26 21:41:24 +00:00
Eman Resu
ac2d0c5710 python3,python2: partially apply hasSuffix 2026-07-20 10:30:08 -04:00
K900
8a4bc4231f Merge remote-tracking branch 'origin/master' into staging-next 2026-07-18 20:16:46 +03:00
Martin Weinelt
ba6feaa09b python315: 3.15.0b4 -> 3.15.0b5
https://docs.python.org/3.15/whatsnew/changelog.html#python-3-15-0-beta-4
2026-07-18 16:21:15 +02:00
K900
1cb2e8437a Merge remote-tracking branch 'origin/master' into staging-next 2026-07-15 21:31:19 +03:00
K900
45ae10c84d Merge remote-tracking branch 'origin/master' into staging-next 2026-07-15 10:52:37 +03:00
Emily
1eaa3c57cb python3: drop x86_64-darwin mention in comment 2026-07-15 03:58:17 +01:00
Emily
fdb820602b treewide: drop simple x86_64-darwin mentions
To reproduce:

    $ nix run nixpkgs/3b32825de172d0bc85664f495edb096b10862524#ast-grep \
        -- scan --update-all --inline-rules '
          id: nix-x86_64-darwin
          language: nix
          rule:
            any:
              - pattern: "\"x86_64-darwin\""
                kind: list_expression > string_expression
              - pattern:
                  context: "{ \"x86_64-darwin\" = $EXPR; }"
                  selector: binding
              - pattern:
                  context: "{ x86_64-darwin = $EXPR; }"
                  selector: binding
          fix:
            template: ""
        ' pkgs
    $ nix run nixpkgs/3b32825de172d0bc85664f495edb096b10862524#ast-grep \
        -- scan --update-all --inline-rules '
          id: json-first-x86_64-darwin
          language: json
          rule:
            kind: object > pair:nth-child(1)
            has:
              pattern: "\"x86_64-darwin\""
              field: key
          fix:
            template: ""
            expandEnd: { regex: "," }
        ' pkgs
    $ nix run nixpkgs/3b32825de172d0bc85664f495edb096b10862524#ast-grep \
        -- scan --update-all --inline-rules '
          id: json-x86_64-darwin
          language: json
          rule:
            kind: object > pair
            has:
              pattern: "\"x86_64-darwin\""
              field: key
          fix:
            template: ""
            expandStart: { regex: "," }
        ' pkgs
    $ git restore pkgs/by-name/om/omnix/package.nix
    $ git diff --name-only -z \
        | nix shell nixpkgs/3b32825de172d0bc85664f495edb096b10862524#gnused \
            -c xargs -0 sed -i '/^$/N; /^\n\? \+$/d'
    $ treefmt
2026-07-15 03:58:16 +01:00
Yueh-Shun Li
c502237b42 buildPythonPackage: implement disabled with meta.problems.unsupportedPython
Implement the `disabled` argument behaviour with
meta.problems.unsupportedPython
instead of the ugly and buggy `lib.extendDerivation`.

For compatibility purposes,
keep the `passthru.disabled` attribute's overridable with overrideAttrs
while giving higher precedence to direct specification/overriding of
`meta.problems.unsupportedPython`,
making this commit safe to backport.
2026-07-11 23:12:54 +08:00
Robert Schütz
006c7936a2 python3Packages.pythonMetadataCheckHook: init 2026-07-08 19:20:37 -07:00
Martin Weinelt
5a6a726fc2 Merge remote-tracking branch 'origin/master' into staging-next 2026-07-04 20:07:10 +02:00
Robert Schütz
ff19be7fd1 python3Packages.pyprojectVersionPatchHook: init 2026-07-04 10:45:05 -07:00
nixpkgs-ci[bot]
b6a05ebc0d Merge staging-next into staging 2026-06-24 18:37:36 +00:00
Martin Weinelt
4361d1c65b python315: 3.15.0b2 -> 3.15.0b3
https://docs.python.org/3.15/whatsnew/changelog.html#python-3-15-0-beta-3
2026-06-24 15:00:18 +02:00
nixpkgs-ci[bot]
09352943f8 Merge staging-next into staging 2026-06-14 00:49:40 +00:00
Arne Keller
9e6dbeec61 pypy3: fix mainProgram attribute for nix run (#530787) 2026-06-13 21:37:34 +00:00
Nicolas Benes
f510bda3df pythonDocs: switch to stable URL, drop pdf-a4
The previous URL did not contain the patch version and therefore there
were hash changes to the fetched files. Switch to a more stable URL.
The pdf-a4 file format seems to be generated only for the .0 patch
release, so it is missing for later releases.
2026-06-13 16:52:56 +02:00
XlNTARO
47e5bac99a pypy3: fix mainProgram attribute for nix run 2026-06-11 19:50:12 +03:00
Martin Weinelt
584d8c9e35 python313: 3.13.13 -> 3.13.14
https://docs.python.org/release/3.13.13/whatsnew/changelog.html

Fixes: CVE-2026-4224, CVE-2026-3644, CVE-2026-2297
2026-06-11 17:53:51 +02:00
Martin Weinelt
2c67d1303c python314: 3.14.5 -> 3.14.6
https://docs.python.org/release/3.14.6/whatsnew/changelog.html
2026-06-11 17:53:22 +02:00
nixpkgs-ci[bot]
e3a2cd0596 Merge staging-next into staging 2026-06-11 13:19:31 +00:00
Emre Sahin
046a0c6211 python3.tests.condaExamplePackage: fix eval warning for buildInputs 2026-06-11 12:07:31 +02:00