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
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
nixpkgs-ci[bot]
566982b70a
Merge staging-next into staging
2026-06-06 12:29:09 +00:00
nixpkgs-ci[bot]
368e7de99b
Merge staging-next into staging
2026-06-05 00:47:55 +00:00
Martin Weinelt
2f6fa7d7fb
pythonDocs: init at 3.14, drop 3.10 ( #526551 )
2026-06-04 22:40:13 +00:00
Jonas Rembser
fa6a2e8f1f
python3: include ABI debug suffix d in executable (fixes FT+debug)
...
When instantiating an environment with the Python interpreter built
with both free threading (aka. without GIL) and `pydebug`, the value
of `passthru.executable` doesn't match any installed file. This was
noticed when building CI pipelines that require the Python interpreter
built with both debug features and free threading.
The cause is that `executable` was built from `libPrefix`, which only
tracks the `t` suffix from `--without-gil` and not the `d` suffix from
`--with-pydebug`. `libPrefix` doubles as the stdlib install directory,
and cpython deliberately shares that directory between debug and
non-debug builds of a given version, so the `d` is intentionally
absent there.
This slipped through because cpython only ever installs a
`python$VERSION -> python$LDVERSION` symlink (e.g. `python3.13 ->
python3.13d`). For debug-only builds the old code happened to ask for
`python3.13`, which is that symlink, so it worked by accident. For
FT+debug, `libPrefix` is `python3.13t`, but cpython installs no such
file; only `python3.13` (symlink) and `python3.13td` (binary).
Fix: append `d` to `executable` (and to the `cp<ver>` wheel ABI tag in
`pythonABITags`) when `enableDebug` is true.
Reproducer for the problem as a bash script:
```bash
set -euo pipefail
nixpkgs="${1:-<nixpkgs>}" # Either custom path if provided, or just <nixpkgs>
read -r -d '' expr <<EOF || true
let
pkgs = import ${nixpkgs} { };
py = pkgs.python313FreeThreading.override {
enableDebug = true;
self = py;
pythonAttr = "python313FreeThreading";
};
in py
EOF
executable=$(nix-instantiate --eval --json --expr "($expr).executable" | tr -d '"')
echo "passthru.executable = ${executable}"
out=$(nix-build --no-out-link --expr "$expr")
echo "store path: ${out}"
if [[ -e "${out}/bin/${executable}" ]]; then
echo "result: OK (binary exists)"
exit 0
fi
echo "result: FAIL (${out}/bin/${executable} not found)"
echo "actually installed:"
ls "${out}/bin/" | grep '^python3\.' | sed 's/^/ /'
exit 1
```
2026-06-03 13:22:42 +02:00
nixpkgs-ci[bot]
13a9af854d
Merge staging-next into staging
2026-06-03 00:55:16 +00:00
Nicolas Benes
cb40bc2538
pythonDocs: drop 3.10
2026-06-03 00:44:06 +02:00
Nicolas Benes
2f031afd37
pythonDocs: init at 3.14, add panicgh as maintainer
2026-06-03 00:40:09 +02:00
Martin Weinelt
b04a32132e
python315: 3.15.0b1 -> 3.15.0b2
...
https://docs.python.org/3.15/whatsnew/changelog.html#python-3-15-0-beta-2
2026-06-02 22:21:41 +02:00
Martin Weinelt
002ad5f042
python3Packages.buildPythonPackage: Don't copy input list when checking inputs ( #519252 )
2026-06-02 19:51:26 +00:00
Michael Daniels
61fdedcce5
Merge branch 'staging-next' into staging
2026-05-31 20:44:27 -04:00
Aliaksandr
574bf7de39
treewide: remove isPy27 and isPy2 flags
2026-05-31 15:15:50 +03:00
Aliaksandr
e6871d9800
python2: move cpython, mkPythonDerivation into resholve
2026-05-31 15:14:59 +03:00
Aliaksandr
2c87389c6f
python2-packages: move into resholve
2026-05-31 15:14:58 +03:00
Martin Weinelt
6c1d92dac9
python3Minimal: exclude zstd on minimal
...
Evade eval errors during bootstrap.
2026-05-30 03:53:02 +02:00
Martin Weinelt
adb4fccdc7
python3: 3.13 -> 3.14
...
For 26.11 Python 3.14 will be the default Python release while 3.13 is
mostly provided for legacy compat.
2026-05-30 03:53:02 +02:00
nixpkgs-ci[bot]
f50dc660d4
Merge staging-next into staging
2026-05-28 18:54:19 +00:00
Ethan Carter Edwards
0f11b5770b
python3: set meta.donationPage
...
Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com >
2026-05-27 15:40:31 -07:00
adisbladis
54bea898fa
python3Packages.buildPythonPackage: Don't copy input list when checking inputs
2026-05-21 15:08:32 +12:00
nixpkgs-ci[bot]
c4b9cbf9c2
Merge staging-next into staging
2026-05-19 13:06:53 +00:00
nixpkgs-ci[bot]
42e06c8075
Merge master into staging-next
2026-05-19 13:06:20 +00:00
adisbladis
887fe9af74
python3Packages.mkPythonEditablePackage: use structuredAttrs instead of passAsFile ( #515851 )
2026-05-19 12:46:27 +00:00
nixpkgs-ci[bot]
ac65a7e592
Merge staging-next into staging
2026-05-12 07:01:03 +00:00
nixpkgs-ci[bot]
1bd182852d
Merge master into staging-next
2026-05-12 07:00:02 +00:00
Eman Resu
bc3ca125eb
python/wrapper: use the python that's already added
...
requiredPythonModules always adds a python element.
2026-05-11 21:54:30 -04:00
Eman Resu
0f027769b2
buildPythonPackage: use nullable attr keys instead
2026-05-11 21:54:29 -04:00
Eman Resu
b57eb40ea7
buildPythonPackage: avoid validating python itself
2026-05-11 21:38:03 -04:00
Eman Resu
ce3dc05a4c
buildPythonPackage: save a function call
2026-05-11 21:38:03 -04:00
Martin Weinelt
194e729c3a
cpython: kill dead code
2026-05-10 17:05:43 +02:00
Martin Weinelt
04928a6180
python314: 3.14.4 -> 3.14.5
...
https://docs.python.org/release/3.14.5/whatsnew/changelog.html
Fixes: CVE 2026-3219
2026-05-10 17:02:06 +02:00
K900
7a535c8c93
Merge remote-tracking branch 'origin/master' into staging-next
2026-05-08 09:27:15 +03:00
Martin Weinelt
de92bac908
python315: 3.15.0a7 -> 3.15.0b1
...
https://docs.python.org/3.15/whatsnew/changelog.html#python-3-15-0-beta-1
2026-05-07 23:13:33 +02:00