lol

python312Packages.sqlalchemy-i18n: mark as broken

+16 -5
+14 -5
pkgs/development/python-modules/sqlalchemy-continuum/default.nix
··· 42 42 i18n = [ sqlalchemy-i18n ]; 43 43 }; 44 44 45 - nativeCheckInputs = [ 46 - psycopg2 47 - pymysql 48 - pytestCheckHook 49 - ] ++ lib.flatten (lib.attrValues optional-dependencies); 45 + nativeCheckInputs = 46 + [ 47 + psycopg2 48 + pymysql 49 + pytestCheckHook 50 + ] 51 + ++ optional-dependencies.flask 52 + ++ optional-dependencies.flask-login 53 + ++ optional-dependencies.flask-sqlalchemy; 54 + 55 + disabledTestPaths = [ 56 + # requires sqlalchemy-i18n, which is incompatible with sqlalchemy>=2 57 + "tests/test_i18n.py" 58 + ]; 50 59 51 60 preCheck = '' 52 61 # Indicate tests that we don't have a database server at hand
+2
pkgs/development/python-modules/sqlalchemy-i18n/default.nix
··· 49 49 homepage = "https://github.com/kvesteri/sqlalchemy-i18n"; 50 50 description = "Internationalization extension for SQLAlchemy models"; 51 51 license = lib.licenses.bsd3; 52 + # sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0. 53 + broken = lib.versionAtLeast sqlalchemy.version "2"; 52 54 }; 53 55 }