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 Jul 28, 2023
1 parent b59ab3a commit 7d3a0f3
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
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 .
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ include = ["coverage_comment/default.md.j2"]
coverage_comment = 'coverage_comment.main:main'

[tool.poetry.dependencies]
python = "^3.10"
python = "^3.11"
coverage = {version = "*", extras = ["toml"]}
diff-cover = "*"
httpx = {version = "*", extras = ["http2"]}
Expand Down
4 changes: 2 additions & 2 deletions tests/end_to_end/repo/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:

- uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: 'poetry'
python-version: "3.11"
cache: "poetry"

- run: poetry install

Expand Down
2 changes: 1 addition & 1 deletion tests/end_to_end/repo/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = ""
authors = ["Joachim Jablon <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.10"
python = "^3.11"

[tool.poetry.dev-dependencies]
pytest = "*"
Expand Down

0 comments on commit 7d3a0f3

Please sign in to comment.