From efc5056673fc865eb3d2e983f304343c41b4f9cd Mon Sep 17 00:00:00 2001 From: Matt Newville Date: Wed, 21 Jan 2026 10:26:18 -0600 Subject: [PATCH 1/4] drop support for 3.8, update license formatting --- .github/workflows/test.yml | 2 +- pyproject.toml | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1e890ab6..4545a55e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,7 +15,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] os: ["ubuntu-latest", "windows-latest", "macos-latest"] runs-on: ${{ matrix.os }} diff --git a/pyproject.toml b/pyproject.toml index e4c5cab1..8545816f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,6 @@ build-backend = "setuptools.build_meta" write_to = "uncertainties/version.py" version_scheme = "post-release" - [project] name = "uncertainties" dynamic = ["version"] @@ -21,18 +20,17 @@ keywords = [ "standard deviation", "derivatives", "partial derivatives", "differentiation" ] -license = {text = "Revised BSD License"} +license = "BSD-3-Clause" +license-files = ["LICENSE.txt"] classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Intended Audience :: Education", "Intended Audience :: Other Audience", "Intended Audience :: Science/Research", - "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", From d6f18786832cc73e7e45e41d1887b0cfaf8d496d Mon Sep 17 00:00:00 2001 From: Matt Newville Date: Wed, 21 Jan 2026 10:28:16 -0600 Subject: [PATCH 2/4] change FutureWarning to PendingDeprecatedWarning for error_components() and derivatives() --- uncertainties/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uncertainties/core.py b/uncertainties/core.py index 1c7ff51e..fd7fb5f6 100644 --- a/uncertainties/core.py +++ b/uncertainties/core.py @@ -448,7 +448,7 @@ def derivatives(self): warn( f"{self.__class__.__name__}.derivatives() is deprecated. It will " f"be removed in a future release.", - FutureWarning, + PendingDeprecationWarning, stacklevel=2, ) @@ -481,7 +481,7 @@ def error_components(self): f"be replaced with an instance property by the same name. It will be " f"accessed by {self.__class__.__name__}.error_components (with no " f"parentheses).", - FutureWarning, + PendingDeprecationWarning, stacklevel=2, ) From 8bc85589adb89b43a5d1ae76d3941ef3c216bab6 Mon Sep 17 00:00:00 2001 From: Matt Newville Date: Wed, 21 Jan 2026 10:28:31 -0600 Subject: [PATCH 3/4] update changelog --- CHANGES.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CHANGES.rst b/CHANGES.rst index c4870485..7d054ea1 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,15 @@ Change Log =================== + +3.2.5 2026-January-21 +----------------------- + +- change warnings about deprecation of error_components() and + derivates to PendingDeprecationWarning +- Drop support for Python 3.8 + + 3.2.4 2026-January-9 ----------------------- From 1075430ec7bb09b2ef6a65840b31bfca7c38308d Mon Sep 17 00:00:00 2001 From: Matt Newville Date: Wed, 21 Jan 2026 14:12:41 -0600 Subject: [PATCH 4/4] Update pyproject.toml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Clément Robert --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 8545816f..714bae59 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,7 @@ authors = [ ] description = "calculations with values with uncertainties, error propagation" readme = "README.rst" -requires-python = ">=3.8" +requires-python = ">=3.9" keywords = [ "error propagation", "uncertainties", "uncertainty calculations", "standard deviation", "derivatives", "partial derivatives",