From 85ae9d7563f550a0fbd14a6e487d23392f05f658 Mon Sep 17 00:00:00 2001 From: Fabian Joswig Date: Sun, 19 Oct 2025 12:59:20 +0200 Subject: [PATCH] [chore] Remove support for python 3.9 and bump python versions in runners (#273) --- .github/workflows/docs.yml | 2 +- .github/workflows/flake8.yml | 2 +- .github/workflows/pytest.yml | 2 +- README.md | 2 +- setup.py | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 03ca7c23..f1dcce68 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -13,7 +13,7 @@ jobs: - name: Set up Python environment uses: actions/setup-python@v5 with: - python-version: "3.10" + python-version: "3.12" - uses: actions/checkout@v4 - name: Updated documentation run: | diff --git a/.github/workflows/flake8.yml b/.github/workflows/flake8.yml index c6625b37..a80fb559 100644 --- a/.github/workflows/flake8.yml +++ b/.github/workflows/flake8.yml @@ -17,7 +17,7 @@ jobs: - name: Set up Python environment uses: actions/setup-python@v5 with: - python-version: "3.10" + python-version: "3.12" - name: flake8 Lint uses: py-actions/flake8@v2 with: diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index d04a20bb..1889b290 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -17,7 +17,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] include: - os: macos-latest python-version: "3.12" diff --git a/README.md b/README.md index 7937da4d..64f1fd96 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![](https://img.shields.io/badge/python-3.9+-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.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) # 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/setup.py b/setup.py index 8c42f4a6..066f4f99 100644 --- a/setup.py +++ b/setup.py @@ -24,18 +24,18 @@ setup(name='pyerrors', author_email='fabian.joswig@ed.ac.uk', license="MIT", packages=find_packages(), - python_requires='>=3.9.0', + python_requires='>=3.10.0', install_requires=['numpy>=2.0', 'autograd>=1.7.0', 'numdifftools>=0.9.41', 'matplotlib>=3.9', 'scipy>=1.13', 'iminuit>=2.28', 'h5py>=3.11', 'lxml>=5.0', 'python-rapidjson>=1.20', 'pandas>=2.2'], extras_require={'test': ['pytest', 'pytest-cov', 'pytest-benchmark', 'hypothesis', 'nbmake', 'flake8']}, classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Science/Research', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', 'Programming Language :: Python :: 3.13', + 'Programming Language :: Python :: 3.14', 'Topic :: Scientific/Engineering :: Physics' ], )