From fe9fdd3ee541aba814f8a540d16b2f277d34ca55 Mon Sep 17 00:00:00 2001 From: Brian Date: Fri, 27 Feb 2026 15:21:02 -0700 Subject: [PATCH 1/3] update minimum python version to 3.10 to avoid EoL versions --- .github/workflows/ci.yml | 16 ++++++++-------- setup.py | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 075951d9..a8ebe999 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,12 +13,12 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v6 - - name: Set up Python 3.8 - uses: actions/setup-python@v3 + - name: Set up Python 3.10 + uses: actions/setup-python@v6 with: - python-version: "3.8" + python-version: "3.10" - name: Install dependencies run: | @@ -40,13 +40,13 @@ jobs: fail-fast: false max-parallel: 5 matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v6 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v3 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} @@ -75,7 +75,7 @@ jobs: - uses: actions/checkout@master - name: Set up Python 3.10 - uses: actions/setup-python@v3 + uses: actions/setup-python@v6 with: python-version: "3.10" diff --git a/setup.py b/setup.py index 3ec140cd..2b4d8078 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ long_description_content_type="text/markdown", url="https://impedancepy.readthedocs.io/en/latest/", packages=setuptools.find_packages(), - python_requires="~=3.8", + python_requires="~=3.10", install_requires=['altair>=3.0', 'matplotlib>=3.5', 'numpy>=1.22.4', 'scipy>=1.0', 'pandas'], From c7315215bf3fad192ba07f2d3f749b4342a51424 Mon Sep 17 00:00:00 2001 From: Brian Date: Fri, 27 Feb 2026 16:44:47 -0700 Subject: [PATCH 2/3] update requirements listed in README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a0ac8f86..6e8c29c9 100644 --- a/README.md +++ b/README.md @@ -29,10 +29,10 @@ See [Getting started with impedance.py](https://impedancepy.readthedocs.io/en/la impedance.py requires: -- Python (>=3.7) +- Python (>=3.10) - SciPy (>=1.0) - NumPy (>=1.22.4) -- Matplotlib (>=3.0) +- Matplotlib (>=3.5) - Altair (>=3.0) - Pandas From 6d802e964d8965778cc5af854f2265fecfe63625 Mon Sep 17 00:00:00 2001 From: Brian Gerwe Date: Thu, 9 Apr 2026 18:51:07 -0700 Subject: [PATCH 3/3] remove unnecesary global definition --- impedance/models/circuits/elements.py | 1 - 1 file changed, 1 deletion(-) diff --git a/impedance/models/circuits/elements.py b/impedance/models/circuits/elements.py index 643ff696..369d254a 100644 --- a/impedance/models/circuits/elements.py +++ b/impedance/models/circuits/elements.py @@ -33,7 +33,6 @@ def wrapper(p, f): wrapper.__name__ = func.__name__ wrapper.__doc__ = func.__doc__ - global circuit_elements if func.__name__ in ["s", "p"]: raise ElementError("cannot redefine elements 's' (series)" + "or 'p' (parallel)")