summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2022-04-23 18:01:13 +0000
committerGitHub <noreply@github.com>2022-04-23 18:01:13 +0000
commitfddf656b608907fd11b647104f35b78269bb2be0 (patch)
tree3490a3991abb885e833bb0cf41fe195242e4ab70 /pkgs/development/python-modules
parent82ec893b680000b2a399f606b93c981565134409 (diff)
parent9cba3bc856e208cf2037d41ed2e087783db1ab35 (diff)
Merge master into staging-next
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/apprise/default.nix4
-rw-r--r--pkgs/development/python-modules/celery/default.nix4
-rw-r--r--pkgs/development/python-modules/flask-appbuilder/default.nix17
-rw-r--r--pkgs/development/python-modules/net2grid/default.nix58
-rw-r--r--pkgs/development/python-modules/phonenumbers/default.nix4
-rw-r--r--pkgs/development/python-modules/readme_renderer/default.nix4
-rw-r--r--pkgs/development/python-modules/slither-analyzer/default.nix16
7 files changed, 22 insertions, 85 deletions
diff --git a/pkgs/development/python-modules/apprise/default.nix b/pkgs/development/python-modules/apprise/default.nix
index ed54595ff435..8be62dfd0da1 100644
--- a/pkgs/development/python-modules/apprise/default.nix
+++ b/pkgs/development/python-modules/apprise/default.nix
@@ -20,14 +20,14 @@
buildPythonPackage rec {
pname = "apprise";
- version = "0.9.8";
+ version = "0.9.8.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
- hash = "sha256-PK1WxfJHWHbe/l+/6woBA2Gik+rKF5Uiuf35r4KNzEM=";
+ hash = "sha256-EDKa77sU09HOBp4NVsHNwp6S4UbHyqX8T8rFGOnV8kA=";
};
nativeBuildInputs = [
diff --git a/pkgs/development/python-modules/celery/default.nix b/pkgs/development/python-modules/celery/default.nix
index 247d25bf420a..4c7e2d8d62f5 100644
--- a/pkgs/development/python-modules/celery/default.nix
+++ b/pkgs/development/python-modules/celery/default.nix
@@ -24,14 +24,14 @@
buildPythonPackage rec {
pname = "celery";
- version = "5.2.3";
+ version = "5.2.6";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
- hash = "sha256-4s1BZnrZfU9qL0Zy0cam662hlMYZJTBYtfI3BKqtqoI=";
+ hash = "sha256-0TmMrfMPV2Jms0Nw4o6IAwbsVfektjB1SbCunBVmNIE=";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/flask-appbuilder/default.nix b/pkgs/development/python-modules/flask-appbuilder/default.nix
index 0129c9877230..1d84fb88ed7c 100644
--- a/pkgs/development/python-modules/flask-appbuilder/default.nix
+++ b/pkgs/development/python-modules/flask-appbuilder/default.nix
@@ -27,7 +27,7 @@
buildPythonPackage rec {
pname = "flask-appbuilder";
- version = "3.4.4";
+ version = "4.0.0";
format = "setuptools";
disabled = pythonOlder "3.7";
@@ -35,14 +35,10 @@ buildPythonPackage rec {
src = fetchPypi {
pname = "Flask-AppBuilder";
inherit version;
- sha256 = "sha256-uZzuvNusqMzAS/vmg3CuZ+D442J4LbFwsBboVIx/srE=";
+ hash = "sha256-g+iHUL83PokXPGu7HJ8ffLocQr0uGpMqS5MbfIlZZ2E=";
};
- # See here: https://github.com/dpgaspar/Flask-AppBuilder/commit/7097a7b133f27c78d2b54d2a46e4a4c24478a066.patch
- # https://github.com/dpgaspar/Flask-AppBuilder/pull/1610
- # The patch from the PR doesn't apply cleanly so I edited it manually.
patches = [
- ./upgrade-to-flask_jwt_extended-4.patch
(fetchpatch {
# https://github.com/dpgaspar/Flask-AppBuilder/pull/1734
name = "flask-appbuilder-wtf3.patch";
@@ -82,16 +78,11 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace setup.py \
--replace "apispec[yaml]>=3.3, <4" "apispec[yaml] >=3.3" \
- --replace "Flask>=0.12, <2" "Flask" \
- --replace "Flask-Login>=0.3, <0.5" "Flask-Login >=0.3, <0.6" \
- --replace "Flask-Babel>=1, <2" "Flask-Babel >=1, <3" \
+ --replace "Flask-Login>=0.3, <0.5" "Flask-Login >=0.3" \
--replace "Flask-WTF>=0.14.2, <0.15.0" "Flask-WTF" \
--replace "WTForms<3.0.0" "WTForms" \
--replace "marshmallow-sqlalchemy>=0.22.0, <0.27.0" "marshmallow-sqlalchemy" \
- --replace "Flask-JWT-Extended>=3.18, <4" "Flask-JWT-Extended>=4.1.0" \
- --replace "PyJWT>=1.7.1, <2.0.0" "PyJWT>=2.0.1" \
- --replace "prison>=0.2.1, <1.0.0" "prison" \
- --replace "SQLAlchemy<1.4.0" "SQLAlchemy"
+ --replace "prison>=0.2.1, <1.0.0" "prison"
'';
# Majority of tests require network access or mongo
diff --git a/pkgs/development/python-modules/net2grid/default.nix b/pkgs/development/python-modules/net2grid/default.nix
deleted file mode 100644
index ef03d45ab6b8..000000000000
--- a/pkgs/development/python-modules/net2grid/default.nix
+++ /dev/null
@@ -1,58 +0,0 @@
-{ lib
-, aiohttp
-, aresponses
-, buildPythonPackage
-, fetchFromGitHub
-, poetry-core
-, pytest-asyncio
-, pytestCheckHook
-, pythonOlder
-, yarl
-}:
-
-buildPythonPackage rec {
- pname = "net2grid";
- version = "4.0.0";
- format = "pyproject";
-
- disabled = pythonOlder "3.9";
-
- src = fetchFromGitHub {
- owner = "klaasnicolaas";
- repo = "python-net2grid";
- rev = "v${version}";
- hash = "sha256-Ihs8qUx50tAUcRBsVArRhzoLcQUi1vbYh8sPyK75AEk=";
- };
-
- nativeBuildInputs = [
- poetry-core
- ];
-
- propagatedBuildInputs = [
- aiohttp
- yarl
- ];
-
- checkInputs = [
- aresponses
- pytest-asyncio
- pytestCheckHook
- ];
-
- postPatch = ''
- substituteInPlace pyproject.toml \
- --replace '"0.0.0"' '"${version}"' \
- --replace 'addopts = "--cov"' ""
- '';
-
- pythonImportsCheck = [
- "net2grid"
- ];
-
- meta = with lib; {
- description = "Module for interacting with NET2GRID devices";
- homepage = "https://github.com/klaasnicolaas/python-net2grid";
- license = with licenses; [ mit ];
- maintainers = with maintainers; [ fab ];
- };
-}
diff --git a/pkgs/development/python-modules/phonenumbers/default.nix b/pkgs/development/python-modules/phonenumbers/default.nix
index 603980645e4b..4f8dc93c671e 100644
--- a/pkgs/development/python-modules/phonenumbers/default.nix
+++ b/pkgs/development/python-modules/phonenumbers/default.nix
@@ -6,12 +6,12 @@
buildPythonPackage rec {
pname = "phonenumbers";
- version = "8.12.46";
+ version = "8.12.47";
format = "setuptools";
src = fetchPypi {
inherit pname version;
- sha256 = "sha256-HEQPYzbLSYk/8agybHC032k4Aq6YHyEPVFzUIVrEgTM=";
+ sha256 = "sha256-Vv1gXS9UYOHfIRcIW2U7s4MiKV7GWOasqvycl2hn1SI=";
};
checkInputs = [
diff --git a/pkgs/development/python-modules/readme_renderer/default.nix b/pkgs/development/python-modules/readme_renderer/default.nix
index ab062615cc49..1c1ea480cd40 100644
--- a/pkgs/development/python-modules/readme_renderer/default.nix
+++ b/pkgs/development/python-modules/readme_renderer/default.nix
@@ -12,7 +12,7 @@
buildPythonPackage rec {
pname = "readme-renderer";
- version = "34.0";
+ version = "35.0";
format = "setuptools";
disabled = pythonOlder "3.6";
@@ -20,7 +20,7 @@ buildPythonPackage rec {
src = fetchPypi {
pname = "readme_renderer";
inherit version;
- sha256 = "sha256-37TRfyFwbRRfdHPgthyiRbpY6BDPmyIJpII5Z3+C5bA=";
+ sha256 = "sha256-pyeZms/CIvwh2CoS7UjJV8SYl4XlhlgHxlpIfSFndJc=";
};
propagatedBuildInputs = [
diff --git a/pkgs/development/python-modules/slither-analyzer/default.nix b/pkgs/development/python-modules/slither-analyzer/default.nix
index 8eaf442fb5de..d3295cbb1f8b 100644
--- a/pkgs/development/python-modules/slither-analyzer/default.nix
+++ b/pkgs/development/python-modules/slither-analyzer/default.nix
@@ -1,7 +1,7 @@
{ lib
, stdenv
, buildPythonPackage
-, fetchPypi
+, fetchFromGitHub
, makeWrapper
, pythonOlder
, crytic-compile
@@ -13,12 +13,16 @@
buildPythonPackage rec {
pname = "slither-analyzer";
- version = "0.8.2";
- disabled = pythonOlder "3.6";
+ version = "0.8.3";
+ format = "setuptools";
- src = fetchPypi {
- inherit pname version;
- sha256 = "sha256-77045eB7KvHBb0j61qz4zJTtEprg4/aH6MrPlQY1wiM=";
+ disabled = pythonOlder "3.7";
+
+ src = fetchFromGitHub {
+ owner = "crytic";
+ repo = "slither";
+ rev = version;
+ sha256 = "sha256-Kh5owlkRB9hDlfIRiS+aNFe4YtZj38CLeE3Fe+R7diM=";
};
nativeBuildInputs = [