From 9063f6e36b08ea13a0e3c3589ad89276e9ea0337 Mon Sep 17 00:00:00 2001 From: Vinicius Aguiar Date: Sun, 12 Nov 2023 18:14:07 -0300 Subject: [PATCH] feat: bump python version (#485) --- .github/workflows/ci.yaml | 4 ++-- .pre-commit-config.yaml | 2 +- .python-version | 2 +- Dockerfile | 4 ++-- README.md | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 19ee54c1..dcbd1e73 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -11,7 +11,7 @@ jobs: matrix: arch: [x64] os: [ubuntu-latest] - python-version: ["3.10.x"] + python-version: ["3.11.x"] steps: - name: Checkout uses: actions/checkout@v3 @@ -43,7 +43,7 @@ jobs: matrix: arch: [x64] os: [ubuntu-latest] - python-version: ["3.10.x"] + python-version: ["3.11.x"] steps: - name: Checkout uses: actions/checkout@v3 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index acea7e66..787e5298 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ --- default_language_version: - python: python3.10 + python: python3.11 repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.2.0 diff --git a/.python-version b/.python-version index c84ccce9..375f5cab 100644 --- a/.python-version +++ b/.python-version @@ -1 +1 @@ -3.10.5 +3.11.6 diff --git a/Dockerfile b/Dockerfile index 47097303..ed08caec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ # Build arguments -ARG PYTHON_VERSION=3.10-slim +ARG PYTHON_VERSION=3.11-slim FROM python:${PYTHON_VERSION} # Install virtualenv and create a virtual environment -RUN pip install --no-cache-dir -U virtualenv>=20.13.1 && virtualenv /env --python=python3.10 +RUN pip install --no-cache-dir -U virtualenv>=20.13.1 && virtualenv /env --python=python3.11 ENV PATH /env/bin:$PATH # Install pip requirements diff --git a/README.md b/README.md index 29f48a2b..ad4a63e5 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ ### Requisitos - Um editor de texto (recomendado VS Code) -- Python 3.10 +- Python 3.11 - `pip` - (Opcional, mas recomendado) Um ambiente virtual para desenvolvimento (`miniconda`, `virtualenv` ou similares)