Unverified Commit f816d254 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

Merge pull request #243766 from tjni/sqlalchemy-continuum

python310Packages.sqlalchemy-continuum: 1.3.14 -> 1.4.0
parents 4f0a1ccd 9d8f99b1
Loading
Loading
Loading
Loading
+3 −15
Original line number Diff line number Diff line
@@ -4,7 +4,6 @@
, flask
, flask-login
, flask-sqlalchemy
, flexmock
, psycopg2
, pymysql
, pytestCheckHook
@@ -16,7 +15,7 @@

buildPythonPackage rec {
  pname = "sqlalchemy-continuum";
  version = "1.3.14";
  version = "1.4.0";
  format = "setuptools";

  disabled = pythonOlder "3.7";
@@ -24,7 +23,7 @@ buildPythonPackage rec {
  src = fetchPypi {
    pname = "SQLAlchemy-Continuum";
    inherit version;
    hash = "sha256-1+k/lx6R8tW9gM3M2kqaVEwpmx8cMhDXeqCjyd8O2hM=";
    hash = "sha256-Rk+aWxBjUrXuRPE5MSyzWMWS0l7qrjU3wOrHLC+vteU=";
  };

  propagatedBuildInputs = [
@@ -42,9 +41,6 @@ buildPythonPackage rec {
    flask-sqlalchemy = [
      flask-sqlalchemy
    ];
    flexmock = [
      flexmock
    ];
    i18n = [
      sqlalchemy-i18n
    ];
@@ -57,12 +53,7 @@ buildPythonPackage rec {
  ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);

  # Indicate tests that we don't have a database server at hand
  DB = "sqlite";

  disabledTestPaths = [
    # Test doesn't support latest SQLAlchemy
    "tests/plugins/test_flask.py"
  ];
  env.DB = "sqlite";

  pythonImportsCheck = [
    "sqlalchemy_continuum"
@@ -74,8 +65,5 @@ buildPythonPackage rec {
    changelog = "https://github.com/kvesteri/sqlalchemy-continuum/blob/${version}/CHANGES.rst";
    license = licenses.bsd3;
    maintainers = with maintainers; [ ];

    # https://github.com/kvesteri/sqlalchemy-continuum/issues/326
    broken = versionAtLeast sqlalchemy.version "2";
  };
}