]> git.ipfire.org Git - thirdparty/babel.git/commitdiff
Add support for Python 3.10
authorHugo van Kemenade <hugovk@users.noreply.github.com>
Sun, 12 Sep 2021 15:11:50 +0000 (18:11 +0300)
committerAarni Koskela <akx@iki.fi>
Tue, 14 Sep 2021 12:09:32 +0000 (15:09 +0300)
.github/workflows/test.yml
setup.py
tox.ini

index e9c411862319533d1f9237cdca03b4456c76237e..43eb3e9c5850a7d14c2046fdc00bdf3421138b92 100644 (file)
@@ -12,7 +12,7 @@ jobs:
     strategy:
       matrix:
         os: [ubuntu-18.04, windows-2019, macos-10.15]
-        python-version: [3.6, 3.7, 3.8, 3.9, pypy3]
+        python-version: [3.6, 3.7, 3.8, 3.9, 3.10-dev, pypy3]
         exclude:
           - os: windows-2019
             python-version: pypy3
index adf3bb5d914ad01943d62b9673c215afd6012688..36d89a2c7310d1dd00d0062643386ce3906e7d1e 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -45,10 +45,12 @@ setup(
         'Operating System :: OS Independent',
         'Programming Language :: Python',
         'Programming Language :: Python :: 3',
+        'Programming Language :: Python :: 3 :: Only',
         'Programming Language :: Python :: 3.6',
         'Programming Language :: Python :: 3.7',
         'Programming Language :: Python :: 3.8',
         'Programming Language :: Python :: 3.9',
+        'Programming Language :: Python :: 3.10',
         'Programming Language :: Python :: Implementation :: CPython',
         'Programming Language :: Python :: Implementation :: PyPy',
         'Topic :: Software Development :: Libraries :: Python Modules',
diff --git a/tox.ini b/tox.ini
index 14b450ff8c3e63826054c214146384824cadf562..9d3ecbe034ef326495472c044f753eaaa5f61f47 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,6 @@
 [tox]
 envlist =
-    py{36,37,38,39}
+    py{36,37,38,39,310}
     pypy3
 
 [testenv]
@@ -23,3 +23,4 @@ python =
     3.7: py37
     3.8: py38
     3.9: py39
+    3.10-dev: py310