python310Packages.sqlalchemy-continuum: 1.3.14 -> 1.4.0

This commit is contained in:
Theodore Ni 2023-07-15 22:23:31 -07:00
parent a35621603c
commit 9d8f99b18d
No known key found for this signature in database
GPG Key ID: 48B67583BDDD4474

View File

@ -4,7 +4,6 @@
, flask , flask
, flask-login , flask-login
, flask-sqlalchemy , flask-sqlalchemy
, flexmock
, psycopg2 , psycopg2
, pymysql , pymysql
, pytestCheckHook , pytestCheckHook
@ -16,7 +15,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "sqlalchemy-continuum"; pname = "sqlalchemy-continuum";
version = "1.3.14"; version = "1.4.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -24,7 +23,7 @@ buildPythonPackage rec {
src = fetchPypi { src = fetchPypi {
pname = "SQLAlchemy-Continuum"; pname = "SQLAlchemy-Continuum";
inherit version; inherit version;
hash = "sha256-1+k/lx6R8tW9gM3M2kqaVEwpmx8cMhDXeqCjyd8O2hM="; hash = "sha256-Rk+aWxBjUrXuRPE5MSyzWMWS0l7qrjU3wOrHLC+vteU=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -42,9 +41,6 @@ buildPythonPackage rec {
flask-sqlalchemy = [ flask-sqlalchemy = [
flask-sqlalchemy flask-sqlalchemy
]; ];
flexmock = [
flexmock
];
i18n = [ i18n = [
sqlalchemy-i18n sqlalchemy-i18n
]; ];
@ -57,12 +53,7 @@ buildPythonPackage rec {
] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies); ] ++ 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"; env.DB = "sqlite";
disabledTestPaths = [
# Test doesn't support latest SQLAlchemy
"tests/plugins/test_flask.py"
];
pythonImportsCheck = [ pythonImportsCheck = [
"sqlalchemy_continuum" "sqlalchemy_continuum"
@ -74,8 +65,5 @@ buildPythonPackage rec {
changelog = "https://github.com/kvesteri/sqlalchemy-continuum/blob/${version}/CHANGES.rst"; changelog = "https://github.com/kvesteri/sqlalchemy-continuum/blob/${version}/CHANGES.rst";
license = licenses.bsd3; license = licenses.bsd3;
maintainers = with maintainers; [ ]; maintainers = with maintainers; [ ];
# https://github.com/kvesteri/sqlalchemy-continuum/issues/326
broken = versionAtLeast sqlalchemy.version "2";
}; };
} }