Merge master into staging-next

This commit is contained in:
github-actions[bot]
2021-01-29 00:43:53 +00:00
committed by GitHub
32 changed files with 269 additions and 112 deletions

View File

@@ -6,12 +6,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-synapse";
version = "0.6.0";
version = "0.7.0";
disabled = pythonOlder "3";
src = fetchPypi {
inherit pname version;
sha256 = "f81cb52b220774aab93ffcf25bdc17e03fd84b6916836640789f86fbf636b984";
sha256 = "3cf37df471f75441b0afe98a0f3a548434e9bc6a6426dca8c089950b5423f63f";
extension = "zip";
};

View File

@@ -5,6 +5,7 @@
, apispec
, colorama
, click
, email_validator
, flask
, flask-babel
, flask_login
@@ -19,18 +20,17 @@
, python-dateutil
, prison
, pyjwt
, pyyaml
, sqlalchemy-utils
}:
buildPythonPackage rec {
pname = "flask-appbuilder";
version = "2.3.0";
version = "3.1.1";
src = fetchPypi {
pname = "Flask-AppBuilder";
inherit version;
sha256 = "04bsswi7daaqda01a83rd1f2gq6asii520f9arjf7bsy24pmbprc";
sha256 = "076b020b0ba125339a2e710e74eab52648cde2b18599f7cb0fa1eada9bbb648c";
};
checkInputs = [
@@ -41,6 +41,7 @@ buildPythonPackage rec {
apispec
colorama
click
email_validator
flask
flask-babel
flask_login
@@ -56,21 +57,18 @@ buildPythonPackage rec {
prison
pyjwt
sqlalchemy-utils
pyyaml
];
postPatch = ''
substituteInPlace setup.py \
--replace "apispec[yaml]>=1.1.1, <2" "apispec" \
--replace "jsonschema>=3.0.1, <4" "jsonschema" \
--replace "marshmallow>=2.18.0, <4.0.0" "marshmallow" \
--replace "PyJWT>=1.7.1" "PyJWT" \
--replace "Flask-SQLAlchemy>=2.4, <3" "Flask-SQLAlchemy" \
--replace "Flask-JWT-Extended>=3.18, <4" "Flask-JWT-Extended" \
--replace "apispec[yaml]>=3.3, <4" "apispec" \
--replace "Flask-Login>=0.3, <0.5" "Flask-Login" \
--replace "Flask-Babel>=1, <2" "Flask-Babel"
--replace "Flask-Babel>=1, <2" "Flask-Babel" \
--replace "marshmallow-sqlalchemy>=0.22.0, <0.24.0" "marshmallow-sqlalchemy" \
--replace "prison>=0.1.3, <1.0.0" "prison"
'';
# majority of tests require network access or mongo
doCheck = false;

View File

@@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "isbnlib";
version = "3.10.5";
version = "3.10.6";
src = fetchPypi {
inherit pname version;
sha256 = "cb3b400b37a73cf4a0bc698be2ea414e78ff117867baed9313aa8c97596e1b98";
sha256 = "b324c7c8689741bba6d71d1369d49780a24fe946b11a3c005d56e09bf705cd19";
};
checkInputs = [
@@ -22,6 +22,8 @@ buildPythonPackage rec {
# requires network connection
doCheck = false;
pythonImportsCheck = [ "isbnlib" ];
meta = with lib; {
description = "Extract, clean, transform, hyphenate and metadata for ISBNs";
homepage = "https://github.com/xlcnd/isbnlib";

View File

@@ -40,8 +40,7 @@ buildPythonPackage rec {
--replace "python-slugify>=1.2.6,<4" "python-slugify"
'';
# pytest seems to hang with python3.8
doCheck = !stdenv.isDarwin && pythonOlder "3.8";
doCheck = !stdenv.isDarwin;
checkInputs = ([
pytest pytestcov

View File

@@ -11,13 +11,13 @@
buildPythonPackage rec {
pname = "xapp";
version = "2.0.1";
version = "2.0.2";
src = fetchFromGitHub {
owner = "linuxmint";
repo = "python-xapp";
rev = version;
sha256 = "1pp3z4q6ryxcc26kaq222j53ji110n2v7rx29c7vy1fbb8mq64im";
sha256 = "1zgh4k96i939w4scikajmlriayk1zg3md16f8fckjvqbphpxrysl";
};
propagatedBuildInputs = [
@@ -33,6 +33,9 @@ buildPythonPackage rec {
substituteInPlace "xapp/os.py" --replace "/usr/bin/pkexec" "${polkit}/bin/pkexec"
'';
doCheck = false;
pythonImportsCheck = [ "xapp" ];
meta = with lib; {
homepage = "https://github.com/linuxmint/python-xapp";
description = "Cross-desktop libraries and common resources for python";