Skip to content

Commit aabf768

Browse files
authored
SWI-3611 Add tests for python 3.11 (#161)
* Add tests for python 3.11 * update pytest dependency * Update requirements_dev.txt * Bump `py` dependency * Upgrade setup tools * Exclude Python3.11 on Windows 2019 There is a bug with the LXML library that requires us to install the binary directly w/o pip. IMO not worth working around when this version of the SDK is scheduled to be deprecated. * Windows 2022 and python3.11 also broken due to lxml * Update CODEOWNERS
1 parent 7ce2d4b commit aabf768

File tree

5 files changed

+17
-11
lines changed

5 files changed

+17
-11
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# Global rule:
2-
* @Bandwidth/dx
2+
* @Bandwidth/band-swi @Bandwidth/band-swi-github-repo-admin

.github/workflows/test-nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
strategy:
4646
matrix:
4747
os: [windows-2022, windows-2019, ubuntu-20.04, ubuntu-22.04]
48-
python-version: [3.7, 3.8, 3.9, '3.10']
48+
python-version: [3.7, 3.8, 3.9, '3.10', '3.11']
4949
steps:
5050
- name: Checkout
5151
uses: actions/checkout@v3

.github/workflows/test-pr.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,12 @@ jobs:
3535
strategy:
3636
matrix:
3737
os: [windows-2022, windows-2019, ubuntu-20.04, ubuntu-22.04]
38-
python-version: [3.7, 3.8, 3.9, '3.10']
38+
python-version: [3.7, 3.8, 3.9, '3.10', '3.11']
39+
exclude:
40+
- os: windows-2019
41+
python-version: '3.11'
42+
- os: windows-2022
43+
python-version: '3.11'
3944
steps:
4045
- name: Checkout
4146
uses: actions/checkout@v3
@@ -72,6 +77,7 @@ jobs:
7277

7378
- name: Install Packages
7479
run: |
80+
pip install --upgrade setuptools
7581
pip install -r requirements.txt
7682
pip install -r test-requirements.txt
7783

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
[![Test](https://github.com/Bandwidth/python-sdk/actions/workflows/test.yaml/badge.svg)](https://github.com/Bandwidth/python-sdk/actions/workflows/test.yaml)
44

5-
| **OS** | **Python** |
6-
|:---:|:---:|
7-
| Windows 2016 | 3.7, 3.8, 3.9, 3.10 |
8-
| Windows 2019 | 3.7, 3.8, 3.9, 3.10 |
9-
| Ubuntu 20.04 | 3.7, 3.8, 3.9, 3.10 |
10-
| Ubuntu 22.04 | 3.7, 3.8, 3.9, 3.10 |
5+
| **OS** | **Python** |
6+
|:---:|:-------------------------:|
7+
| Windows 2016 | 3.7, 3.8, 3.9, 3.10, 3.11 |
8+
| Windows 2019 | 3.7, 3.8, 3.9, 3.10, 3.11 |
9+
| Ubuntu 20.04 | 3.7, 3.8, 3.9, 3.10, 3.11 |
10+
| Ubuntu 22.04 | 3.7, 3.8, 3.9, 3.10, 3.11 |
1111

1212

1313
## Getting Started

requirements_dev.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ lxml==4.9.1
1010
msgpack==1.0.2
1111
packaging==21.0
1212
pluggy==1.0.0
13-
py==1.10.0
13+
py==1.11.0
1414
pyparsing==2.4.7
15-
pytest==6.2.5
15+
pytest~=7.1.3
1616
python-dateutil==2.8.1
1717
requests==2.31.0
1818
six==1.16.0

0 commit comments

Comments
 (0)