update python to 3.12 everywhere

This commit is contained in:
Gabriel Augendre 2023-10-24 11:45:17 +02:00 committed by crocmagnon-pr[bot]
parent 1ad997019f
commit 90e7097893
8 changed files with 10 additions and 22 deletions

View file

@ -1,4 +1,4 @@
FROM mcr.microsoft.com/devcontainers/python:3.11-bullseye
FROM mcr.microsoft.com/devcontainers/python:3.12-bullseye
RUN apt-get update && apt-get upgrade -y
RUN pip install pip-tools invoke
COPY requirements.in requirements.txt requirements-dev.in requirements-dev.txt constraints.txt tasks.py ./

View file

@ -40,7 +40,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: '3.12'
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL

View file

@ -17,7 +17,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: '3.12'
cache: pip
- name: Install dependencies
run: |

View file

@ -20,7 +20,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: '3.12'
cache: pip
- name: Update dependencies
run: |

View file

@ -1,5 +1,5 @@
[tools]
python = {version="3.11", virtualenv=".venv"}
python = {version="3.12", virtualenv=".venv"}
[env]
ENV_FILE = "{{config_root}}/envs/local-envs.env"

View file

@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# pip-compile --allow-unsafe --output-file=constraints.txt --strip-extras requirements.in
@ -14,14 +14,10 @@ certifi==2023.7.22
# via
# requests
# selenium
cffi==1.16.0
# via cryptography
charset-normalizer==3.3.1
# via requests
confusable-homoglyphs==3.2.0
# via django-registration
cryptography==41.0.4
# via django-anymail
django==4.2.6
# via
# -r requirements.in
@ -65,8 +61,6 @@ packaging==23.2
# via gunicorn
pillow==10.1.0
# via -r requirements.in
pycparser==2.21
# via cffi
pysocks==1.7.1
# via urllib3
requests==2.31.0

View file

@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# pip-compile --allow-unsafe requirements-dev.in
@ -14,7 +14,7 @@ attrs==23.1.0
# hypothesis
# outcome
# trio
black==23.10.0
black==23.10.1
# via -r requirements-dev.in
blessed==1.20.0
# via curtsies
@ -194,7 +194,7 @@ urllib3[socks]==2.0.7
# -c constraints.txt
# requests
# selenium
virtualenv==20.24.5
virtualenv==20.24.6
# via pre-commit
wcwidth==0.2.8
# via blessed

View file

@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# pip-compile --allow-unsafe requirements.in
@ -14,14 +14,10 @@ certifi==2023.7.22
# via
# requests
# selenium
cffi==1.16.0
# via cryptography
charset-normalizer==3.3.1
# via requests
confusable-homoglyphs==3.2.0
# via django-registration
cryptography==41.0.4
# via django-anymail
django==4.2.6
# via
# -r requirements.in
@ -65,8 +61,6 @@ packaging==23.2
# via gunicorn
pillow==10.1.0
# via -r requirements.in
pycparser==2.21
# via cffi
pysocks==1.7.1
# via urllib3
requests==2.31.0