summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorBenoit de Chezelles <benoit.dechezelles@gmail.com>2021-12-19 03:13:29 +0100
committerDmitry Kalinkin <dmitry.kalinkin@gmail.com>2021-12-28 20:14:53 -0500
commite040ff57a0d60d6327c33677cd78ffded88207d6 (patch)
treee98667f22253fe138fc406aeaf6561ca56f8bdf6 /nixos
parent4e09227d0127e47934170cdb0997fbb36634722c (diff)
downloadnixpkgs-e040ff57a0d60d6327c33677cd78ffded88207d6.tar
nixpkgs-e040ff57a0d60d6327c33677cd78ffded88207d6.tar.gz
nixpkgs-e040ff57a0d60d6327c33677cd78ffded88207d6.tar.bz2
nixpkgs-e040ff57a0d60d6327c33677cd78ffded88207d6.tar.lz
nixpkgs-e040ff57a0d60d6327c33677cd78ffded88207d6.tar.xz
nixpkgs-e040ff57a0d60d6327c33677cd78ffded88207d6.tar.zst
nixpkgs-e040ff57a0d60d6327c33677cd78ffded88207d6.zip
nixos/doc/rl-2205: Add note about reduced closure of python3.pkgs.matplotlib
Diffstat (limited to 'nixos')
-rw-r--r--nixos/doc/manual/from_md/release-notes/rl-2205.section.xml14
-rw-r--r--nixos/doc/manual/release-notes/rl-2205.section.md7
2 files changed, 21 insertions, 0 deletions
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 aef16523b5e..1e425248be0 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</link> for more details.
         </para>
       </listitem>
+      <listitem>
+        <para>
+          For <literal>pkgs.python3.pkgs.ipython</literal>, its direct
+          dependency
+          <literal>pkgs.python3.pkgs.matplotlib-inline</literal> (which
+          is really an adapter to integrate matplotlib in ipython if it
+          is installed) does not depend on
+          <literal>pkgs.python3.pkgs.matplotlib</literal> anymore. This
+          is closer to a non-Nix install of ipython. This has the added
+          benefit to reduce the closure size of
+          <literal>ipython</literal> from ~400MB to ~160MB (including
+          ~100MB for python itself).
+        </para>
+      </listitem>
     </itemizedlist>
   </section>
   <section xml:id="sec-release-22.05-notable-changes">
diff --git a/nixos/doc/manual/release-notes/rl-2205.section.md b/nixos/doc/manual/release-notes/rl-2205.section.md
index c72f9189658..ca89732fa80 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