Merge pull request #216724 from fabaff/sqlalchemy-continuum-fix
python310Packages.sqlalchemy-continuum: disable failing test
This commit is contained in:
@@ -6,16 +6,20 @@
|
||||
, mock
|
||||
, sqlalchemy
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Flask-SQLAlchemy";
|
||||
version = "3.0.2";
|
||||
pname = "flask-sqlalchemy";
|
||||
version = "3.0.3";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-FhmfWz3ftp4N8vUq5Mdq7b/sgjRiNJ2rshobLgorZek=";
|
||||
pname = "Flask-SQLAlchemy";
|
||||
inherit version;
|
||||
hash = "sha256-J2QzXzydfr3J7WBEr6+Yqun6UNegdM71Xd4wfslZA+w=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -39,9 +43,14 @@ buildPythonPackage rec {
|
||||
"test_persist_selectable"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"flask_sqlalchemy"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "SQLAlchemy extension for Flask";
|
||||
homepage = "http://flask-sqlalchemy.pocoo.org/";
|
||||
changelog = "https://github.com/pallets-eco/flask-sqlalchemy/blob/${version}/CHANGES.rst";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ gerschtli ];
|
||||
};
|
||||
|
||||
@@ -54,15 +54,16 @@ buildPythonPackage rec {
|
||||
psycopg2
|
||||
pymysql
|
||||
pytestCheckHook
|
||||
] ++ passthru.optional-dependencies.flask
|
||||
++ passthru.optional-dependencies.flask-login
|
||||
++ passthru.optional-dependencies.flask-sqlalchemy
|
||||
++ passthru.optional-dependencies.flexmock
|
||||
++ passthru.optional-dependencies.i18n;
|
||||
] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
|
||||
|
||||
# indicate tests that we don't have a database server at hand
|
||||
# Indicate tests that we don't have a database server at hand
|
||||
DB = "sqlite";
|
||||
|
||||
disabledTestPaths = [
|
||||
# Test doesn't support latest SQLAlchemy
|
||||
"tests/plugins/test_flask.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"sqlalchemy_continuum"
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user