Unverified Commit 3e094a90 authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

Merge pull request #293252 from mweinelt/sqlalchemy-1.4.52

python311Packages.sqlalchemy_1_4: 1.4.51 -> 1.4.52
parents 3e70f14c da001b2e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -35,14 +35,14 @@

buildPythonPackage rec {
  pname = "sqlalchemy";
  version = "1.4.51";
  version = "1.4.52";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "sqlalchemy";
    repo = "sqlalchemy";
    rev = "rel_${lib.replaceStrings [ "." ] [ "_" ] version}";
    hash = "sha256-KhLSKlQ4xfSh1nsAt+cRO+adh2aj/h/iqV6YmDbz39k=";
    hash = "sha256-3JiPDOI6KDQwtBtISvHi3d+Rdm0pz1d9cnZu3+f4jYE=";
  };

  postPatch = ''
+5 −3
Original line number Diff line number Diff line
@@ -36,9 +36,11 @@ python.pkgs.buildPythonApplication rec {
  };

  postPatch = ''
    substituteInPlace pyproject.toml --replace psycopg2-binary psycopg2 \
      --replace 'flask = "^3.0.2"' 'flask = "*"' \
      --replace 'pyopenssl = "^24.0.0"' 'pyopenssl = "*"'
    substituteInPlace pyproject.toml \
      --replace-fail psycopg2-binary psycopg2 \
      --replace-fail 'flask = "^3.0.2"' 'flask = "*"' \
      --replace-fail 'pyopenssl = "^24.0.0"' 'pyopenssl = "*"' \
      --replace-fail 'sqlalchemy = "=1.4.51"' 'sqlalchemy = "*"'
  '';

  nativeBuildInputs = [