Skip to content

Commit

Permalink
Remove references to python 3.6 and earlier.
Browse files Browse the repository at this point in the history
This also updates dependencies and ensures the build remains functional.
Some minor reordering occurred when updating lists of dependencies as
well.
  • Loading branch information
alunduil committed Oct 30, 2022
1 parent 904e67c commit 1443002
Show file tree
Hide file tree
Showing 4 changed files with 344 additions and 608 deletions.
9 changes: 0 additions & 9 deletions nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,4 @@ let
in
pkgs.poetry2nix.mkPoetryApplication {
projectDir = ../.;
overrides = pkgs.poetry2nix.overrides.withDefaults (self: super: {
pytest = super.pytest.overrideAttrs (old: {
postPatch = old.postPatch or "" + ''
sed -i '/\[metadata\]/aversion = ${old.version}' setup.cfg
echo "VERSION"
grep version setup.cfg
'';
});
});
}
4 changes: 2 additions & 2 deletions nix/shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ in
pkgs.mkShell {
inputsFrom = [zfs-replicate];
buildInputs = [
zfs-replicate
pkgs.poetry
pkgs.pre-commit
pkgs.python38Packages.pre-commit
pkgs.python38Packages.virtualenv
zfs-replicate
];
shellHook = ''
unset SOURCE_DATE_EPOCH
Expand Down
Loading

0 comments on commit 1443002

Please sign in to comment.