SG-32806 Enable support for Python 3.10 in CI (#301) · mathbou/python-api@7cb3367 · GitHub
Skip to content

Commit 7cb3367

Browse files
SG-32806 Enable support for Python 3.10 in CI (shotgunsoftware#301)
* Test CI with Python 3.10 * Add Support for SSLContext * Update badges and docs * Remove 3.11. See note in run-tests.yml * Update badge. Update maxParallel
1 parent aa6a948 commit 7cb3367

3 files changed

Lines changed: 24 additions & 8 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions

azure-pipelines-templates/run-tests.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,19 @@ jobs:
4343
# matrix.
4444
strategy:
4545
matrix:
46-
# We support these two versions of Python.
46+
# We support these versions of Python.
4747
Python37:
4848
python.version: '3.7'
4949
Python39:
5050
python.version: '3.9'
51+
Python310:
52+
python.version: '3.10'
53+
# Note for Python 3.11. This will raise hundres of warnings on a third party module
54+
# pytest_nunit/nunit.py
55+
# DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead
56+
# This is the current behavior on the latest 1.0.3 version of this module.
57+
58+
maxParallel: 3
5159

5260
# These are the steps that will be executed inside each job.
5361
steps:

shotgun_api3/shotgun.py

Lines changed: 13 additions & 5 deletions

0 commit comments

Comments
 (0)