From 048717ce8bb350bd36c4d2ec39568bb0181ac450 Mon Sep 17 00:00:00 2001 From: wpbonelli Date: Sat, 9 Mar 2024 13:35:33 -0500 Subject: [PATCH 1/2] chore: update python support in setup.cfg, update ci matrix * update classifiers in setup.cfg * ci test with python 3.8-3.12 * drop python 3.7 since it's EOL --- .github/workflows/test.yml | 2 +- setup.cfg | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c41da81..bedd697 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -39,7 +39,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - python: ["3.7", "3.8", "3.9", "3.10", "3.11-dev"] + python: ["3.8", "3.9", "3.10", "3.11", "3.12"] steps: - name: Checkout code diff --git a/setup.cfg b/setup.cfg index ba5454c..f933a9f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -13,10 +13,11 @@ classifiers = Topic :: Software Development :: Quality Assurance License :: OSI Approved :: GNU General Public License v3 (GPLv3) Programming Language :: Python :: 3 - Programming Language :: Python :: 3.6 - Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 + Programming Language :: Python :: 3.10 + Programming Language :: Python :: 3.11 + Programming Language :: Python :: 3.12 Environment :: Console Operating System :: OS Independent keywords = @@ -28,10 +29,9 @@ project_urls = [options] packages = find: -python_requires = >= 3.6 +python_requires = >= 3.8 install_requires = configargparse - importlib-metadata; python_version < "3.8" [options.entry_points] console_scripts = From 66821d80d8aad4555f9b31f1080c057d143174eb Mon Sep 17 00:00:00 2001 From: wpbonelli Date: Sat, 9 Mar 2024 21:02:05 -0500 Subject: [PATCH 2/2] add python version badges to readme --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index a1ea7f8..b2bccf6 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ [![CI](https://github.com/pseewald/fprettify/actions/workflows/test.yml/badge.svg)](https://github.com/pseewald/fprettify/actions/workflows/test.yml) [![Coverage Status](https://coveralls.io/repos/github/pseewald/fprettify/badge.svg?branch=master)](https://coveralls.io/github/pseewald/fprettify?branch=master) ![PyPI - License](https://img.shields.io/pypi/l/fprettify) +![PyPI - Versions](https://img.shields.io/pypi/pyversions/fprettify) ![PyPI](https://img.shields.io/pypi/v/fprettify) [![Code Climate](https://codeclimate.com/github/pseewald/fprettify/badges/gpa.svg)](https://codeclimate.com/github/pseewald/fprettify)