Skip to content

Commit

Permalink
feat: bump python version (#485)
Browse files Browse the repository at this point in the history
  • Loading branch information
vncsna authored Nov 12, 2023
1 parent 68e0ce0 commit 9063f6e
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.10.5
3.11.6
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 9063f6e

Please sign in to comment.