Skip to content

Commit e8c6cf3

Browse files
Python 3 11 upgrade (#15)
* Update python dependencies from 3.9 to 3.11 * Update python dependencies from 3.9 to 3.11 * run pre-commit on all files locally * update pipfile.lock to be compatible with py3.11
1 parent 252672b commit e8c6cf3

5 files changed

Lines changed: 220 additions & 238 deletions

File tree

.github/workflows/lint_and_test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- uses: actions/setup-python@v2
1111
id: setup-python
1212
with:
13-
python-version: "3.9"
13+
python-version: "3.11"
1414
- run: pip install pipenv
1515
- name: Cache virtualenvs
1616
uses: actions/cache@v2

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ repos:
1616
rev: 23.1.0
1717
hooks:
1818
- id: black
19-
language_version: python3.9
19+
language_version: python3.11
2020
- repo: https://github.com/pycqa/isort
2121
rev: 5.12.0
2222
hooks:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.9.6-slim-buster AS dependencies
1+
FROM python:3.11.4-slim-buster AS dependencies
22

33
RUN apt-get update && apt-get -y upgrade
44
RUN apt-get install -y git

Pipfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ mypy = "*"
1515
pre-commit = "*"
1616

1717
[requires]
18-
python_version = "3.9"
18+
python_version = "3.11"
1919

2020
[pipenv]
2121
allow_prereleases = true

0 commit comments

Comments
 (0)