Merge pull request #196024 from fabaff/peewee-bump

python310Packages.peewee: 3.15.1 -> 3.15.3
This commit is contained in:
Fabian Affolter 2022-10-17 09:33:16 +02:00 committed by GitHub
commit 50add64e1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 9 deletions

View File

@ -1,21 +1,23 @@
{ lib
, arrow
, azure-storage-blob
, boto
, buildPythonPackage
, colour
, email-validator
, enum34
, fetchPypi
, flask
, flask-sqlalchemy
, flask-babelex
, flask-mongoengine
, flask-sqlalchemy
, geoalchemy2
, isPy27
, mongoengine
, pillow
, psycopg2
, pymongo
, pytestCheckHook
, pythonOlder
, shapely
, sqlalchemy
, sqlalchemy-citext
@ -29,26 +31,35 @@ buildPythonPackage rec {
version = "1.6.0";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchPypi {
pname = "Flask-Admin";
inherit version;
sha256 = "1209qhm51d4z66mbw55cmkzqvr465shnws2m2l2zzpxhnxwzqks2";
hash = "sha256-Qk/8ebew3/8FFVVobqEuhuSN/6ysFL6qMZ+0UCrECYg=";
};
propagatedBuildInputs = [
flask
wtforms
] ++ lib.optionals isPy27 [
enum34
];
passthru.optional-dependencies = {
aws = [
boto
];
azure = [
azure-storage-blob
];
};
checkInputs = [
arrow
colour
email-validator
flask-sqlalchemy
flask-babelex
flask-mongoengine
flask-sqlalchemy
geoalchemy2
mongoengine
pillow
@ -65,6 +76,13 @@ buildPythonPackage rec {
disabledTests = [
# Incompatible with werkzeug 2.1
"test_mockview"
# Tests are outdated and don't work with peewee
"test_nested_flask_views"
"test_export_csv"
"test_list_row_actions"
"test_column_editable_list"
"test_column_filters"
"test_export_csv"
];
disabledTestPaths = [
@ -84,7 +102,7 @@ buildPythonPackage rec {
];
meta = with lib; {
description = "Simple and extensible admin interface framework for Flask";
description = "Admin interface framework for Flask";
homepage = "https://github.com/flask-admin/flask-admin/";
license = licenses.bsd3;
maintainers = with maintainers; [ costrouc ];

View File

@ -15,7 +15,7 @@
buildPythonPackage rec {
pname = "peewee";
version = "3.15.1";
version = "3.15.3";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -24,7 +24,7 @@ buildPythonPackage rec {
owner = "coleifer";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-2rxGOUCITEHuM83qhaKQGK4jSf4r8hcBAGxRImT/rhE=";
hash = "sha256-6s+JTUYmuP6Y6D+mi8YTznHbPYUS7yk259MuPpm9H/s=";
};
buildInputs = [