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

fix flask-mongoengine & flask-admin
This commit is contained in:
Peder Bergebakken Sundt 2023-11-13 23:15:39 +02:00 committed by GitHub
commit f9bd25c7dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 3 deletions

View file

@ -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 = [

View file

@ -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