8000 chore: upgrade supported language versions (#589) · twilio/twilio-python@5dd5cd1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5dd5cd1

Browse files
author
childish-sambino
authored
chore: upgrade supported language versions (#589)
1 parent 70908b1 commit 5dd5cd1

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/test-and-deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
timeout-minutes: 20
1818
strategy:
1919
matrix:
20-
python-version: [ '3.6', '3.7', '3.8', '3.9' ]
20+
python-version: [ '3.6', '3.7', '3.8', '3.9', '3.10' ]
2121
steps:
2222
- name: Checkout twilio-python
2323
uses: actions/checkout@v2
@@ -40,7 +40,7 @@ jobs:
4040

4141
# only send coverage for PRs and branch updates
4242
- name: SonarCloud Scan
43-
if: ${{ github.event_name == 'pull_request' || github.ref_type == 'branch' }}
43+
if: (github.event_name == 'pull_request' || github.ref_type == 'branch') && !github.event.pull_request.head.repo.fork && matrix.python-version == '3.10'
4444
uses: SonarSource/sonarcloud-github-action@master
4545
env:
4646
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
@@ -60,7 +60,7 @@ jobs:
6060
- name: Set up Python
6161
uses: actions/setup-python@v2
6262
with:
63-
pyt E0D7 hon-version: '3.6'
63+
python-version: '3.10'
6464

6565
- name: Install dependencies
6666
run: |

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ This library supports the following Python implementations:
2929
* Python 3.7
3030
* Python 3.8
3131
* Python 3.9
32+
* Python 3.10
3233

3334
## Installation
3435

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"Programming Language :: Python :: 3.7",
3838
"Programming Language :: Python :: 3.8",
3939
"Programming Language :: Python :: 3.9",
40+
"Programming Language :: Python :: 3.10",
4041
"Programming Language :: Python :: Implementation :: CPython",
4142
"Topic :: Software Development :: Libraries :: Python Modules",
4243
"Topic :: Communications :: Telephony",

0 commit comments

Comments
 (0)
0