From e040ff57a0d60d6327c33677cd78ffded88207d6 Mon Sep 17 00:00:00 2001 From: Benoit de Chezelles Date: Sun, 19 Dec 2021 03:13:29 +0100 Subject: [PATCH] nixos/doc/rl-2205: Add note about reduced closure of python3.pkgs.matplotlib --- .../from_md/release-notes/rl-2205.section.xml | 14 ++++++++++++++ nixos/doc/manual/release-notes/rl-2205.section.md | 7 +++++++ 2 files changed, 21 insertions(+) diff --git a/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml b/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml index aef16523b5ea..1e425248be0f 100644 --- a/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml +++ b/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml @@ -149,6 +149,20 @@ migration guide for more details. + + + For pkgs.python3.pkgs.ipython, its direct + dependency + pkgs.python3.pkgs.matplotlib-inline (which + is really an adapter to integrate matplotlib in ipython if it + is installed) does not depend on + pkgs.python3.pkgs.matplotlib anymore. This + is closer to a non-Nix install of ipython. This has the added + benefit to reduce the closure size of + ipython from ~400MB to ~160MB (including + ~100MB for python itself). + +
diff --git a/nixos/doc/manual/release-notes/rl-2205.section.md b/nixos/doc/manual/release-notes/rl-2205.section.md index c72f91896585..ca89732fa801 100644 --- a/nixos/doc/manual/release-notes/rl-2205.section.md +++ b/nixos/doc/manual/release-notes/rl-2205.section.md @@ -53,6 +53,13 @@ In addition to numerous new and upgraded packages, this release has the followin - The `autorestic` package has been upgraded from 1.3.0 to 1.5.0 which introduces breaking changes in config file, check [their migration guide](https://autorestic.vercel.app/migration/1.4_1.5) for more details. +- For `pkgs.python3.pkgs.ipython`, its direct dependency `pkgs.python3.pkgs.matplotlib-inline` + (which is really an adapter to integrate matplotlib in ipython if it is installed) does + not depend on `pkgs.python3.pkgs.matplotlib` anymore. + This is closer to a non-Nix install of ipython. + This has the added benefit to reduce the closure size of `ipython` from ~400MB to ~160MB + (including ~100MB for python itself). + ## Other Notable Changes {#sec-release-22.05-notable-changes} - The option [services.redis.servers](#opt-services.redis.servers) was added