-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update all deps and drop 3.8 support * Typo fix and drop 3.8 support * Add auto changelog generation * Update ruff * Fix deps and tests_tasks to drop support for 3.7 and fix issues for 3.8 * Replace test devcontainer with 3.8 container * Update pyproject to include python 3.9 issues * Add python 3.12 * Rename ci job name
- Loading branch information
Showing
10 changed files
with
1,093 additions
and
1,053 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
{ | ||
"name": "fastapi-37", | ||
"image": "mcr.microsoft.com/devcontainers/python:3.12", | ||
"name": "fastapi-38", | ||
"image": "mcr.microsoft.com/devcontainers/python:1-3.8-bookworm", | ||
"features": { | ||
"ghcr.io/devcontainers/features/node:1": { "version": "latest" } | ||
"ghcr.io/devcontainers/features/node:1": { | ||
"version": "latest" | ||
} | ||
}, | ||
"postCreateCommand": "pipx install poetry && poetry install", | ||
"forwardPorts": [2222] | ||
} | ||
"forwardPorts": [ | ||
2222 | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
changelog: | ||
exclude: | ||
labels: | ||
- ignore-for-release | ||
categories: | ||
- title: Breaking Changes 🛠 | ||
labels: | ||
- Semver-Major | ||
- breaking-change | ||
- title: Exciting New Features 🎉 | ||
labels: | ||
- Semver-Minor | ||
- enhancement | ||
- title: Other Changes | ||
labels: | ||
- "*" | ||
exclude: | ||
labels: | ||
- dependencies | ||
- title: 👒 Dependencies | ||
labels: | ||
- dependencies |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ jobs: | |
strategy: | ||
max-parallel: 3 | ||
matrix: | ||
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] | ||
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
@@ -26,7 +26,7 @@ jobs: | |
uses: abatilo/[email protected] | ||
with: | ||
poetry-version: 1.5.1 | ||
- uses: actions/cache@v3 | ||
- uses: actions/cache@v4 | ||
id: cache-deps | ||
with: | ||
path: ~/.cache/pip | ||
|
@@ -37,11 +37,11 @@ jobs: | |
- name: Install dependencies | ||
run: poetry install -E session | ||
|
||
- uses: actions/cache@v3 | ||
- uses: actions/cache@v4 | ||
with: | ||
path: .mypy_cache | ||
key: mypy-${{ matrix.python-version }} | ||
- uses: actions/cache@v3 | ||
- uses: actions/cache@v4 | ||
with: | ||
path: .pytest_cache | ||
key: pytest-${{ matrix.python-version }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: build-pull-request | ||
name: tests-pull-request | ||
|
||
on: | ||
pull_request: | ||
|
@@ -11,7 +11,7 @@ jobs: | |
strategy: | ||
max-parallel: 3 | ||
matrix: | ||
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] | ||
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
@@ -24,7 +24,7 @@ jobs: | |
uses: abatilo/[email protected] | ||
with: | ||
poetry-version: 1.5.1 | ||
- uses: actions/cache@v3 | ||
- uses: actions/cache@v4 | ||
id: cache-deps | ||
with: | ||
path: ~/.cache/pip | ||
|
@@ -34,11 +34,11 @@ jobs: | |
- name: Install dependencies | ||
run: poetry install -E session | ||
- uses: actions/cache@v3 | ||
- uses: actions/cache@v4 | ||
with: | ||
path: .mypy_cache | ||
key: mypy-${{ matrix.python-version }} | ||
- uses: actions/cache@v3 | ||
- uses: actions/cache@v4 | ||
with: | ||
path: .pytest_cache | ||
key: pytest-${{ matrix.python-version }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.