Skip to content

Commit

Permalink
MAINT: Bump lowest pentapy version to 1.1
Browse files Browse the repository at this point in the history
Also updated the min python to 3.8 in a few missed places
  • Loading branch information
derb12 committed Feb 13, 2024
1 parent c0f1057 commit 7393b71
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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 .
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -97,7 +97,7 @@ To install the current version of pybaselines from GitHub, run:
Dependencies
~~~~~~~~~~~~

pybaselines requires `Python <https://python.org>`_ version 3.6 or later
pybaselines requires `Python <https://python.org>`_ version 3.8 or later
and the following libraries:

* `NumPy <https://numpy.org>`_ (>= 1.14)
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pybaselines has the following optional dependencies:
* :meth:`~Baseline.mpspline`
* all functions in :mod:`pybaselines.spline`

* `pentapy <https://github.com/GeoStat-Framework/pentapy>`_ (>= 1.0):
* `pentapy <https://github.com/GeoStat-Framework/pentapy>`_ (>= 1.1):
provides a faster solver for banded pentadiagonal linear systems, which are
used by the following functions (when ``diff_order=2``):

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down

0 comments on commit 7393b71

Please sign in to comment.