From 173650fcf30b5927e89659ec70f5466f4054fb9d Mon Sep 17 00:00:00 2001 From: Ryan Soklaski Date: Sat, 18 Feb 2023 11:39:03 -0800 Subject: [PATCH] test python 3.10 & 3.11 (#48) * test python 3.10 & 3.11 * py35 and py36 are dead to me * add classifiers * all parallel --- .github/workflows/tox_run.yml | 3 +-- README.md | 26 ++++++++++++++++---------- setup.cfg | 2 +- setup.py | 11 +++++++++++ 4 files changed, 29 insertions(+), 13 deletions(-) diff --git a/.github/workflows/tox_run.yml b/.github/workflows/tox_run.yml index 9de603b..6406ba1 100644 --- a/.github/workflows/tox_run.yml +++ b/.github/workflows/tox_run.yml @@ -17,9 +17,8 @@ jobs: runs-on: ubuntu-latest strategy: - max-parallel: 3 matrix: - python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9] + python-version: [2.7, 3.7, 3.8, 3.9, "3.10", 3.11] fail-fast: false steps: diff --git a/README.md b/README.md index a10c891..1826b4e 100644 --- a/README.md +++ b/README.md @@ -3,18 +3,24 @@ [![Automated tests status](https://github.com/rsokl/custom_inherit/workflows/Tests/badge.svg)](https://github.com/rsokl/custom_inherit/actions?query=workflow%3ATests+branch%3Amaster) [![PyPi version](https://img.shields.io/pypi/v/custom_inherit.svg)](https://pypi.python.org/pypi/custom_inherit) [![Conda Version](https://img.shields.io/conda/vn/conda-forge/custom-inherit.svg)](https://anaconda.org/conda-forge/custom-inherit) -[![Python version support](https://img.shields.io/badge/python-2.7,%20%20%203.4%20%20%20--%203.9-blue.svg)](https://img.shields.io/pypi/v/custom_inherit.svg) +[![Python version support](https://img.shields.io/badge/python-2.7,%20%20%203.4%20%20%20--%203.11-blue.svg)](https://img.shields.io/pypi/v/custom_inherit.svg) ## Contents - - [Overview](#overview) - - [Basic Usage](#basic-usage) - - [Inheriting Docstrings Using a Metaclass](#inheriting-docstrings-using-a-metaclass) - - [Inheriting Docstrings Using a Decorator](#inheriting-docstrings-using-a-decorator) - - [Advanced Usage (ABCMeta)](#advanced-usage) - - [Built-in Styles](#built-in-styles) - - [Making New Inheritance Styles](#making-new-inheritance-styles) - - [Installation & Getting Started](#installation-and-getting-started) - - [Documentation](#documentation) +- [custom\_inherit](#custom_inherit) + - [Contents](#contents) + - [Overview](#overview) + - [Features](#features) + - [Implementation Notes](#implementation-notes) + - [Projects That Use `custom_inherit`](#projects-that-use-custom_inherit) + - [Basic Usage](#basic-usage) + - [Inheriting Docstrings Using a Metaclass](#inheriting-docstrings-using-a-metaclass) + - [Inheriting Docstrings Using a Decorator](#inheriting-docstrings-using-a-decorator) + - [Advanced Usage](#advanced-usage) + - [Built-in Styles](#built-in-styles) + - [Making New Inheritance Styles](#making-new-inheritance-styles) + - [Installation and Getting Started](#installation-and-getting-started) + - [Documentation](#documentation) + - [Go Back To:](#go-back-to) ## Overview The Python package `custom_inherit` provides convenient, light-weight tools for inheriting docstrings in customizeable ways. diff --git a/setup.cfg b/setup.cfg index eb1ddb3..0ca3ce5 100644 --- a/setup.cfg +++ b/setup.cfg @@ -7,7 +7,7 @@ tag_prefix = v [tox:tox] -envlist = py27,py35,py36,py37,py38,py39 +envlist = py27,py37,py38,py39,py310,py311 [testenv] deps = pytest diff --git a/setup.py b/setup.py index c62e866..5b89697 100644 --- a/setup.py +++ b/setup.py @@ -16,4 +16,15 @@ url="https://github.com/rsokl/custom_inherit", download_url="https://github.com/rsokl/custom_inherit/tarball/" + versioneer.get_version(), license="MIT", + classifiers = [ + "Development Status :: 4 - Beta", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", + "Programming Language :: Python :: 2.7", + "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", + ] )