From 81878c03f76020d84df7b39e77f58bc828a19948 Mon Sep 17 00:00:00 2001 From: Benjamin Salchow Date: Sun, 15 Mar 2020 14:06:14 +0100 Subject: [PATCH 1/2] adds python 3.7 compatibility --- octoprint_stats/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/octoprint_stats/__init__.py b/octoprint_stats/__init__.py index 53009b9..ffb50c9 100644 --- a/octoprint_stats/__init__.py +++ b/octoprint_stats/__init__.py @@ -1019,6 +1019,7 @@ def get_update_information(self): # can be overwritten via __plugin_xyz__ control properties. See the documentation for that. __plugin_name__ = "Printer Stats" __plugin_version__ = "2.0.2" +__plugin_pythoncompat__ = ">=2.7,<4" __plugin_description__ = "Statistics of your 3D Printer" def __plugin_load__(): From e22279bd7e0841885a7fc1bbad193945aa300ddf Mon Sep 17 00:00:00 2001 From: Benjamin Salchow Date: Sun, 15 Mar 2020 14:49:12 +0100 Subject: [PATCH 2/2] adds numpy to setup (required by pandas) --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 59944ff..2bf365d 100644 --- a/setup.py +++ b/setup.py @@ -33,7 +33,7 @@ plugin_license = "AGPLv3" # Any additional requirements besides OctoPrint should be listed here -plugin_requires = ["tinydb", "pandas"] +plugin_requires = ["tinydb", "pandas", "numpy"] ### -------------------------------------------------------------------------------------------------------------------- ### More advanced options that you usually shouldn't have to touch follow after this point