From 6ef185f5ad368f986040a562e39f6206ae342dd5 Mon Sep 17 00:00:00 2001 From: Callum Rollo Date: Mon, 29 Jan 2024 15:08:56 +0100 Subject: [PATCH] to python 3.12 and bump version number --- .github/workflows/tests.yml | 2 +- .pre-commit-config.yaml | 3 ++- README.md | 1 + cmcrameri/__init__.py | 2 +- pyproject.toml | 1 + 5 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c854bad..5386543 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,7 +10,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.7", "3.9", "3.10", "3.12"] os: [windows-latest, ubuntu-latest, macos-latest] fail-fast: false diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fc83744..407a08c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -38,9 +38,10 @@ repos: - --ignore-words-list=buda - repo: https://github.com/tox-dev/pyproject-fmt - rev: "0.13.0" + rev: "1.7.0" hooks: - id: pyproject-fmt + additional_dependencies: ["tox>=4.9"] - repo: https://github.com/aio-libs/sort-all rev: "v1.2.0" diff --git a/README.md b/README.md index 5db7bfe..e8b6136 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@ [![Python 3.9](https://img.shields.io/badge/python-3.9-blue.svg)]() [![Python 3.10](https://img.shields.io/badge/python-3.10-blue.svg)]() [![Python 3.11](https://img.shields.io/badge/python-3.11-blue.svg)]() +[![Python 3.12](https://img.shields.io/badge/python-3.12-blue.svg)]() [![Downloads](https://pepy.tech/badge/cmcrameri)](https://pepy.tech/project/cmcrameri) (PyPI) diff --git a/cmcrameri/__init__.py b/cmcrameri/__init__.py index 3fda0f1..af3d169 100644 --- a/cmcrameri/__init__.py +++ b/cmcrameri/__init__.py @@ -18,6 +18,6 @@ __authors__ = ["Callum Rollo "] -__version__ = "1.7" +__version__ = "1.8" __scm_version__ = "8.0" diff --git a/pyproject.toml b/pyproject.toml index 5cc8b27..664fa87 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,6 +23,7 @@ classifiers = [ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", ] dynamic = [ "version",