python3Packages.SQLAlchemy-ImageAttach: drop

Unmaintained since 2017 and incompatible with SQLAlchemy 1.4
This commit is contained in:
Martin Weinelt 2022-04-14 22:29:18 +02:00
parent 8adac3f85f
commit 75331fc5e5
3 changed files with 1 additions and 44 deletions

View file

@ -1,42 +0,0 @@
{ lib
, buildPythonPackage
, pytest
, Wand
, webob
, sqlalchemy
, isPyPy
, pkgs
}:
buildPythonPackage rec {
pname = "SQLAlchemy-ImageAttach";
version = "1.0.0";
src = pkgs.fetchFromGitHub {
repo = "sqlalchemy-imageattach";
owner = "dahlia";
rev = version;
sha256 = "0ba97pn5dh00qvxyjbr0mr3pilxqw5kb3a6jd4wwbsfcv6nngqig";
};
checkInputs = [ pytest Wand.imagemagick webob ];
propagatedBuildInputs = [ sqlalchemy Wand ];
checkPhase = ''
cd tests
export MAGICK_HOME="${pkgs.imagemagick.dev}"
export PYTHONPATH=$PYTHONPATH:../
py.test
cd ..
'';
doCheck = !isPyPy; # failures due to sqla version mismatch
meta = with lib; {
homepage = "https://github.com/dahlia/sqlalchemy-imageattach";
description = "SQLAlchemy extension for attaching images to entity objects";
license = licenses.mit;
broken = true; # Incompatible with sqlalchemy>=1.4 (https://github.com/dahlia/sqlalchemy-imageattach/issues/47)
};
}

View file

@ -129,6 +129,7 @@ mapAliases ({
SPARQLWrapper = sparqlwrapper;
sphinxcontrib_plantuml = sphinxcontrib-plantuml; # added 2021-08-02
sqlalchemy_migrate = sqlalchemy-migrate; # added 2021-10-28
SQLAlchemy-ImageAttach = throw "sqlalchemy-imageattach has been removed as it is incompatible with sqlalchemy 1.4 and unmaintained"; # added 2022-04-23
tensorflow-bin_2 = tensorflow-bin; # added 2021-11-25
tensorflow-build_2 = tensorflow-build; # added 2021-11-25
tensorflow-estimator_2 = tensorflow-estimator; # added 2021-11-25

View file

@ -9597,8 +9597,6 @@ in {
sqlalchemy-i18n = callPackage ../development/python-modules/sqlalchemy-i18n { };
SQLAlchemy-ImageAttach = callPackage ../development/python-modules/sqlalchemy-imageattach { };
sqlalchemy-jsonfield = callPackage ../development/python-modules/sqlalchemy-jsonfield { };
sqlalchemy-migrate = callPackage ../development/python-modules/sqlalchemy-migrate { };