Skip to content

Commit cabc7f9

Browse files
authored
[PECO-197] Support Python 3.10 (databricks#31)
* Test with multiple python versions. * Update pyarrow to version 9.0.0 to address issue in relation to python 3.10 & a specific version of numpy being pulled in by pyarrow. Closes databricks#26 Signed-off-by: David Black <[email protected]>
1 parent 909f2ad commit cabc7f9

File tree

4 files changed

+144
-144
lines changed

4 files changed

+144
-144
lines changed

.github/workflows/code-quality-checks.yml

+16-7
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,20 @@ on: [push]
33
jobs:
44
run-unit-tests:
55
runs-on: ubuntu-latest
6+
strategy:
7+
matrix:
8+
python-version: [3.7, 3.8, 3.9, "3.10"]
69
steps:
710
#----------------------------------------------
811
# check-out repo and set-up python
912
#----------------------------------------------
1013
- name: Check out repository
1114
uses: actions/checkout@v2
12-
- name: Set up python
15+
- name: Set up python ${{ matrix.python-version }}
1316
id: setup-python
1417
uses: actions/setup-python@v2
1518
with:
16-
python-version: 3.7
19+
python-version: ${{ matrix.python-version }}
1720
#----------------------------------------------
1821
# ----- install & configure poetry -----
1922
#----------------------------------------------
@@ -51,17 +54,20 @@ jobs:
5154
run: poetry run python -m pytest tests/unit
5255
check-linting:
5356
runs-on: ubuntu-latest
57+
strategy:
58+
matrix:
59+
python-version: [3.7, 3.8, 3.9, "3.10"]
5460
steps:
5561
#----------------------------------------------
5662
# check-out repo and set-up python
5763
#----------------------------------------------
5864
- name: Check out repository
5965
uses: actions/checkout@v2
60-
- name: Set up python
66+
- name: Set up python ${{ matrix.python-version }}
6167
id: setup-python
6268
uses: actions/setup-python@v2
6369
with:
64-
python-version: 3.7
70+
python-version: ${{ matrix.python-version }}
6571
#----------------------------------------------
6672
# ----- install & configure poetry -----
6773
#----------------------------------------------
@@ -100,17 +106,20 @@ jobs:
100106

101107
check-types:
102108
runs-on: ubuntu-latest
109+
strategy:
110+
matrix:
111+
python-version: [3.7, 3.8, 3.9, "3.10"]
103112
steps:
104113
#----------------------------------------------
105114
# check-out repo and set-up python
106115
#----------------------------------------------
107116
- name: Check out repository
108117
uses: actions/checkout@v2
109-
- name: Set up python
118+
- name: Set up python ${{ matrix.python-version }}
110119
id: setup-python
111120
uses: actions/setup-python@v2
112121
with:
113-
python-version: 3.7
122+
python-version: ${{ matrix.python-version }}
114123
#----------------------------------------------
115124
# ----- install & configure poetry -----
116125
#----------------------------------------------
@@ -145,4 +154,4 @@ jobs:
145154
# black the code
146155
#----------------------------------------------
147156
- name: Mypy
148-
run: poetry run mypy src
157+
run: poetry run mypy src

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ You are welcome to file an issue here for general use cases. You can also contac
1111

1212
## Requirements
1313

14-
A development machine running Python >=3.7, <3.10.
14+
Python 3.7 or above is required.
1515

1616
## Documentation
1717

0 commit comments

Comments
 (0)