Commit Graph

457 Commits

Author SHA1 Message Date
nixpkgs-ci[bot]
9553b76500 Merge staging-next into staging 2025-08-16 06:14:01 +00:00
K900
f4924fc36c Merge remote-tracking branch 'origin/master' into staging-next 2025-08-16 09:11:21 +03:00
Martin Weinelt
53582707b1 python314: 3.14.0rc1 -> 3.14.0rc2
https://docs.python.org/3.14/whatsnew/changelog.html#python-3-14-0rc2
2025-08-16 02:53:00 +02:00
Martin Weinelt
4345a37636 python313: 3.13.6 -> 3.13.7
https://docs.python.org/release/3.13.7/whatsnew/changelog.html
2025-08-14 23:14:35 +02:00
DavHau
bce0bb82a0 python3Minimal: refactor - add withMinimal flag
simplifies the interface of building cpython minimally
2025-08-09 19:04:51 +02:00
Martin Weinelt
838a7bde50 python313: 3.13.5 -> 3.13.6
https://docs.python.org/release/3.13.6/whatsnew/changelog.html
2025-08-07 13:48:01 +02:00
Martin Weinelt
71a749810c python314: 3.14.0b4 -> 3.14.0rc1
https://docs.python.org/3.14/whatsnew/changelog.html#python-3-14-0rc1
2025-07-23 00:32:31 +02:00
nixpkgs-ci[bot]
76b50d86bc Merge master into staging-next 2025-07-09 00:18:18 +00:00
Martin Weinelt
bae9fdacc3 python314: 3.14.0b3 -> 3.14.0b4
https://docs.python.org/3.14/whatsnew/changelog.html#python-3-14-0-beta-4
2025-07-08 18:56:10 +02:00
nixpkgs-ci[bot]
dc29423237 Merge staging-next into staging 2025-06-18 00:18:04 +00:00
nixpkgs-ci[bot]
93aa3b82df Merge master into staging-next 2025-06-18 00:17:19 +00:00
Martin Weinelt
79558756d1 python314: 3.14.0b2 -> 3.14.0b3
https://docs.python.org/3.14/whatsnew/changelog.html#python-3-14-0-beta-3
2025-06-18 00:40:46 +02:00
Martin Weinelt
c4fa80e7e3 python313: 3.13.4 -> 3.13.5 (#416039) 2025-06-14 00:19:47 +02:00
Martin Weinelt
70b32c168d python313: 3.13.4 -> 3.13.5
https://docs.python.org/release/3.13.5/whatsnew/changelog.html
2025-06-12 06:19:25 +02:00
DavHau
516e32cd7c python3Minimal: remove dependency on libffi
This makes python3Minimal mor minimal

When working on https://github.com/NixOS/nixpkgs/pull/405822 I assumed that libffi was a mandatory dependency of python, but it's not.
2025-06-11 11:44:17 +07:00
Martin Weinelt
05ed4c6594 python310: 3.10.17 -> 3.10.18
https://docs.python.org/release/3.10.18/whatsnew/changelog.html

Fixes: CVE=2024-12718, CVE-2025-4138, CVE-2025-4330, CVE-2025-4517
2025-06-04 19:27:10 +02:00
Martin Weinelt
3fffba538e python311: 3.11.12 -> 3.11.13
https://docs.python.org/release/3.11.13/whatsnew/changelog.html

Fixes: CVE=2024-12718, CVE-2025-4138, CVE-2025-4330, CVE-2025-4517
2025-06-04 19:27:10 +02:00
Martin Weinelt
8cbadfa068 python312: 3.12.10 -> 3.12.11
https://docs.python.org/release/3.12.11/whatsnew/changelog.html

Fixes: CVE-2024-12718, CVE-2025-4138, CVE-2025-4330, CVE-2025-4517
2025-06-04 19:27:09 +02:00
Martin Weinelt
c83cbd4c6f python313: 3.13.3 -> 3.13.4
https://docs.python.org/release/3.13.4/whatsnew/changelog.html

Fixes: CVE-2024-12718, CVE-2025-4138, CVE-2025-4330, CVE-2025-4517
2025-06-04 19:27:05 +02:00
K900
a3612e2210 Merge remote-tracking branch 'origin/staging-next' into staging 2025-05-28 11:42:18 +03:00
Martin Weinelt
d90442cfc0 python314: 3.14.0-b1 -> 3.14.0-b2
https://docs.python.org/3.14/whatsnew/changelog.html#python-3-14-0-beta-2
2025-05-27 09:22:37 +02:00
Martin Weinelt
033d93e793 python3: 3.12.10 -> 3.13.3
Updates the default Python version to 3.13 for the NixOS 25.11 release
cycle. We still keep recursing into python312Packages and
python313Packages.
2025-05-23 16:27:16 +02:00
nixpkgs-ci[bot]
bb9e15a0e1 Merge staging-next into staging 2025-05-17 18:05:50 +00:00
DavHau
b634edb1a4 python3Minimal: make it truly minimal
Make python3 minimal truly minimal by disabling some more dependencies.

This makes it easy to bootstrap python.

After this, the only remaining runtime deps for python3Minimal are:
- bash (for launching subprocesses with shell=True)
- libc
- libgcc
- libffi

All remaining deps seem to be fundamental and cannot be further reduced, except bash which could potentially be removed and replaced with `$SHELL` at runtime.

Done:
- add some more withXXX switches to the cpython package
- use new switches in python3Minimal to disable some deps
- set some other deps to null in python3Minimal
- Set `allowedReferences` to guarantee that the closure remains minimal in the future.
2025-05-13 01:02:39 +07:00
FliegendeWurst
2d23255ff5 pypy{27,310}: 7.3.17 -> 7.3.19, pypy311: init at 7.3.19 2025-05-09 08:53:22 +02:00
Martin Weinelt
eca03fc2f3 python314: 3.14.0a7 -> 3.14.0b1
https://docs.python.org/3.14/whatsnew/changelog.html#python-3-14-0-beta-1
2025-05-08 17:24:42 +02:00
Vladimír Čunát
bf01260310 pypy: fix prebuild hash for aarch64-linux (#403361) 2025-05-05 10:49:34 +02:00
Tristan Ross
178e906929 pypy: fix prebuild hash for aarch64-linux 2025-05-01 10:15:31 -07:00
Ihar Hrachyshka
dd0f03a56c treewide: remove usage of deprecated apple_sdk framework stubs
They are not doing anything right now. This is in preparation for their
complete removal from the tree.

Note: several changes that affect the derivation inputs (e.g. removal of
references to stub paths in build instructions) were left out. They will
be cleaned up the next iteration and will require special care.

Note: this PR is a result of a mix of ugly regex (not AST) based
automation and some manual labor. For reference, the regex automation
part was hacked in: https://github.com/booxter/nix-clean-apple_sdk

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
2025-04-19 20:28:20 -04:00
K900
73a91e9c9d Merge remote-tracking branch 'origin/staging-next' into staging 2025-04-13 09:07:29 +03:00
Martin Weinelt
8e93fb0f32 python39: drop before the 25.05 branch-off
End of security support is scheduled for 2025-10-31, which does not cover
the complete 25.05 release cycle.
2025-04-13 01:26:42 +02:00
Martin Weinelt
c22011ba99 python314: 3.14.0a6 -> 3.14.0a7
https://docs.python.org/3.14/whatsnew/changelog.html#python-3-14-0-alpha-7
2025-04-09 14:21:21 +02:00
Martin Weinelt
8b55cf6245 python313: 3.13.2 -> 3.13.3
https://docs.python.org/release/3.13.2/whatsnew/changelog.html
2025-04-09 14:21:21 +02:00
Martin Weinelt
090848175d python311: 3.11.11 -> 3.11.12
https://docs.python.org/release/3.11.11/whatsnew/changelog.html
2025-04-09 14:21:21 +02:00
Martin Weinelt
2eeda516c8 python310: 3.10.16 -> 3.10.17
https://docs.python.org/release/3.10.16/whatsnew/changelog.html
2025-04-09 14:21:20 +02:00
Martin Weinelt
51b69a3198 python39: 3.9.21 -> 3.9.22
https://docs.python.org/release/3.9.22/whatsnew/changelog.html
2025-04-09 14:21:20 +02:00
Martin Weinelt
8ec5027c89 python312: 3.12.9 -> 3.12.10
https://docs.python.org/release/3.12.10/whatsnew/changelog.html
2025-04-09 13:51:07 +02:00
jopejoe1
578d77eeab pythonInterpreters.pypy39_prebuilt: put deprecation behinde allowAliases 2025-04-03 17:15:54 +02:00
Silvan Mosberger
374e6bcc40 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](8616af08d9/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
Martin Weinelt
684efdc40c python314: 3.14.0a5 -> 3.14.0a6
https://docs.python.org/3.14/whatsnew/changelog.html#python-3-14-0-alpha-6
2025-03-15 16:07:11 +01:00
Martin Weinelt
58cab06b5e python314: 3.14.0a4 -> 3.14.0a5
https://docs.python.org/3.14/whatsnew/changelog.html#python-3-14-0-alpha-5
2025-02-13 01:44:10 +01:00
Martin Weinelt
e641f79cd1 cpython: provide libuuid for the _uuid module (#377458)
* util-linuxMinimal: build without pam and shadow

These depend on python via audit preventing the use of libuuid from
util-linux in python builds.

* cpython: provide libuuid for the _uuid module

Relying on libuuid offers synchronization primitives, so that "no two
processes can obtain the same UUID"¹.

[1] https://docs.python.org/3/library/uuid.html#module-uuid
2025-02-08 16:16:43 +01:00
Martin Weinelt
5628a3fb23 python312: 3.12.8 -> 3.12.9
https://docs.python.org/release/3.12.9/whatsnew/changelog.html
2025-02-04 23:56:43 +01:00
Martin Weinelt
0690e42a7c python313: 3.13.1 -> 3.13.2
https://docs.python.org/release/3.13.2/whatsnew/changelog.html
2025-02-04 23:56:42 +01:00
Martin Weinelt
94e717e8ff cpython: provide libuuid for the _uuid module
Relying on libuuid offers synchronization primitives, so that "no two
processes can obtain the same UUID"¹.

[1] https://docs.python.org/3/library/uuid.html#module-uuid
2025-01-29 03:00:56 +01:00
natsukium
6c7c9055de python314: 3.14.0a3 -> 3.14.0a4
https://docs.python.org/3.14/whatsnew/changelog.html#python-3-14-0-alpha-4
2025-01-17 19:53:00 +09:00
Martin Weinelt
b734fd2caf python314: 3.14.0a2 -> 3.14.0a3
https://docs.python.org/3.14/whatsnew/changelog.html#python-3-14-0-alpha-3
2025-01-17 19:47:29 +09:00
FliegendeWurst
a104720c3e pypy310: 7.3.12 -> 7.3.17 2025-01-03 11:53:27 +01:00
FliegendeWurst
98f7e5a8b0 pypy27: 7.3.12 -> 7.3.17 2025-01-03 11:53:27 +01:00
Gaetan Lepage
8ea14f4ba1 rustpython: move to by-name 2024-12-30 22:28:02 +01:00