From 4d2df08c9a489db6ceaf0ebbef692c092393f124 Mon Sep 17 00:00:00 2001 From: Tom Schraitle Date: Mon, 10 Jan 2022 21:11:46 +0100 Subject: [PATCH] Start supporting Python 3.10 --- .github/workflows/python-testing.yml | 2 +- changelog.d/347.trivial.rst | 1 + pyproject.toml | 2 +- setup.cfg | 1 + tox.ini | 4 ++-- 5 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 changelog.d/347.trivial.rst diff --git a/.github/workflows/python-testing.yml b/.github/workflows/python-testing.yml index 1147d288..8f36dbc9 100644 --- a/.github/workflows/python-testing.yml +++ b/.github/workflows/python-testing.yml @@ -49,7 +49,7 @@ jobs: strategy: max-parallel: 5 matrix: - python-version: [3.6, 3.7, 3.8, 3.9] + python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"] steps: - uses: actions/checkout@v1 diff --git a/changelog.d/347.trivial.rst b/changelog.d/347.trivial.rst new file mode 100644 index 00000000..2d44ceb1 --- /dev/null +++ b/changelog.d/347.trivial.rst @@ -0,0 +1 @@ +Support Python 3.10 in GitHub Action and other config files. diff --git a/pyproject.toml b/pyproject.toml index 1b406dac..e58eb25a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ build-backend = "setuptools.build_meta" [tool.black] line-length = 88 -target-version = ['py36', 'py37', 'py38'] +target-version = ['py36', 'py37', 'py38', 'py39', 'py310'] # diff = true exclude = ''' ( diff --git a/setup.cfg b/setup.cfg index 681240ac..9467709c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -30,6 +30,7 @@ classifiers = Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 + Programming Language :: Python :: 3.10 Topic :: Software Development :: Libraries :: Python Modules license = BSD diff --git a/tox.ini b/tox.ini index ce566562..8c7eb5e5 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] envlist = checks - py{36,37,38,39} + py{36,37,38,39,310} isolated_build = True [gh-actions] @@ -10,7 +10,7 @@ python = 3.7: py37 3.8: py38 3.9: py39 - # 3.10: py310 + 3.10: py310 [testenv] pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy