tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
python312Packages.sqlalchemy-i18n: mark as broken
natsukium
1 year ago
aee6355d
0888858e
+16
-5
2 changed files
expand all
collapse all
unified
split
pkgs
development
python-modules
sqlalchemy-continuum
default.nix
sqlalchemy-i18n
default.nix
+14
-5
pkgs/development/python-modules/sqlalchemy-continuum/default.nix
···
42
42
i18n = [ sqlalchemy-i18n ];
43
43
};
44
44
45
45
-
nativeCheckInputs = [
46
46
-
psycopg2
47
47
-
pymysql
48
48
-
pytestCheckHook
49
49
-
] ++ lib.flatten (lib.attrValues optional-dependencies);
45
45
+
nativeCheckInputs =
46
46
+
[
47
47
+
psycopg2
48
48
+
pymysql
49
49
+
pytestCheckHook
50
50
+
]
51
51
+
++ optional-dependencies.flask
52
52
+
++ optional-dependencies.flask-login
53
53
+
++ optional-dependencies.flask-sqlalchemy;
54
54
+
55
55
+
disabledTestPaths = [
56
56
+
# requires sqlalchemy-i18n, which is incompatible with sqlalchemy>=2
57
57
+
"tests/test_i18n.py"
58
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
52
+
# sqlalchemy.exc.InvalidRequestError: The 'sqlalchemy.orm.mapper()' function is removed as of SQLAlchemy 2.0.
53
53
+
broken = lib.versionAtLeast sqlalchemy.version "2";
52
54
};
53
55
}