From 931c342aa066288bacb6c34f7ef339cb5b77f36f Mon Sep 17 00:00:00 2001 From: Pip Liggins Date: Mon, 14 Oct 2024 11:36:30 +0100 Subject: [PATCH] Support 3.13, drop 3.8 --- .github/workflows/tests.yml | 6 +++--- README.md | 4 +--- pyproject.toml | 4 ++-- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a018b9b..a327217 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -22,11 +22,11 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v4 - - name: Set up Python 3.10 + - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} @@ -43,5 +43,5 @@ jobs: run: | python3 -m pytest --cov - name: Upload coverage to Codecov - if: matrix.python-version == 3.8 + if: matrix.python-version == 3.9 uses: codecov/codecov-action@v3 diff --git a/README.md b/README.md index 4135864..8a03f34 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,6 @@ # adtl – another data transformation language -[![Python 3.8+](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/downloads/) -[![Python 3.13](https://img.shields.io/badge/python-3.13-red.svg)](https://www.python.org/downloads/release/python-3130/) - +[![Python 3.9+](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/downloads/) [![tests](https://github.com/globaldothealth/adtl/actions/workflows/tests.yml/badge.svg)](https://github.com/globaldothealth/adtl/actions/workflows/tests.yml) [![codecov](https://codecov.io/gh/globaldothealth/adtl/branch/main/graph/badge.svg?token=QTD7HRR3TO)](https://codecov.io/gh/globaldothealth/adtl) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) diff --git a/pyproject.toml b/pyproject.toml index e8dd880..8d938b8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,13 +14,13 @@ authors = [ {name = "Pip Liggins", email = "philippa.liggins@dtc.ox.ac.uk"} ] license = {file = "LICENSE"} -requires-python = ">=3.8, <3.13" # 3.13 not supported by pint, so temporary upper bound +requires-python = ">=3.9" readme = "README.md" classifiers = ["License :: OSI Approved :: MIT License"] dependencies = [ "backports.zoneinfo;python_version<'3.9'", "tomli>=2.0.0", - "pint>=0.20", + "pint>=0.22", "requests>=2.0.0", "fastjsonschema==2.16.*", "tqdm",