Unverified Commit 32d811e2 authored by Marcus Ramberg's avatar Marcus Ramberg Committed by GitHub
Browse files

awscli2: 2.25.5 -> 2.26.4 (#399760)

parents 21454c53 8eba66dc
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -64,26 +64,25 @@ let
in
py.pkgs.buildPythonApplication rec {
  pname = "awscli2";
  version = "2.25.5"; # N.B: if you change this, check if overrides are still up-to-date
  version = "2.26.4"; # N.B: if you change this, check if overrides are still up-to-date
  pyproject = true;

  src = fetchFromGitHub {
    owner = "aws";
    repo = "aws-cli";
    tag = version;
    hash = "sha256-l2X7QhhrX0MzdB4WpuqaDcJdRK7G/vfig+F3F1tHM5Y=";
    hash = "sha256-QpN4VdRUzWlb0bN8pTbvfZMbCvYwqKJgpPh5UdykzFg=";
  };

  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace-fail 'flit_core>=3.7.1,<3.9.1' 'flit_core>=3.7.1' \
      --replace-fail 'awscrt==0.23.8' 'awscrt>=0.23.6' \
      --replace-fail 'awscrt==0.25.4' 'awscrt>=0.25.4' \
      --replace-fail 'cryptography>=40.0.0,<43.0.2' 'cryptography>=43.0.0' \
      --replace-fail 'distro>=1.5.0,<1.9.0' 'distro>=1.5.0' \
      --replace-fail 'docutils>=0.10,<0.20' 'docutils>=0.10' \
      --replace-fail 'prompt-toolkit>=3.0.24,<3.0.39' 'prompt-toolkit>=3.0.24' \
      --replace-fail 'ruamel.yaml.clib>=0.2.0,<=0.2.8' 'ruamel.yaml.clib>=0.2.0' \
      --replace-fail 'zipp<3.21.0' 'zipp>=3.21.0'
      --replace-fail 'ruamel.yaml.clib>=0.2.0,<=0.2.12' 'ruamel.yaml.clib>=0.2.0' \

    substituteInPlace requirements-base.txt \
      --replace-fail "wheel==0.43.0" "wheel>=0.43.0"