Skip to content

Commit

Permalink
Upgrade everything to py3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
ewjoachim committed Aug 3, 2023
1 parent 6b5eb6d commit dc167ee
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 130 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.11"

- name: Install Poetry
run: |
pipx install poetry --python=python3.10
pipx install poetry --python=python3.11
- name: Poetry caches
uses: actions/cache@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e-external.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.11"

- name: Install Poetry
run: |
pipx install poetry --python=python3.10
pipx install poetry --python=python3.11
- name: Poetry caches
uses: actions/cache@v3
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
default_language_version:
python: python3.10
python: python3.11

ci:
# Renovate updates the file. We can't disable pre-commit CI's autoupdate entirely
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ You're welcome to contribute, though I can't promise the experience will be as s

### Things to know:

- Python3.10
- Python3.11
- Use [Poetry](https://python-poetry.org/)
- Launch tests with `pytest`, config is in setup.cfg
- `black`, `isort`, `flake8` and once mypy will work with 3.10, we'll use it. There's `pre-commit`, so you can install hooks with `pre-commit install`.
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# See Dockerfile.build for instructions on bumping this.
FROM ewjoachim/python-coverage-comment-action-base:v1
FROM ewjoachim/python-coverage-comment-action-base:v2

COPY coverage_comment ./coverage_comment
RUN pip install .
Loading

0 comments on commit dc167ee

Please sign in to comment.