From 709a7cca08d6e61f8ba4b48ef8968778f1d301d5 Mon Sep 17 00:00:00 2001 From: Adam Tyson Date: Wed, 5 Jun 2024 16:55:47 +0100 Subject: [PATCH] Update supported Python versions --- .github/workflows/test_and_deploy.yml | 14 ++++++++------ pyproject.toml | 10 ++++++---- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml index 3a72832..2a43856 100644 --- a/.github/workflows/test_and_deploy.yml +++ b/.github/workflows/test_and_deploy.yml @@ -27,14 +27,16 @@ jobs: strategy: matrix: # Run all supported Python versions on linux - python-version: ["3.9", "3.10", "3.11"] os: [ubuntu-latest] - # Include one windows and macos run + python-version: ["3.10", "3.11", "3.12"] + # Include one windows and two macOS (intel based and arm based) runs include: - - os: macos-latest - python-version: "3.11" - - os: windows-latest - python-version: "3.11" + - os: macos-13 + python-version: "3.12" + - os: macos-latest + python-version: "3.12" + - os: windows-latest + python-version: "3.12" steps: # Run tests diff --git a/pyproject.toml b/pyproject.toml index 4906475..1229002 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ name = "fancylog" authors = [{name = "Adam Tyson", email= "code@adamltyson.com"}] description = "Fancier logging in Python" readme = "README.md" -requires-python = ">=3.9.0" +requires-python = ">=3.10" dynamic = ["version"] license = {text = "BSD-3-Clause"} @@ -11,9 +11,10 @@ license = {text = "BSD-3-Clause"} classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", - "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Operating System :: OS Independent", "License :: OSI Approved :: BSD License", ] @@ -93,14 +94,15 @@ docstring-code-format = true # Also format code in docstrings [tool.tox] legacy_tox_ini = """ [tox] -envlist = py{39,310,311} +envlist = py{310,311,312} isolated_build = True [gh-actions] python = - 3.9: py39 3.10: py310 3.11: py311 + 3.12: py312 + [testenv] extras =