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 apt-get update && apt-get upgrade -y
RUN pip install pip-tools invoke RUN pip install pip-tools invoke
COPY requirements.in requirements.txt requirements-dev.in requirements-dev.txt constraints.txt tasks.py ./ 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 - name: Set up Python
uses: actions/setup-python@v4 uses: actions/setup-python@v4
with: with:
python-version: '3.11' python-version: '3.12'
# Initializes the CodeQL tools for scanning. # Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL - name: Initialize CodeQL

View file

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

View file

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

View file

@ -1,5 +1,5 @@
[tools] [tools]
python = {version="3.11", virtualenv=".venv"} python = {version="3.12", virtualenv=".venv"}
[env] [env]
ENV_FILE = "{{config_root}}/envs/local-envs.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: # by the following command:
# #
# pip-compile --allow-unsafe --output-file=constraints.txt --strip-extras requirements.in # pip-compile --allow-unsafe --output-file=constraints.txt --strip-extras requirements.in
@ -14,14 +14,10 @@ certifi==2023.7.22
# via # via
# requests # requests
# selenium # selenium
cffi==1.16.0
# via cryptography
charset-normalizer==3.3.1 charset-normalizer==3.3.1
# via requests # via requests
confusable-homoglyphs==3.2.0 confusable-homoglyphs==3.2.0
# via django-registration # via django-registration
cryptography==41.0.4
# via django-anymail
django==4.2.6 django==4.2.6
# via # via
# -r requirements.in # -r requirements.in
@ -65,8 +61,6 @@ packaging==23.2
# via gunicorn # via gunicorn
pillow==10.1.0 pillow==10.1.0
# via -r requirements.in # via -r requirements.in
pycparser==2.21
# via cffi
pysocks==1.7.1 pysocks==1.7.1
# via urllib3 # via urllib3
requests==2.31.0 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: # by the following command:
# #
# pip-compile --allow-unsafe requirements-dev.in # pip-compile --allow-unsafe requirements-dev.in
@ -14,7 +14,7 @@ attrs==23.1.0
# hypothesis # hypothesis
# outcome # outcome
# trio # trio
black==23.10.0 black==23.10.1
# via -r requirements-dev.in # via -r requirements-dev.in
blessed==1.20.0 blessed==1.20.0
# via curtsies # via curtsies
@ -194,7 +194,7 @@ urllib3[socks]==2.0.7
# -c constraints.txt # -c constraints.txt
# requests # requests
# selenium # selenium
virtualenv==20.24.5 virtualenv==20.24.6
# via pre-commit # via pre-commit
wcwidth==0.2.8 wcwidth==0.2.8
# via blessed # 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: # by the following command:
# #
# pip-compile --allow-unsafe requirements.in # pip-compile --allow-unsafe requirements.in
@ -14,14 +14,10 @@ certifi==2023.7.22
# via # via
# requests # requests
# selenium # selenium
cffi==1.16.0
# via cryptography
charset-normalizer==3.3.1 charset-normalizer==3.3.1
# via requests # via requests
confusable-homoglyphs==3.2.0 confusable-homoglyphs==3.2.0
# via django-registration # via django-registration
cryptography==41.0.4
# via django-anymail
django==4.2.6 django==4.2.6
# via # via
# -r requirements.in # -r requirements.in
@ -65,8 +61,6 @@ packaging==23.2
# via gunicorn # via gunicorn
pillow==10.1.0 pillow==10.1.0
# via -r requirements.in # via -r requirements.in
pycparser==2.21
# via cffi
pysocks==1.7.1 pysocks==1.7.1
# via urllib3 # via urllib3
requests==2.31.0 requests==2.31.0