From fa5514dc9b5b1c297cab9f053778d3cb021deb54 Mon Sep 17 00:00:00 2001 From: Sam Clements Date: Thu, 7 Oct 2021 12:03:02 +0100 Subject: [PATCH] Release 6.5.0 This adds a a PyPI classifier and tests for Python 3.10. --- .github/workflows/ci.yml | 17 +++++++++++++---- setup.py | 3 ++- tox.ini | 6 ++++++ 3 files changed, 21 insertions(+), 5 deletions(-) create mode 100644 tox.ini diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 31e931d..320bf9f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,7 +6,8 @@ jobs: runs-on: "ubuntu-latest" strategy: matrix: - python-version: ["3.9"] + python-version: + - "3.10" steps: - uses: "actions/checkout@master" - name: "🐍 Set up Python ${{ matrix.python-version }}" @@ -28,8 +29,15 @@ jobs: runs-on: "ubuntu-latest" strategy: matrix: - python-version: ["3.6", "3.7", "3.8", "3.9"] - dependencies: ["", "colorama"] + python-version: + - "3.6" + - "3.7" + - "3.8" + - "3.9" + - "3.10" + dependencies: + - "" + - "colorama" steps: - uses: "actions/checkout@master" - name: "🐍 Set up Python ${{ matrix.python-version }}" @@ -47,7 +55,8 @@ jobs: runs-on: "ubuntu-latest" strategy: matrix: - python-version: ["3.8"] + python-version: + - "3.8" steps: - uses: "actions/checkout@master" - name: "🐍 Set up Python ${{ matrix.python-version }}" diff --git a/setup.py b/setup.py index c4924b1..661db4d 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup( name="colorlog", - version="6.4.1", + version="6.5.0", description="Add colours to the output of Python's logging module.", long_description=open("README.md").read(), long_description_content_type="text/markdown", @@ -30,6 +30,7 @@ "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", "Topic :: Terminals", "Topic :: Utilities", ], diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..79718ae --- /dev/null +++ b/tox.ini @@ -0,0 +1,6 @@ +[tox] +envlist = py36,py37,py38,py39,py310 + +[testenv] +deps = pytest +commands = pytest -v