Skip to content

Commit

Permalink
ENH: official python 3.8 support
Browse files Browse the repository at this point in the history
  • Loading branch information
mplanchard committed Jan 12, 2020
1 parent 58f83ac commit fdf8564
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- Testing in CI for Python 3.8
- `Option.raise_if_nothing(self, msg: str, exc_cls: t.Type[Exception] = RuntimeError) -> T`
added as a semantically friendly alias for `Option.expect`.

Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ test-3.7:
docker run --rm -it --mount type=bind,source="$(PWD)",target="/src" -w "/src" \
python:3.7 bash -c "make clean && pip install -e .[dev] && $(TEST); make clean"

test-3.8-rc:
test-3.8:
docker run --rm -it --mount type=bind,source="$(PWD)",target="/src" -w "/src" \
python:3.8-rc bash -c "make clean && pip install -e .[dev] && $(TEST); make clean"
python:3.8 bash -c "make clean && pip install -e .[dev] && $(TEST); make clean"

test-all-versions: test-3.6 test-3.7 test-3.8

Expand Down
2 changes: 2 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ strategy:
python.version: '3.6'
Python37:
python.version: '3.7'
Python38:
python.version: '3.8'

steps:
- task: UsePythonVersion@0
Expand Down

0 comments on commit fdf8564

Please sign in to comment.