14 buildPythonPackage rec {
15 pname = "flask-sqlalchemy";
19 disabled = pythonOlder "3.9";
22 pname = "flask_sqlalchemy";
24 hash = "sha256-5LaLuIGALdoafYeLL8hMBtHuV/tAuHTT3Jfav6NrgxI=";
27 nativeBuildInputs = [ flit-core ];
29 propagatedBuildInputs = [
39 doCheck = pythonOlder "3.13"; # https://github.com/pallets-eco/flask-sqlalchemy/issues/1379
43 "test_session_scoping_changing"
44 # https://github.com/pallets-eco/flask-sqlalchemy/issues/1378
48 pytestFlagsArray = lib.optionals (pythonAtLeast "3.12") [
49 # datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version.
51 "ignore::DeprecationWarning"
54 pythonImportsCheck = [ "flask_sqlalchemy" ];
57 description = "SQLAlchemy extension for Flask";
58 homepage = "http://flask-sqlalchemy.pocoo.org/";
59 changelog = "https://github.com/pallets-eco/flask-sqlalchemy/blob/${version}/CHANGES.rst";
60 license = licenses.bsd3;
61 maintainers = with maintainers; [ gerschtli ];