From 11712752c0829b2d8d27c40009923de8245f1c54 Mon Sep 17 00:00:00 2001 From: gruebel Date: Sat, 1 Oct 2022 19:11:13 +0200 Subject: [PATCH 1/2] add support for Python 3.11 --- .github/workflows/continuous_integration.yml | 2 +- setup.py | 1 + tox.ini | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous_integration.yml b/.github/workflows/continuous_integration.yml index 1ab9b5d1..1f9d5547 100644 --- a/.github/workflows/continuous_integration.yml +++ b/.github/workflows/continuous_integration.yml @@ -15,7 +15,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["pypy-3.7", "3.6", "3.7", "3.8", "3.9", "3.10"] + python-version: ["pypy-3.7", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11-dev"] os: [ubuntu-latest, macos-latest, windows-latest] exclude: # pypy3 randomly fails on Windows builds diff --git a/setup.py b/setup.py index 350a5a0f..52563cf9 100644 --- a/setup.py +++ b/setup.py @@ -38,6 +38,7 @@ "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", ], keywords="arrow date time datetime timestamp timezone humanize", project_urls={ diff --git a/tox.ini b/tox.ini index c51432a2..fcd2d9c1 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 3.18.0 -envlist = py{py3,36,37,38,39,310} +envlist = py{py3,36,37,38,39,310,311} skip_missing_interpreters = true [gh-actions] @@ -11,6 +11,7 @@ python = 3.8: py38 3.9: py39 3.10: py310 + 3.11-dev: py311 [testenv] deps = -r requirements/requirements-tests.txt From 48520e7352b4ae290cc0ed64ada8025e1bac1f0b Mon Sep 17 00:00:00 2001 From: gruebel Date: Sun, 2 Oct 2022 10:51:12 +0200 Subject: [PATCH 2/2] adjust python version name in tox.ini --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index fcd2d9c1..11d70cb2 100644 --- a/tox.ini +++ b/tox.ini @@ -11,7 +11,7 @@ python = 3.8: py38 3.9: py39 3.10: py310 - 3.11-dev: py311 + 3.11: py311 [testenv] deps = -r requirements/requirements-tests.txt