]> khamidou — GitHub mirrors - safetensors.git/commitdiff
Adding suppot for 3.11 where possible (conda does not support 3.11 yet). (#97)
authorNicolas Patry <patry.nicolas@protonmail.com>
Tue, 22 Nov 2022 14:36:11 +0000 (15:36 +0100)
committerGitHub <noreply@github.com>
Tue, 22 Nov 2022 14:36:11 +0000 (15:36 +0100)
* Adding suppot for 3.11 where possible (conda does not support 3.11 yet).

* Update .github/workflows/python-release.yml

* Update .github/workflows/python-release-conda.yml

Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
.github/workflows/python-release-conda.yml
.github/workflows/python-release.yml

index 52c964ac923121886c1da2765100d807d8b557ac..474fc1e91863efd2ec5fa389ca7e845cd69bcc4e 100644 (file)
@@ -14,9 +14,8 @@ jobs:
     strategy:
       matrix:
         os: [windows-latest, macos-latest]
-        python: ["3.7", "3.8", "3.9"]
-        # 3.10 Not yet available on Conda.
-        # python: ["3.7", "3.8", "3.9", "3.10"]
+        # 3.11 not available on Conda yet.
+        python: ["3.7", "3.8", "3.9", "3.10"]
 
     steps:
       - name: Checkout repository
index 14b0f22c1503ae55719322d8eb125f00813fe6b7..6cf931a83552d058915723a7b395f6e05163cf4d 100644 (file)
@@ -33,7 +33,7 @@ jobs:
     runs-on: windows-latest
     strategy:
       matrix:
-        python: ["3.7", "3.8", "3.9", "3.10"]
+        python: ["3.7", "3.8", "3.9", "3.10", "3.11"]
     steps:
       - name: Checkout repository
         uses: actions/checkout@v2
@@ -79,7 +79,7 @@ jobs:
     strategy:
       matrix:
         os: [windows-latest, macos-10.15]
-        python: ["3.7", "3.8", "3.9", "3.10"]
+        python: ["3.7", "3.8", "3.9", "3.10", "3.11"]
     steps:
       - name: Checkout repository
         uses: actions/checkout@v2
@@ -121,7 +121,7 @@ jobs:
     runs-on: macos-arm64
     strategy:
       matrix:
-        python: ["3.9.13", "3.10.6"]
+        python: ["3.9.13", "3.10.6", "3.11"]
     steps:
       - name: Checkout repository
         uses: actions/checkout@v2