From d15cdf48b745a16117334d1cabf1427bbb60f739 Mon Sep 17 00:00:00 2001 From: David Stansby Date: Fri, 8 Apr 2022 11:17:37 +0100 Subject: [PATCH] Add support for Python 3.10 --- .github/workflows/test_and_deploy.yml | 20 +++++++++----------- CHANGELOG.md | 10 ++++++++++ setup.py | 1 + 3 files changed, 20 insertions(+), 11 deletions(-) create mode 100644 CHANGELOG.md diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml index 7573e67d..05e0994e 100644 --- a/.github/workflows/test_and_deploy.yml +++ b/.github/workflows/test_and_deploy.yml @@ -13,17 +13,15 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest, macos-latest, windows-latest] - python-version: [3.7, 3.8, 3.9] - exclude: - - os: macos-latest - python-version: 3.7 - - os: macos-latest - python-version: 3.8 - - os: windows-latest - python-version: 3.7 - - os: windows-latest - python-version: 3.8 + # Run all supported Python versions on linux + python-version: ["3.7", "3.8", "3.9", "3.10"] + os: [ubuntu-latest] + # Include one windows and macos run + include: + - os: macos-latest + python-version: "3.9" + - os: windows-latest + python-version: "3.9" steps: - uses: brainglobe/actions/test@main with: diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..d12f3ad2 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,10 @@ +# Changelog +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +### Added +- Support for installing and running on Python 3.10 diff --git a/setup.py b/setup.py index 312b1793..67ca9caf 100644 --- a/setup.py +++ b/setup.py @@ -98,6 +98,7 @@ "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", "Topic :: Scientific/Engineering :: Image Recognition", "Intended Audience :: Developers", "Intended Audience :: Science/Research",