Martin Weinelt
c83a2227bb
python313: 3.13.10 -> 3.13.11
...
https://docs.python.org/release/3.13.11/whatsnew/changelog.html
2025-12-06 00:03:25 +01:00
Martin Weinelt
27dcfd3e04
cpython: fix gh-142214 on 3.14.1
...
Fixes two regressions in dataclasses.
2025-12-05 16:24:33 +01:00
Martin Weinelt
ae4f7fd1e9
cpython: fix gh-142218 on 3.13.10 and 3.14.1
...
Fixes split table dictionary crash regression.
2025-12-05 02:40:35 +01:00
Martin Weinelt
a2ccc79edb
python314: 3.14.0 -> 3.14.1
...
https://docs.python.org/release/3.14.1/whatsnew/changelog.html
2025-12-03 10:12:17 +01:00
Martin Weinelt
367dac5dcf
python313: 3.13.9 -> 3.13.10
...
https://docs.python.org/release/3.13.10/whatsnew/changelog.html
2025-12-03 10:12:14 +01:00
nixpkgs-ci[bot]
d3cf03ff89
Merge staging-next into staging
2025-11-26 06:07:32 +00:00
Guillaume Girol
8a2af5ab6f
cross: Fix shebang of installed python scripts ( #462993 )
2025-11-24 20:09:11 +00:00
Martin Weinelt
3f07d3c307
python315: 3.15.0a1 -> 3.15.0a2
...
https://docs.python.org/3.15/whatsnew/changelog.html#python-3-15-0-alpha-2
2025-11-23 17:20:25 +01:00
Guillaume Girol
6724e26a08
Fix shebang of installed python scripts
...
Closes: https://github.com/NixOS/nixpkgs/pull/449340
Fixes: https://github.com/NixOS/nixpkgs/issues/449325
2025-11-18 12:00:00 +00:00
qbisi
abe61db737
python-env: wrap python executable with --resolve-argv0
...
This commit, together with https://github.com/NixOS/nixpkgs/pull/442540 ,
changes the way python environments are built:
* When generating wrappers for python executables, we inherit argv[0]
from the wrapper. This causes python to initialize its configuration
in the environment with all the correct paths.
* We also resolve argv[0] to absolute path when invoking python from
PATH. This helps set python's prefix correctly on Darwin.
The end result is that python environments no longer appear to be venvs,
and behave more like a vanilla python installation. In addition it's
possible to create a venv using an environment and use packages from
both the environment and the venv.
2025-11-16 11:19:14 +08:00
Martin Weinelt
9e9a4bea72
python: fix nixenv test ( #457133 )
2025-11-03 22:04:37 +00:00
qbisi
14fe4b34de
python: fix nixenv test
2025-10-31 09:08:04 +08:00
nixpkgs-ci[bot]
c522ea5070
Merge staging-next into staging
2025-10-28 18:06:54 +00:00
Philip Taron
01898764b6
treewide: replace "yes" else "no" usages to lib.boolToYesNo ( #442387 )
2025-10-28 16:25:46 +00:00
K900
c42a763484
Merge remote-tracking branch 'origin/staging-next' into staging
2025-10-27 21:12:17 +03:00
Philip Taron
4160763d74
various: lib usage improvements - prefer elem over any for list inclusion conditions ( #455789 )
2025-10-27 13:21:20 +00:00
K900
0eb2b2c825
Merge remote-tracking branch 'origin/staging-next' into staging
2025-10-27 10:53:50 +03:00
h7x4
7720a6246f
pypy: lib.mapAttrsToList -> lib.attrsNames
2025-10-26 15:33:34 +09:00
h7x4
92aa43a0df
pypy3: lib.mapAttrsToList -> lib.attrsNames
2025-10-26 15:33:34 +09:00
h7x4
ff17d6952f
pypy: lib.any -> lib.elem
2025-10-26 15:31:35 +09:00
K900
0b0c249f09
Merge remote-tracking branch 'origin/staging-next' into staging
2025-10-25 10:00:19 +03:00
sternenseemann
0443b98ab3
buildPython*: unconditionally add .override
...
To be able to splice, we can't fail to eval before returning an
attribute set. By checking for f ? override, we need to force f which
isn't always possible, whereas mirrorFunctionArgs serves as an
indirection which wraps the inner thunks in an attribute set that can
always be returned. Fortunately, there should be no case when f
evaluates successfully and does not have the override attribute, so we
can just remove the condition.
This fixes evaluation of buildPython* based packages in certain splicing
situations by being lazier. An example of this is
pkgsCross.ghcjs.buildPackages.nixpkgs-openjdk-updater on staging right
now (ff5098e).
2025-10-25 00:15:34 +02:00
Yueh-Shun Li
e05528c65f
buildPython*: warn about deprecated argument stdenv
...
On Nixpkgs >= 26.05 (or precisely, oldest supported release >= 25.11),
warn about the use of buildPython*'s deprecated argument `stdenv`.
Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk >
2025-10-23 14:56:56 +08:00
Yueh-Shun Li
c4e3b67afb
buildPython*: allow stdenv customization through <function>.override
2025-10-23 14:51:18 +08:00
nixpkgs-ci[bot]
882482ed0e
Merge staging-next into staging
2025-10-22 19:50:01 +00:00
Yueh-Shun Li
7a4ad371b1
buildPython*: bring back buildPython*.override ( #366593 )
2025-10-22 19:20:10 +00:00
Yueh-Shun Li
cce0f3f300
buildPython*: bring back buildPython*.override
...
Fix `makeOverridablePythonPackage` in python-package-base.nix
and unshadow `buildPython*.override`.
This makes it possible to override the dependencies of buildPython*.
E.g., `buildPythonPackage.override { unzip = unzip-custom; }`
returns a derived version of `buildPythonPackage` with
the `unzip` package overridden with `unzip-custom`.
2025-10-23 03:08:33 +08:00
Aliaksandr
80f12557f5
treewide: replace "yes" else "no" usages to lib.boolToYesNo
2025-10-21 16:04:34 +03:00
Martin Weinelt
cf974c4169
python: fix venv creation ( #442540 )
2025-10-19 18:34:47 +00:00
nixpkgs-ci[bot]
a6b2560cff
Merge staging-next into staging
2025-10-15 18:06:33 +00:00
nixpkgs-ci[bot]
003c57b969
Merge master into staging-next
2025-10-15 18:05:52 +00:00
Martin Weinelt
6785773052
python315: init add 3.15.0a1
...
https://docs.python.org/3.15/whatsnew/changelog.html#python-3-15-0-alpha-1
2025-10-15 18:01:30 +02:00
Martin Weinelt
f8de5310fb
python313: 3.13.8 -> 3.13.9
...
https://docs.python.org/release/3.13.9/whatsnew/changelog.html
2025-10-15 00:24:52 +02:00
Philip Taron
eda556d94b
treewide: remove usages of obsolete pie hardening flag ( #449771 )
2025-10-10 15:17:28 -07:00
Martin Weinelt
537add7b3d
python312: 3.12.11 -> 3.12.12 ( #450493 )
2025-10-10 11:33:23 +02:00
nixpkgs-ci[bot]
7e9e7583ef
Merge master into staging-next
2025-10-10 00:16:30 +00:00
Martin Weinelt
236ccf8c35
python312: 3.12.11 -> 3.12.12
...
https://docs.python.org/release/3.12.12/whatsnew/changelog.html
2025-10-10 02:00:32 +02:00
Martin Weinelt
db94f71cf6
python310: 3.10.18 -> 3.10.19
...
https://docs.python.org/release/3.10.19/whatsnew/changelog.html
2025-10-10 00:47:32 +02:00
Martin Weinelt
e4bf3d7976
python311: 3.11.13 -> 3.11.14
...
https://docs.python.org/release/3.11.14/whatsnew/changelog.html
2025-10-10 00:46:51 +02:00
Luna Nova
e7fbed853b
treewide: remove usages of obsolete pie hardening flag
2025-10-09 10:13:03 -07:00
nixpkgs-ci[bot]
bd43b58711
Merge master into staging-next
2025-10-08 00:16:11 +00:00
dish
eb590fd241
python313: 3.13.7 -> 3.13.8
...
https://docs.python.org/release/3.13.8/whatsnew/changelog.html#python-3-13-8
2025-10-07 11:39:21 -04:00
Martin Weinelt
6916fe5a40
python314: 3.14.0-rc3 -> 3.14.0
...
https://docs.python.org/release/3.14.0/whatsnew/changelog.html
2025-10-07 17:14:58 +02:00
Wolfgang Walther
5e1f5b623b
Merge branch 'staging-next' into staging
2025-10-05 11:40:56 +02:00
nixpkgs-ci[bot]
a9361cb4df
Merge staging-next into staging
2025-10-05 09:12:50 +00:00
Wolfgang Walther
91a8fee3aa
treewide: remove redundant parentheses
...
Auto-fixed by nixf-diagnose.
2025-10-05 10:52:03 +02:00
Wolfgang Walther
c283f32d29
treewide: remove unused with
...
Auto-fixed by nixf-diagnose.
2025-10-05 10:50:41 +02:00
Martin Weinelt
dbeacf1b40
buildPythonPackage: Enable direct attribute overriding via overrideAttrs (the non-staging ones) ( #376372 )
2025-10-05 01:17:36 +00:00
Martin Weinelt
dd8ce7bda9
pythonInterpreters: Add passthru.pythonABITags ( #445140 )
2025-10-05 01:17:18 +00:00
nixpkgs-ci[bot]
e23d356469
Merge staging-next into staging
2025-10-05 00:18:23 +00:00