]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Add support for Python 3.10
authorFederico Caselli <cfederico87@gmail.com>
Mon, 11 Oct 2021 19:47:18 +0000 (15:47 -0400)
committersqla-tester <sqla-tester@sqlalchemy.org>
Mon, 11 Oct 2021 19:47:18 +0000 (15:47 -0400)
<!-- Provide a general summary of your proposed changes in the Title field above -->

### Description
<!-- Describe your changes in detail -->

Python 3.10 was released last week.

Test on Python 3.10 and add the Trove classifier.

### Checklist
<!-- go over following points. check them with an `x` if they do apply, (they turn into clickable checkboxes once the PR is submitted, so no need to do everything at once)

-->

This pull request is:

- [ ] A documentation / typographical error fix
- Good to go, no issue or tests are needed
- [x] A short code fix
- please include the issue number, and create an issue if none exists, which
  must include a complete example of the issue.  one line code fixes without an
  issue and demonstration will not be accepted.
- Please include: `Fixes: #<issue number>` in the commit message
- please include tests.   one line code fixes without tests will not be accepted.
- [ ] A new feature implementation
- please include the issue number, and create an issue if none exists, which must
  include a complete example of how the feature would look.
- Please include: `Fixes: #<issue number>` in the commit message
- please include tests.

**Have a nice day!**

^ Which checklist option should I use?

Should I do something to trigger/test all the workflows?

Closes: #7179
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/7179
Pull-request-sha: 5df7ff0e0d309301a877314e620fadb6f3f570cb

Change-Id: Ib7ecc0de75f7dffdf05db13563f7be10898e67ba

.github/workflows/create-wheels.yaml
.github/workflows/run-on-pr.yaml
.github/workflows/run-test.yaml
setup.cfg

index fa7c0352e5dc06d70985a666ff68b1e492c87c0d..a5d3b1525f1c7484237c7527c6ddd70100975757 100644 (file)
@@ -28,6 +28,7 @@ jobs:
           - "3.7"
           - "3.8"
           - "3.9"
+          - "3.10"
         architecture:
           - x64
           - x86
@@ -135,6 +136,7 @@ jobs:
           - cp37-cp37m
           - cp38-cp38
           - cp39-cp39
+          - cp310-cp310
         architecture:
           - x64
 
@@ -288,6 +290,7 @@ jobs:
           - cp37-cp37m
           - cp38-cp38
           - cp39-cp39
+          - cp310-cp310
 
       fail-fast: false
 
index ca1864899823a40944a7c1a86462bd0712ac1d5b..2a04a1f0485b14e1530b3edb31606722e54f1e52 100644 (file)
@@ -23,7 +23,7 @@ jobs:
           - "ubuntu-latest"
         python-version:
           - "2.7"
-          - "3.9"
+          - "3.10"
         build-type:
           - "cext"
           - "nocext"
@@ -61,7 +61,7 @@ jobs:
         os:
           - "ubuntu-latest"
         python-version:
-          - "3.9"
+          - "3.10"
 
       fail-fast: false
 
@@ -94,7 +94,7 @@ jobs:
         os:
           - "ubuntu-latest"
         python-version:
-          - "3.9"
+          - "3.10"
 
       fail-fast: false
 
index cd71555bdf7b3e7497383b69cc9d0c176b77b2fb..5675ac6ec5db743a44486f8fd555dba7ab9a6574 100644 (file)
@@ -33,8 +33,8 @@ jobs:
           - "3.7"
           - "3.8"
           - "3.9"
-          - "3.10.0-beta - 3.10"
-          - "pypy3"
+          - "3.10"
+          - "pypy-3.7"
         build-type:
           - "cext"
           - "nocext"
@@ -44,7 +44,7 @@ jobs:
 
         include:
           # autocommit tests fail on the ci for some reason
-          - python-version: "pypy3"
+          - python-version: "pypy-3.7"
             pytest-args: "-k 'not test_autocommit_on and not test_turn_autocommit_off_via_default_iso_level and not test_autocommit_isolation_level'"
           # add aiosqlite on linux
           - os: "ubuntu-latest"
@@ -61,11 +61,11 @@ jobs:
           - os: "macos-latest"
             architecture: x86
           # pypy does not have cext
-          - python-version: "pypy3"
+          - python-version: "pypy-3.7"
             build-type: "cext"
-          # pypy on windows has an ancient sqlite version (3.6)
           - os: "windows-latest"
-            python-version: "pypy3"
+            python-version: "pypy-3.7"
+            architecture: x86
 
       fail-fast: false
 
@@ -99,6 +99,7 @@ jobs:
           - cp37-cp37m
           - cp38-cp38
           - cp39-cp39
+          - cp310-cp310
         build-type:
           - "cext"
           - "nocext"
@@ -139,7 +140,7 @@ jobs:
           - "3.7"
           - "3.8"
           - "3.9"
-          - "3.10.0-beta - 3.10"
+          - "3.10"
 
       fail-fast: false
 
index 035afe788b0a22e9613e0b2f2f7ec6a21cbc8c15..84bda4e255b40a53d0520f679f34798298845031 100644 (file)
--- a/setup.cfg
+++ b/setup.cfg
@@ -25,6 +25,7 @@ classifiers =
     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 :: Database :: Front-Ends