python312Packages.sqlalchemy-i18n: mark as broken
This commit is contained in:
@@ -42,11 +42,20 @@ buildPythonPackage rec {
|
||||
i18n = [ sqlalchemy-i18n ];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
psycopg2
|
||||
pymysql
|
||||
pytestCheckHook
|
||||
] ++ lib.flatten (lib.attrValues optional-dependencies);
|
||||
nativeCheckInputs =
|
||||
[
|
||||
psycopg2
|
||||
pymysql
|
||||
pytestCheckHook
|
||||
]
|
||||
++ optional-dependencies.flask
|
||||
++ optional-dependencies.flask-login
|
||||
++ optional-dependencies.flask-sqlalchemy;
|
||||
|
||||
disabledTestPaths = [
|
||||
# requires sqlalchemy-i18n, which is incompatible with sqlalchemy>=2
|
||||
"tests/test_i18n.py"
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
# Indicate tests that we don't have a database server at hand
|
||||
|
||||
@@ -49,5 +49,7 @@ buildPythonPackage rec {
|
||||
homepage = "https://github.com/kvesteri/sqlalchemy-i18n";
|
||||
description = "Internationalization extension for SQLAlchemy models";
|
||||
license = lib.licenses.bsd3;
|
||||
# sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0.
|
||||
broken = lib.versionAtLeast sqlalchemy.version "2";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user