From b6af357be5e2c173b66c9a7a52754c62f7e27226 Mon Sep 17 00:00:00 2001 From: Morten Engen Date: Mon, 16 Mar 2026 09:25:53 +0100 Subject: [PATCH] Drop support for 3.9 --- .github/workflows/build.yaml | 2 +- README.md | 1 + docs/installation/index.md | 2 +- pyproject.toml | 6 +++++- tox.ini | 2 +- 5 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 482242ed..84141917 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -12,7 +12,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] + python-version: ["3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} diff --git a/README.md b/README.md index f71af51f..6590374c 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ *A Python library for structural engineering calculations.* [![PyPI version](https://badge.fury.io/py/structuralcodes.svg)](https://badge.fury.io/py/structuralcodes) +[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/structuralcodes)](https://pypi.org/project/structuralcodes/) [![Code style: Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/format.json)](https://github.com/charliermarsh/ruff) [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json)](https://github.com/charliermarsh/ruff) [![Docs](https://img.shields.io/badge/%F0%9F%93%9A%20docs-fib--international.github.io%2Fstructuralcodes%2F-orange)](https://fib-international.github.io/structuralcodes/) diff --git a/docs/installation/index.md b/docs/installation/index.md index 59c07ab6..608c7a74 100644 --- a/docs/installation/index.md +++ b/docs/installation/index.md @@ -1,7 +1,7 @@ (installation)= # Installation -`structuralcodes` is compatible with Python 3.9, 3.10, 3.11, 3.12, and 3.13, and is installed by typing: +`structuralcodes` is compatible with [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/structuralcodes)](https://pypi.org/project/structuralcodes/) and is installed by typing: :::::{tab-set} ::::{tab-item} Python diff --git a/pyproject.toml b/pyproject.toml index 869abca2..8f307fe6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,9 +10,13 @@ authors = [ {name = "fib - International Federation for Structural Concrete", email = "info@fib-international.org"} ] readme = "README.md" -requires-python = ">=3.9" +requires-python = ">=3.10" classifiers = [ "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Operating System :: OS Independent" ] dependencies = [ diff --git a/tox.ini b/tox.ini index 3f2284ff..c34a117f 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] isolated_build = True -envlist = py{39, 310, 311, 312, 313} +envlist = py{310, 311, 312, 313} [testenv] allowlist_externals = make