python312Packages.sqlalchemy-i18n: mark as broken
This commit is contained in:
@@ -42,11 +42,20 @@ buildPythonPackage rec {
|
|||||||
i18n = [ sqlalchemy-i18n ];
|
i18n = [ sqlalchemy-i18n ];
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs =
|
||||||
psycopg2
|
[
|
||||||
pymysql
|
psycopg2
|
||||||
pytestCheckHook
|
pymysql
|
||||||
] ++ lib.flatten (lib.attrValues optional-dependencies);
|
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 = ''
|
preCheck = ''
|
||||||
# Indicate tests that we don't have a database server at hand
|
# 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";
|
homepage = "https://github.com/kvesteri/sqlalchemy-i18n";
|
||||||
description = "Internationalization extension for SQLAlchemy models";
|
description = "Internationalization extension for SQLAlchemy models";
|
||||||
license = lib.licenses.bsd3;
|
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