Skip to content

Commit

Permalink
[PECO-197] Support Python 3.10 (databricks#31)
Browse files Browse the repository at this point in the history
* 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 <dblack@atlassian.com>
  • Loading branch information
dbaxa authored Aug 17, 2022
1 parent 909f2ad commit cabc7f9
Show file tree
Hide file tree
Showing 4 changed files with 144 additions and 144 deletions.
23 changes: 16 additions & 7 deletions .github/workflows/code-quality-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,20 @@ on: [push]
jobs:
run-unit-tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9, "3.10"]
steps:
#----------------------------------------------
# check-out repo and set-up python
#----------------------------------------------
- name: Check out repository
uses: actions/checkout@v2
- name: Set up python
- name: Set up python ${{ matrix.python-version }}
id: setup-python
uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: ${{ matrix.python-version }}
#----------------------------------------------
# ----- install & configure poetry -----
#----------------------------------------------
Expand Down Expand Up @@ -51,17 +54,20 @@ jobs:
run: poetry run python -m pytest tests/unit
check-linting:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9, "3.10"]
steps:
#----------------------------------------------
# check-out repo and set-up python
#----------------------------------------------
- name: Check out repository
uses: actions/checkout@v2
- name: Set up python
- name: Set up python ${{ matrix.python-version }}
id: setup-python
uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: ${{ matrix.python-version }}
#----------------------------------------------
# ----- install & configure poetry -----
#----------------------------------------------
Expand Down Expand Up @@ -100,17 +106,20 @@ jobs:

check-types:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9, "3.10"]
steps:
#----------------------------------------------
# check-out repo and set-up python
#----------------------------------------------
- name: Check out repository
uses: actions/checkout@v2
- name: Set up python
- name: Set up python ${{ matrix.python-version }}
id: setup-python
uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: ${{ matrix.python-version }}
#----------------------------------------------
# ----- install & configure poetry -----
#----------------------------------------------
Expand Down Expand Up @@ -145,4 +154,4 @@ jobs:
# black the code
#----------------------------------------------
- name: Mypy
run: poetry run mypy src
run: poetry run mypy src
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ You are welcome to file an issue here for general use cases. You can also contac

## Requirements

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

## Documentation

Expand Down
Loading

0 comments on commit cabc7f9

Please sign in to comment.