From 7ec91c72bf284b9bd0cc63b4530e64e273117391 Mon Sep 17 00:00:00 2001 From: Javier Lopez Lorente Date: Wed, 25 Nov 2026 13:38:29 +0100 Subject: [PATCH] Add support for Python 3.14 and 3.15 --- .github/workflows/test.yml | 2 +- CHANGELOG.md | 1 + README.md | 2 +- pyproject.toml | 2 ++ 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ab466df..e952dc5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,7 +18,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ["3.11", "3.12", "3.13"] + python-version: ["3.11", "3.12", "3.13", "3.14", "3.15"] steps: - name: Checkout repository diff --git a/CHANGELOG.md b/CHANGELOG.md index 22c3cd2..3b51640 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added +- Support for Python 3.14 and 3.15. Both are added to the CI test matrix and the package classifiers. - `PVSystem.power_binning` overrides the `power_binning_effect` of the module's `PanFileSupplements` (per unit, range [-0.1, 0.1], validated on construction and assignment). When `None` (default), no override is written and the value is inferred from the PAN file. It is listed by `PVSystem.describe(verbose=True)`. diff --git a/README.md b/README.md index 46babeb..59cfd19 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ The official Python SDK for [SolarFarmer](https://www.dnv.com/software/services/ ## Requirements -- Python >= 3.11 (tested on 3.11, 3.12, 3.13) +- Python >= 3.11 (tested on 3.11, 3.12, 3.13, 3.14, 3.15) - A SolarFarmer API key (commercial licence required; see [API Key](#api-key)) For compatibility with Python 3.10, use version 0.7.0 or prior. diff --git a/pyproject.toml b/pyproject.toml index d1be98e..47dd5b7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,6 +19,8 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", + "Programming Language :: Python :: 3.15", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Topic :: Scientific/Engineering :: Physics",