Skip to content

Commit

Permalink
Merge pull request #259 from taconi/main
Browse files Browse the repository at this point in the history
Rodando o CI no python 3.11, 3.12 e 3.13
  • Loading branch information
dunossauro authored Oct 16, 2024
2 parents 6a9bd95 + 3777abc commit ac1d33f
Show file tree
Hide file tree
Showing 27 changed files with 2,022 additions and 1,851 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12", "3.13"]

steps:
- name: Copia os arquivos do repo
Expand All @@ -24,7 +27,7 @@ jobs:
- name: Instalar o python
uses: actions/setup-python@v5
with:
python-version: '3.12'
python-version: ${{ matrix.python-version }}

- name: Instalar Poetry
run: pip install poetry
Expand Down
308 changes: 161 additions & 147 deletions codigo_das_aulas/01/poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion codigo_das_aulas/01/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ readme = "README.md"

[tool.poetry.dependencies]
python = "^3.11"
fastapi = {extras = ["standard"], version = "^0.115.0"}
fastapi = {extras = ["standard"], version = "^0.115.2"}

[tool.poetry.group.dev.dependencies]
pytest = "^8.3.3"
Expand Down
308 changes: 161 additions & 147 deletions codigo_das_aulas/02/poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion codigo_das_aulas/02/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ readme = "README.md"

[tool.poetry.dependencies]
python = "^3.11"
fastapi = {extras = ["standard"], version = "^0.115.0"}
fastapi = {extras = ["standard"], version = "^0.115.2"}

[tool.poetry.group.dev.dependencies]
pytest = "^8.3.3"
Expand Down
308 changes: 161 additions & 147 deletions codigo_das_aulas/03/poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion codigo_das_aulas/03/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ readme = "README.md"

[tool.poetry.dependencies]
python = "^3.11"
fastapi = {extras = ["standard"], version = "^0.115.0"}
fastapi = {extras = ["standard"], version = "^0.115.2"}

[tool.poetry.group.dev.dependencies]
pytest = "^8.3.3"
Expand Down
308 changes: 161 additions & 147 deletions codigo_das_aulas/04/poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion codigo_das_aulas/04/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ packages = [{include = "fast_zero"}]

[tool.poetry.dependencies]
python = "^3.11"
fastapi = {extras = ["standard"], version = "^0.115.0"}
fastapi = {extras = ["standard"], version = "^0.115.2"}
sqlalchemy = "^2.0.35"
pydantic-settings = "^2.5.2"
alembic = "^1.13.3"
Expand Down
308 changes: 161 additions & 147 deletions codigo_das_aulas/05/poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion codigo_das_aulas/05/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ packages = [{include = "fast_zero"}]

[tool.poetry.dependencies]
python = "^3.11"
fastapi = {extras = ["standard"], version = "^0.115.0"}
fastapi = {extras = ["standard"], version = "^0.115.2"}
sqlalchemy = "^2.0.35"
pydantic-settings = "^2.5.2"
alembic = "^1.13.3"
Expand Down
308 changes: 161 additions & 147 deletions codigo_das_aulas/06/poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion codigo_das_aulas/06/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ packages = [{include = "fast_zero"}]

[tool.poetry.dependencies]
python = "^3.11"
fastapi = {extras = ["standard"], version = "^0.115.0"}
fastapi = {extras = ["standard"], version = "^0.115.2"}
sqlalchemy = "^2.0.35"
pydantic-settings = "^2.5.2"
alembic = "^1.13.3"
Expand Down
310 changes: 162 additions & 148 deletions codigo_das_aulas/07/poetry.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions codigo_das_aulas/07/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ authors = ["Your Name <[email protected]>"]
readme = "README.md"

[tool.poetry.dependencies]
python = "^3.12"
fastapi = {extras = ["standard"], version = "^0.115.0"}
python = "^3.11"
fastapi = {extras = ["standard"], version = "^0.115.2"}
sqlalchemy = "^2.0.35"
pydantic-settings = "^2.5.2"
alembic = "^1.13.3"
Expand Down
308 changes: 161 additions & 147 deletions codigo_das_aulas/08/poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion codigo_das_aulas/08/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ packages = [{include = "fast_zero"}]

[tool.poetry.dependencies]
python = "^3.11"
fastapi = {extras = ["standard"], version = "^0.115.0"}
fastapi = {extras = ["standard"], version = "^0.115.2"}
sqlalchemy = "^2.0.35"
pydantic-settings = "^2.5.2"
alembic = "^1.13.3"
Expand Down
308 changes: 161 additions & 147 deletions codigo_das_aulas/09/poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion codigo_das_aulas/09/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ packages = [{include = "fast_zero"}]

[tool.poetry.dependencies]
python = "^3.11"
fastapi = {extras = ["standard"], version = "^0.115.0"}
fastapi = {extras = ["standard"], version = "^0.115.2"}
sqlalchemy = "^2.0.35"
pydantic-settings = "^2.5.2"
alembic = "^1.13.3"
Expand Down
352 changes: 183 additions & 169 deletions codigo_das_aulas/10/poetry.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions codigo_das_aulas/10/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ packages = [{include = "fast_zero"}]

[tool.poetry.dependencies]
python = "^3.11"
fastapi = {extras = ["standard"], version = "^0.115.0"}
fastapi = {extras = ["standard"], version = "^0.115.2"}
sqlalchemy = "^2.0.35"
pydantic-settings = "^2.5.2"
alembic = "^1.13.3"
Expand All @@ -24,7 +24,7 @@ ruff = "^0.6.9"
httpx = "^0.27.2"
factory-boy = "^3.3.1"
freezegun = "^1.5.1"
testcontainers = "^4.8.1"
testcontainers = "^4.8.2"

[tool.ruff]
line-length = 79
Expand Down
352 changes: 183 additions & 169 deletions codigo_das_aulas/11/poetry.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions codigo_das_aulas/11/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ packages = [{include = "fast_zero"}]

[tool.poetry.dependencies]
python = "^3.11"
fastapi = {extras = ["standard"], version = "^0.115.0"}
fastapi = {extras = ["standard"], version = "^0.115.2"}
sqlalchemy = "^2.0.35"
pydantic-settings = "^2.5.2"
alembic = "^1.13.3"
Expand All @@ -24,7 +24,7 @@ ruff = "^0.6.9"
httpx = "^0.27.2"
factory-boy = "^3.3.1"
freezegun = "^1.5.1"
testcontainers = "^4.8.1"
testcontainers = "^4.8.2"

[tool.ruff]
line-length = 79
Expand Down
352 changes: 183 additions & 169 deletions codigo_das_aulas/12/poetry.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions codigo_das_aulas/12/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ packages = [{include = "fast_zero"}]

[tool.poetry.dependencies]
python = "^3.11"
fastapi = {extras = ["standard"], version = "^0.115.0"}
fastapi = {extras = ["standard"], version = "^0.115.2"}
sqlalchemy = "^2.0.35"
pydantic-settings = "^2.5.2"
alembic = "^1.13.3"
Expand All @@ -24,7 +24,7 @@ ruff = "^0.6.9"
httpx = "^0.27.2"
factory-boy = "^3.3.1"
freezegun = "^1.5.1"
testcontainers = "^4.8.1"
testcontainers = "^4.8.2"

[tool.ruff]
line-length = 79
Expand Down
4 changes: 2 additions & 2 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ readme = "README.md"
packages = [{include = "fastapi-do-zero"}]

[tool.poetry.dependencies]
python = "^3.12"
python = "^3.11"
mkdocs = "^1.6.1"
mkdocs-material = "^9.5.40"
taskipy = "^1.13.0"
Expand Down

0 comments on commit ac1d33f

Please sign in to comment.