Merge pull request #293252 from mweinelt/sqlalchemy-1.4.52

python311Packages.sqlalchemy_1_4: 1.4.51 -> 1.4.52
This commit is contained in:
Martin Weinelt 2024-03-06 01:54:30 +01:00 committed by GitHub
commit 3e094a901e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 5 deletions

View File

@ -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 = ''

View File

@ -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 = [