python310: drop

Reaches end of life before NixOS 26.05 and therefore has to leave early.
This commit is contained in:
Martin Weinelt
2026-02-15 03:17:23 +01:00
parent b122cf0ef0
commit 77ca080475
18 changed files with 8 additions and 530 deletions
+5 -6
View File
@@ -50,7 +50,6 @@ sets are
* `pkgs.python27Packages`
* `pkgs.python3Packages`
* `pkgs.python310Packages`
* `pkgs.python311Packages`
* `pkgs.python312Packages`
* `pkgs.python313Packages`
@@ -897,7 +896,7 @@ on NixOS.
# ...
environment.systemPackages = with pkgs; [
(python310.withPackages (
(python314.withPackages (
ps: with ps; [
numpy
toolz
@@ -1683,7 +1682,7 @@ with import <nixpkgs> { };
});
};
in
pkgs.python310.override { inherit packageOverrides; };
pkgs.python313.override { inherit packageOverrides; };
in
python.withPackages (ps: [ ps.pandas ])
@@ -1707,7 +1706,7 @@ with import <nixpkgs> { };
let
packageOverrides = self: super: { scipy = super.scipy_0_17; };
in
(pkgs.python310.override { inherit packageOverrides; }).withPackages (ps: [ ps.blaze ])
(pkgs.python313.override { inherit packageOverrides; }).withPackages (ps: [ ps.blaze ])
).env
```
@@ -1723,13 +1722,13 @@ let
newpkgs = import pkgs.path {
overlays = [
(self: super: {
python310 =
python313 =
let
packageOverrides = python-self: python-super: {
numpy = python-super.numpy_1_18;
};
in
super.python310.override { inherit packageOverrides; };
super.python313.override { inherit packageOverrides; };
})
];
};