Skip to content

Commit fbb8770

Browse files
committed
Updates for Python 3.9 support
This updates various supporting files for Python 3.9 support.
1 parent 4526cba commit fbb8770

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@ on: [push, pull_request]
55
jobs:
66
test:
77
runs-on: ubuntu-20.04
8-
env:
9-
READTHEDOCS: "True" # work around bleak import error
8+
strategy:
9+
matrix:
10+
python-version: [ '3.8', '3.9' ]
1011
steps:
1112
- uses: actions/checkout@v2
1213
- run: pipx install poetry
1314
- uses: actions/setup-python@v2
1415
with:
15-
python-version: '3.8'
16+
python-version: ${{ matrix.python-version }}
1617
- run: poetry install
1718
- run: poetry run pytest
1819
- run: poetry run flake8 --show-source

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ to use, you are welcome to use them, but we can't help you if things go wrong.
1111
### Prerequisites
1212

1313
- [Git](https://git-scm.com/) (or install `git` with your favorite package manager)
14-
- [Python 3.8](https://python.org) (see [README](./README.md) for more info)
14+
- [Python](https://python.org) (see [README](./README.md) for more info)
1515
- [Poetry](https://python-poetry.org/)
1616
- [VS Code](https://code.visualstudio.com/)
1717

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ operations from within a Python script.
1414

1515
### Python Runtime
1616

17-
We currently only support Python 3.8.x. (Newer versions are not supported yet
18-
for technical reasons.)
17+
`pybricksdev` requires Python 3.8 or higher.
1918

2019
- For Windows, use the [official Python installer][py-dl] or the [Windows Store][py38-win].
2120
- For Mac, use the [official Python installer][py-dl] or Homebrew (`brew install [email protected]`).

README.notebooks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Here are some tips on using `pybricksdev` with Jupyter notebooks.
44

5-
- Create a virtual environment for hosting the kernel (remember `pybricksdev` is Python 3.8 only!).
5+
- Create a virtual environment for hosting the kernel.
66
- Use `apt`, `brew`, `pipx`, etc. and not `pip` for installing notebook server globally.
77
- Required packages for kernel: `pybricksdev`, `ipykernel`, `ipywidgets`
88
- Recommended packages for kernel: `matplotlib`

0 commit comments

Comments
 (0)