Unverified Commit f9bd25c7 authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt Committed by GitHub
Browse files

Merge pull request #266741 from tu-maurice/unstable/fix-flask-admin

fix flask-mongoengine & flask-admin
parents 6be9316d adc77969
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -107,6 +107,8 @@ buildPythonPackage rec {
    "flask_admin/tests/sqla/test_translation.py"
    # RuntimeError: Working outside of application context.
    "flask_admin/tests/sqla/test_multi_pk.py"
    # Broken test
    "flask_admin/tests/fileadmin/test_fileadmin.py"
  ];

  pythonImportsCheck = [
+5 −3
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@

buildPythonPackage rec {
  pname = "flask-mongoengine";
  version = "1.0.0";
  version = "1.0.0-unstable-2022-08-16";
  format = "pyproject";

  disabled = pythonOlder "3.7";
@@ -23,10 +23,12 @@ buildPythonPackage rec {
  src = fetchFromGitHub {
    owner = "MongoEngine";
    repo = pname;
    rev = "refs/tags/v${version}";
    hash = "sha256-YqEtW02VvEeUsLIHLz6+V6juMtWPEIk2tLoKTUdY6YE=";
    rev = "d4526139cb1e2e94111ab7de96bb629d574c1690";
    hash = "sha256-oMQU9Z8boc0q+0KzIQAZ8qSyxiITDY0M9FCg75S9MEY=";
  };

  env.SETUPTOOLS_SCM_PRETEND_VERSION = "1.0.0";

  nativeBuildInputs = [
    setuptools
    setuptools-scm