Skip to contentSkip to conversation

ci: bump to python 3.11 in GitHub Actions

PATCH In review Jason Zaman 2 participants 2 messages Jan 15, 2023 – Feb 1, 2023 SELinux security module

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ci: bump to python 3.11 in GitHub Actions

- Also drop py3.5, py3.6 since they are no longer supported in the github 22.04 runners

---

CI passed here: https://github.com/perfinion/selinux/actions/runs/3925727573

 .github/workflows/run_tests.yml | 27 +++++++++++++--------------
 1 file changed, 13 insertions(+), 14 deletions(-)
.github/workflows/run_tests.yml +13 -14
index db0e1af5..198ba7b6 100644
@@ -10,31 +10,30 @@ jobs:
       matrix:
         compiler: [gcc, clang]
         python-ruby-version:
-          - {python: '3.10', ruby: '3.1'}
-          - {python: '3.10', ruby: '3.1', other: test-flags-override}
-          - {python: '3.10', ruby: '3.1', other: test-debug}
-          - {python: '3.10', ruby: '3.1', other: linker-bfd}
-          - {python: '3.10', ruby: '3.1', other: linker-gold}
+          - {python: '3.11', ruby: '3.1'}
+          - {python: '3.11', ruby: '3.1', other: 'test-flags-override'}
+          - {python: '3.11', ruby: '3.1', other: 'test-debug'}
+          - {python: '3.11', ruby: '3.1', other: 'linker-bfd'}
+          - {python: '3.11', ruby: '3.1', other: 'linker-gold'}
           # Test several Python versions with the latest Ruby version
+          - {python: '3.10', ruby: '3.1'}
           - {python: '3.9', ruby: '3.1'}
           - {python: '3.8', ruby: '3.1'}
           - {python: '3.7', ruby: '3.1'}
-          - {python: '3.6', ruby: '3.1'}
-          - {python: '3.5', ruby: '3.1'}
           - {python: 'pypy3.7', ruby: '3.1'}
           # Test several Ruby versions with the latest Python version
-          - {python: '3.10', ruby: '3.0'}
-          - {python: '3.10', ruby: '2.7'}
-          - {python: '3.10', ruby: '2.6'}
-          - {python: '3.10', ruby: '2.5'}
+          - {python: '3.11', ruby: '3.0'}
+          - {python: '3.11', ruby: '2.7'}
+          - {python: '3.11', ruby: '2.6'}
+          - {python: '3.11', ruby: '2.5'}
         exclude:
           - compiler: clang
-            python-ruby-version: {python: '3.10', ruby: '3.1', other: linker-bfd}
+            python-ruby-version: {python: '3.11', ruby: '3.1', other: 'linker-bfd'}
           - compiler: clang
-            python-ruby-version: {python: '3.10', ruby: '3.1', other: linker-gold}
+            python-ruby-version: {python: '3.11', ruby: '3.1', other: 'linker-gold'}
         include:
           - compiler: gcc
-            python-ruby-version: {python: '3.10', ruby: '3.1', other: sanitizers}
+            python-ruby-version: {python: '3.11', ruby: '3.1', other: 'sanitizers'}
 
     steps:
     - uses: actions/checkout@v3
Signature · 1 line
2.38.2
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Jason Zaman

- Also drop py3.5, py3.6 since they are no longer supported in the github 22.04 runners

and merged. Thanks!

Quoted 59 lines

---

CI passed here: https://github.com/perfinion/selinux/actions/runs/3925727573

 .github/workflows/run_tests.yml | 27 +++++++++++++--------------
 1 file changed, 13 insertions(+), 14 deletions(-)
.github/workflows/run_tests.yml +13 -14
index db0e1af5..198ba7b6 100644
@@ -10,31 +10,30 @@ jobs:
       matrix:
         compiler: [gcc, clang]
         python-ruby-version:
-          - {python: '3.10', ruby: '3.1'}
-          - {python: '3.10', ruby: '3.1', other: test-flags-override}
-          - {python: '3.10', ruby: '3.1', other: test-debug}
-          - {python: '3.10', ruby: '3.1', other: linker-bfd}
-          - {python: '3.10', ruby: '3.1', other: linker-gold}
+          - {python: '3.11', ruby: '3.1'}
+          - {python: '3.11', ruby: '3.1', other: 'test-flags-override'}
+          - {python: '3.11', ruby: '3.1', other: 'test-debug'}
+          - {python: '3.11', ruby: '3.1', other: 'linker-bfd'}
+          - {python: '3.11', ruby: '3.1', other: 'linker-gold'}
           # Test several Python versions with the latest Ruby version
+          - {python: '3.10', ruby: '3.1'}
           - {python: '3.9', ruby: '3.1'}
           - {python: '3.8', ruby: '3.1'}
           - {python: '3.7', ruby: '3.1'}
-          - {python: '3.6', ruby: '3.1'}
-          - {python: '3.5', ruby: '3.1'}
           - {python: 'pypy3.7', ruby: '3.1'}
           # Test several Ruby versions with the latest Python version
-          - {python: '3.10', ruby: '3.0'}
-          - {python: '3.10', ruby: '2.7'}
-          - {python: '3.10', ruby: '2.6'}
-          - {python: '3.10', ruby: '2.5'}
+          - {python: '3.11', ruby: '3.0'}
+          - {python: '3.11', ruby: '2.7'}
+          - {python: '3.11', ruby: '2.6'}
+          - {python: '3.11', ruby: '2.5'}
         exclude:
           - compiler: clang
-            python-ruby-version: {python: '3.10', ruby: '3.1', other: linker-bfd}
+            python-ruby-version: {python: '3.11', ruby: '3.1', other: 'linker-bfd'}
           - compiler: clang
-            python-ruby-version: {python: '3.10', ruby: '3.1', other: linker-gold}
+            python-ruby-version: {python: '3.11', ruby: '3.1', other: 'linker-gold'}
         include:
           - compiler: gcc
-            python-ruby-version: {python: '3.10', ruby: '3.1', other: sanitizers}
+            python-ruby-version: {python: '3.11', ruby: '3.1', other: 'sanitizers'}
 
     steps:
     - uses: actions/checkout@v3
Signature · 1 line
2.38.2