Update Python from 3.10.14 to 3.11.8
This commit is contained in:
Родитель
3cdbcaaa61
Коммит
39ca0ec125
|
@ -65,7 +65,7 @@ executors:
|
|||
parameters: &python_parameters
|
||||
python_version:
|
||||
description: "python version tag"
|
||||
default: "3.10.13"
|
||||
default: "3.11.8"
|
||||
type: string
|
||||
variant:
|
||||
description: "image variant"
|
||||
|
|
|
@ -18,7 +18,7 @@ jobs:
|
|||
- name: Set up Python 3
|
||||
uses: actions/setup-python@v5.0.0
|
||||
with:
|
||||
python-version: '3.10'
|
||||
python-version: '3.11'
|
||||
cache: 'pip'
|
||||
- name: Install Python dependencies
|
||||
run: |
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM python:3.10.14
|
||||
FROM python:3.11.8
|
||||
|
||||
ARG CIRCLE_BRANCH
|
||||
ARG CIRCLE_SHA1
|
||||
|
|
|
@ -46,7 +46,7 @@ Please refer to our [coding standards](docs/coding-standards.md) for code styles
|
|||
|
||||
### Requirements
|
||||
|
||||
- python 3.10 (we recommend [virtualenv](https://docs.python-guide.org/dev/virtualenvs/))
|
||||
- python 3.11 (we recommend [virtualenv](https://docs.python-guide.org/dev/virtualenvs/))
|
||||
- PostgreSQL - even if you are using sqlite for development, requirements.txt installs
|
||||
psycopg2 which [requires libpq](https://www.psycopg.org/docs/install.html#build-prerequisites) and Python header files.
|
||||
The following should work:
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
plugins = ["mypy_django_plugin.main"]
|
||||
mypy_path = "$MYPY_CONFIG_FILE_DIR/mypy_stubs"
|
||||
exclude = "env"
|
||||
python_version = "3.10"
|
||||
python_version = "3.11"
|
||||
show_error_codes = true
|
||||
strict = true
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
python-3.10.13
|
||||
python-3.11.8
|
||||
|
|
Загрузка…
Ссылка в новой задаче