summaryrefslogtreecommitdiff
path: root/pkgs/development/interpreters/python
AgeCommit message (Collapse)Author
4 daysbuildPython*: extend overrideStdenvCompat to fixed-point arguments (#477208)Matt Sturgeon
5 daysbuildPython*: extend overrideStdenvCompat to fixed-point argumentsYueh-Shun Li
with `passthru.__stdenvPythonCompat` Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>
5 daysbuildPython*: overrideStdenvCompat: lower warnings down to the stdenv ↵Yueh-Shun Li
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.
5 daysbuildPython*: overrideStdenvCompat: abstract warningYueh-Shun Li
Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>
9 dayspython315: 3.15.0a4 -> 3.15.0a5Martin Weinelt
https://docs.python.org/3.15/whatsnew/changelog.html#python-3-15-0-alpha-5
10 dayspython315: 3.15.0a3 -> 3.15.0a4Martin Weinelt
https://docs.python.org/3.15/whatsnew/changelog.html#python-3-15-0-alpha-4
11 daystreewide: change 'format = "other";' to 'pyproject = false;'Michael Daniels
Entirely find-and-replace based. A few usages that would cause rebuilds if changed remain. This PR should have 0 rebuilds.
13 daystreewide: remove superfluous disabledRobert Schütz
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-04buildPython*: support fixed-point arguments (#271387)Martin Weinelt
2026-01-04buildPython*: include package name in stdenv warningMatt Sturgeon
Co-authored-by: Leona Maroni <dev@leona.is>
2026-01-01mk-python-derivation: fix typodmyTRUEk
2025-12-23python3Packages.setuptools-rust: fix python version inconsistency (#473299)Aleksana
2025-12-22python3: expose all splices for use with hooksaleksana
2025-12-18Merge remote-tracking branch 'origin/master' into staging-nextK900
2025-12-18python315: 3.15.0a2 -> 3.15.0a3 (#471455)Martin Weinelt
2025-12-18buildPython*: format expressionsYueh-Shun Li
2025-12-18buildPython*: support fixed-point arguments via lib.extendMkDerivationYueh-Shun Li
Postpone formatting to minimize diff and to ease merging.
2025-12-18makeOverridablePythonPackage: allow buildPython* to take fixed-point argumentsYueh-Shun Li
2025-12-18Merge remote-tracking branch 'origin/master' into staging-nextK900
2025-12-17buildPythonPackage: chore: remove unnecessary set update for `passthru` ↵Martin Weinelt
value (#471681)
2025-12-17Merge master into staging-nextnixpkgs-ci[bot]
2025-12-17buildPythonPackage: chore: remove unnecessary set updateYueh-Shun Li
2025-12-17pypy: remove explicit darwin minimum SDK (#471446)Arne Keller
2025-12-17Merge staging-next into stagingnixpkgs-ci[bot]
2025-12-16python2: fix paths for structuredAttrs (#470566)Philip Taron
2025-12-16python315: 3.15.0a2 -> 3.15.0a3Martin Weinelt
https://docs.python.org/3.15/whatsnew/changelog.html#python-3-15-0-alpha-3
2025-12-16pypy: remove explicit darwin minimum SDKNiklas Korz
PyPy sets an explicit minimum SDK version for darwin that is much older than what we we default to on nixpkgs (currently 14.0). Simply removing the explicit flag makes it use our default instead. This fixes a build failure where PyPy tries to access APIs that are not available in the macOS SDK it is targetting. This is technically not relevant for upstream as this is an opt-in warning which we have recently enabled by default (as error) on nixpkgs, but they too should bump the minimum target to at least 10.15 from their current target of 10.13.
2025-12-15Merge staging-next into stagingnixpkgs-ci[bot]
2025-12-14treewide: remove remaining `meta = with lib;`Ihar Hrachyshka
2025-12-14python2: fix paths for structuredAttrsStefan Frijters
Without this, things like zlib are not found.
2025-12-12Merge staging-next into stagingnixpkgs-ci[bot]
2025-12-11python3Packages.setuptools-rust: fix cross build for all `setuptools-rust` ↵dotlambda
based packages (#467817)
2025-12-11buildPython*: preserve overrideStdenvCompat on subsequent overridesMatt Sturgeon
This is needed to support the deprecated method of overriding `stdenv` via `overridePythonAttrs`.
2025-12-11buildPython*: remove stdenv arg in overrideStdenvCompatMatt Sturgeon
Avoid passing `stdenv` to the underlying function when it is already handled in overrideStdenvCompat.
2025-12-11buildPython*: switch overrideStdenvCompat to mirrorFunctionArgsMatt Sturgeon
The underlying `mk-python-derivation.nix` functions do not have `stdenv` in their functionArgs, so it was redundant to explicitly remove it.
2025-12-11buildPython*: rename override param in makeOverridablePythonPackageMatt Sturgeon
`fdrv` → `newArgs`; the parameter is not a derivation, so fdrv is confusing.
2025-12-11Merge staging-next into stagingnixpkgs-ci[bot]
2025-12-10makeOverridablePythonPackage: simplify implementation and make compatible ↵Yueh-Shun Li
with `<pkg>.overrideAttrs` (#267296)
2025-12-10Merge branch 'staging-next' into stagingWolfgang Walther
2025-12-10treewide: clean up 'meta = with' patternIhar Hrachyshka
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10makeOverridablePythonPackage: take care of overrideAttrsYueh-Shun Li
Make it possible to mix overridePythonAttrs and overrideAttrs, i.e. ((<pkg>.overrideAttrs (_: { foo = "a"; })).overridePythonAttrs (_: { })).foo now works Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>
2025-12-10makeOverridablePythonPackage: simplify implementationYueh-Shun Li
Attach overridePythonAttrs by attribute set update instead of `stdenv.mkDerivation`'s `passthru`. Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>
2025-12-09python3Packages.setuptools-rust: fix cross build for all `setuptools-rust` ↵DavHau
based packages Prior to this change all python packages using `setuptools-rust` were broken when cross compiled as they built binaries for the build platform instead of for the host platform. The setuptoolsRustBuildHook hook would have to be included as a native build input instead of the `setuptools-rust` package, but practically wasn't used anywhere. This change makes it so that `setuptoolsRustBuildHook` becomes unnecessary, and instead `setuptools-rust` propagates a setup-hook directly setting up the build environment, similar to how cmake does it when included via nativeBuildInputs. This change fixes cross on all packages using `setuptools-rust` as a build-system.
2025-12-07Merge staging-next into stagingnixpkgs-ci[bot]
2025-12-06python3: Fix cross compilation to FreeBSDAudrey Dutcher
- autoreconf needs to be run if we patch configure.ac - the patch lines need to be adjusted otherwise it applies wrong
2025-12-06Revert "cpython: fix gh-142214 on 3.14.1"Martin Weinelt
This reverts commit 27dcfd3e044aea0bed1fe234a88ebf5d0efeadc6. This was fixed in 3.14.2 and as such this patch application has become obsolete.
2025-12-06Revert "cpython: fix gh-142218 on 3.13.10 and 3.14.1"Martin Weinelt
This reverts commit ae4f7fd1e9478b043606132b87c22c13198eb037. Fixed in 3.13.11 and 3.14.2 and as such obsoleted.
2025-12-06python314: 3.14.1 -> 3.14.2Martin Weinelt
https://docs.python.org/release/3.14.2/whatsnew/changelog.html
2025-12-06python313: 3.13.10 -> 3.13.11Martin Weinelt
https://docs.python.org/release/3.13.11/whatsnew/changelog.html
2025-12-05cpython: fix gh-142214 on 3.14.1Martin Weinelt
Fixes two regressions in dataclasses.