From ef64a4d3b6b4589660e7373476b38afb68b4501a Mon Sep 17 00:00:00 2001 From: Fabian Joswig Date: Fri, 21 Aug 2026 11:01:44 +0200 Subject: [PATCH] [chore] Deprecate python 3.10 (EOL 31 Oct 2026) --- .github/workflows/docs.yml | 2 +- .github/workflows/examples.yml | 2 +- .github/workflows/pytest.yml | 6 +++--- .github/workflows/release.yml | 2 +- README.md | 2 +- pyproject.toml | 5 ++--- 6 files changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 9de4d7a3..b6de9755 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -16,7 +16,7 @@ jobs: - name: Set up Python environment uses: actions/setup-python@v7 with: - python-version: "3.12" + python-version: "3.14" - uses: actions/checkout@v7 - name: Updated documentation run: | diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml index d32d624b..8788bdce 100644 --- a/.github/workflows/examples.yml +++ b/.github/workflows/examples.yml @@ -20,7 +20,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - python-version: ["3.10", "3.12"] + python-version: ["3.12", "3.14"] steps: - name: Checkout source diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index bde82704..1e2b091b 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -20,12 +20,12 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] + python-version: ["3.11", "3.12", "3.13", "3.14"] include: - os: macos-latest - python-version: "3.12" + python-version: "3.14" - os: ubuntu-24.04-arm - python-version: "3.12" + python-version: "3.14" steps: - name: Checkout source diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ebfe8ebf..45716a96 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,7 +20,7 @@ jobs: - uses: actions/setup-python@v7 with: - python-version: "3.12" + python-version: "3.14" - name: Install pypa/build run: >- diff --git a/README.md b/README.md index 64f1fd96..b58262d1 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/downloads/) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![arXiv](https://img.shields.io/badge/arXiv-2209.14371-b31b1b.svg)](https://arxiv.org/abs/2209.14371) [![DOI](https://img.shields.io/badge/DOI-10.1016%2Fj.cpc.2023.108750-blue)](https://doi.org/10.1016/j.cpc.2023.108750) +[![](https://img.shields.io/badge/python-3.11+-blue.svg)](https://www.python.org/downloads/) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![arXiv](https://img.shields.io/badge/arXiv-2209.14371-b31b1b.svg)](https://arxiv.org/abs/2209.14371) [![DOI](https://img.shields.io/badge/DOI-10.1016%2Fj.cpc.2023.108750-blue)](https://doi.org/10.1016/j.cpc.2023.108750) # pyerrors `pyerrors` is a python framework for error computation and propagation of Markov chain Monte Carlo data from lattice field theory and statistical mechanics simulations. diff --git a/pyproject.toml b/pyproject.toml index 11173bdb..4fbda62a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ name = "pyerrors" dynamic = ["version"] description = "Error propagation and statistical analysis for Monte Carlo simulations" readme = "README.md" -requires-python = ">=3.10.0" +requires-python = ">=3.11.0" license = "MIT" license-files = ["LICENSE"] authors = [ @@ -17,7 +17,6 @@ classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Science/Research", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", @@ -60,7 +59,7 @@ version = { attr = "pyerrors.version.__version__" } include = ["pyerrors*"] [tool.ruff] -target-version = "py310" +target-version = "py311" [tool.ruff.lint] select = ["E", "W", "I", "B", "PIE", "PLE", "PLW", "UP", "NPY", "RUF", "F"]