From 78d7e6f310041a98e8755b30b5ae2480bf14b4bc Mon Sep 17 00:00:00 2001 From: Ad5001 Date: Tue, 17 Sep 2024 20:36:46 +0200 Subject: [PATCH] Bumping required Python version to v3.9 + adding new Polyfills for IDEs. --- .../qml/eu/ad5001/LogarithmPlotter/js/lib/qmlpolyfills.mjs | 6 +++++- setup.py | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/lib/qmlpolyfills.mjs b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/lib/qmlpolyfills.mjs index bf0661e..daefa6c 100644 --- a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/lib/qmlpolyfills.mjs +++ b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/lib/qmlpolyfills.mjs @@ -67,4 +67,8 @@ const Helper = { const Latex = { /** @type {function(string, number, string): string} */ render: (latex_markup, font_size, color) => '', -} \ No newline at end of file + /** @type {function(string, number, string): string} */ + findPrerendered: (latex_markup, font_size, color) => '', + /** @type {function(): boolean} */ + checkLatexInstallation: () => true, +} diff --git a/setup.py b/setup.py index 8a7408c..7f81314 100644 --- a/setup.py +++ b/setup.py @@ -123,7 +123,7 @@ if sys.platform == 'linux': setuptools.setup( install_requires=([] if "FLATPAK_INSTALL" in os.environ else ["PySide6-Essentials"]), - python_requires='>=3.8', + python_requires='>=3.9', name='logarithmplotter', version=pkg_version,