Przeglądaj źródła

Backport PR #11646: Drop testing Python 3.6, test on Python 3.10 (#11867)

Co-authored-by: Jeremy Tuloup <jeremy.tuloup@gmail.com>
Frédéric Collonval 3 lat temu
rodzic
commit
f1fb6b815e
2 zmienionych plików z 15 dodań i 14 usunięć
  1. 14 13
      .github/workflows/linuxtests.yml
  2. 1 1
      setup.cfg

+ 14 - 13
.github/workflows/linuxtests.yml

@@ -30,35 +30,36 @@ jobs:
             linkcheck,
             lint,
           ]
-        python: [3.6, 3.8]
+        # This will be used by the base setup action
+        python-version: ['3.7', '3.10']
         include:
           - group: release_test
             upload-output: true
         exclude:
           - group: integrity
-            python: 3.6
+            python-version: '3.7'
           - group: integrity2
-            python: 3.6
+            python-version: '3.7'
           - group: integrity3
-            python: 3.6
+            python-version: '3.7'
           - group: release_test
-            python: 3.6
+            python-version: '3.7'
           - group: docs
-            python: 3.6
+            python-version: '3.7'
           - group: usage
-            python: 3.6
+            python-version: '3.7'
           - group: usage2
-            python: 3.6
+            python-version: '3.7'
           - group: linkcheck
-            python: 3.6
+            python-version: '3.7'
           - group: nonode
-            python: 3.6
+            python-version: '3.7'
           - group: lint
-            python: 3.6
+            python-version: '3.7'
           - group: examples
-            python: 3.6
+            python-version: '3.7'
           - group: splice_source
-            python: 3.6
+            python-version: '3.7'
       fail-fast: false
     timeout-minutes: 30
     runs-on: ubuntu-20.04

+ 1 - 1
setup.cfg

@@ -20,10 +20,10 @@ classifiers =
     Intended Audience :: Science/Research
     License :: OSI Approved :: BSD License
     Programming Language :: Python
-    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
 
 [options]
 zip_safe = False