Skip to content

Commit

Permalink
Adding support for scipy 1.14 and tests for Python 3.12 (JeschkeLab#474)
Browse files Browse the repository at this point in the history
* Update for 3.12

* Updated workflows and changelog

* Upload to 3.12
  • Loading branch information
HKaras committed Jul 31, 2024
1 parent e5cb1e2 commit 5668946
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci_PR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.10','3.11']
python-version: ['3.11','3.12']

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
python-version: [3.8, 3.9, "3.10", "3.11", "3.12","3.12"]
steps:
- uses: actions/checkout@v3

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/package_upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Set up Python 3.10
- name: Set up Python 3.11
uses: actions/setup-python@v1
with:
python-version: "3.10"
python-version: "3.11"
- name: Install pypa/build
run: >-
python -m pip install build --user
Expand Down
2 changes: 1 addition & 1 deletion deerlab/diststats.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import warnings
import copy
from scipy.signal import find_peaks
from scipy.integrate import cumtrapz
from scipy.integrate import cumulative_trapezoid as cumtrapz

def diststats(r, P, Puq=None, verbose=False, threshold=None):
r"""
Expand Down
1 change: 1 addition & 0 deletions docsrc/source/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Release ``v1.1.3`` - Ongoing
------------------------------------------
- |fix| : Removes unnecessary files from the docs
- |efficiency| : Improves the performance of the ``dipolarkernel`` function by 10-30% (:pr:`473`), by caching the interpolation of he effective dipolar evolution time vector.
- |fix| : add support for Python 3.12

Release ``v1.1.2`` - November 2023
------------------------------------------
Expand Down

0 comments on commit 5668946

Please sign in to comment.