From 7393b7193844cff8226b32a2a70724f4f8e2a72c Mon Sep 17 00:00:00 2001 From: Donnie Erb <55961724+derb12@users.noreply.github.com> Date: Mon, 12 Feb 2024 20:55:13 -0500 Subject: [PATCH] MAINT: Bump lowest pentapy version to 1.1 Also updated the min python to 3.8 in a few missed places --- .github/workflows/python-test.yml | 6 +++--- README.rst | 4 ++-- docs/index.rst | 2 +- docs/installation.rst | 2 +- pyproject.toml | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/python-test.yml b/.github/workflows/python-test.yml index 4120553..6c1006a 100644 --- a/.github/workflows/python-test.yml +++ b/.github/workflows/python-test.yml @@ -53,7 +53,7 @@ jobs: id: install-optional # uncomment below to allow skipping future versions #if: matrix.python-version != '3.13' - run: python -m pip install "pentapy>=1.0" "numba>=0.49" + run: python -m pip install "pentapy>=1.1" "numba>=0.49" - name: Test with optional dependencies if: steps.install-optional.outcome == 'success' @@ -79,13 +79,13 @@ jobs: - name: Install minimum dependencies run: | python -m pip install --upgrade pip - python -m pip install numpy==1.20 scipy==1.5 pytest + python -m pip install "numpy==1.20" "scipy==1.5" pytest - name: Test with minimum required dependencies run: pytest . - name: Install minimum optional dependencies - run: python -m pip install pentapy==1.0 numba==0.49 + run: python -m pip install "pentapy==1.1" "numba==0.49" - name: Test with minimum optional dependencies run: pytest . diff --git a/README.rst b/README.rst index ab7bff0..e24af1d 100644 --- a/README.rst +++ b/README.rst @@ -32,7 +32,7 @@ pybaselines pybaselines is a library of algorithms for the baseline correction of experimental data. -* For Python 3.6+ +* For Python 3.8+ * Open Source: BSD 3-Clause License * Source Code: https://github.com/derb12/pybaselines * Documentation: https://pybaselines.readthedocs.io. @@ -97,7 +97,7 @@ To install the current version of pybaselines from GitHub, run: Dependencies ~~~~~~~~~~~~ -pybaselines requires `Python `_ version 3.6 or later +pybaselines requires `Python `_ version 3.8 or later and the following libraries: * `NumPy `_ (>= 1.14) diff --git a/docs/index.rst b/docs/index.rst index 9c5d1cc..8a325fc 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -8,7 +8,7 @@ pybaselines Documentation pybaselines is a library of algorithms for the baseline correction of experimental data. -* For Python 3.6+ +* For Python 3.8+ * Open Source: BSD 3-Clause License * Source Code: https://github.com/derb12/pybaselines * Documentation: https://pybaselines.readthedocs.io. diff --git a/docs/installation.rst b/docs/installation.rst index b2e7f2d..90a3220 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -34,7 +34,7 @@ pybaselines has the following optional dependencies: * :meth:`~Baseline.mpspline` * all functions in :mod:`pybaselines.spline` -* `pentapy `_ (>= 1.0): +* `pentapy `_ (>= 1.1): provides a faster solver for banded pentadiagonal linear systems, which are used by the following functions (when ``diff_order=2``): diff --git a/pyproject.toml b/pyproject.toml index 64601ac..58b5c85 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,7 +52,7 @@ Documentation = "https://pybaselines.readthedocs.io" [project.optional-dependencies] full = [ - "pentapy>=1.0", # first version with PTRANS-II solver and MIT license + "pentapy>=1.1", # first version with wheels for python 3.8 "numba>=0.49", # first to allow usage with python 3.8 ] test = [