Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/check_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: pipx install poetry
- name: Set up Python 3.8
- name: Set up Python 3.14
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.14
- name: Install dependencies
run: poetry install --with dev,docs
- name: Build project documentation
Expand All @@ -32,7 +32,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
python-version: [ "3.10", "3.11", "3.12", "3.13", "3.14" ]
steps:
- uses: actions/checkout@v4
- run: pipx install poetry
Expand All @@ -52,10 +52,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: pipx install poetry
- name: Set up Python 3.8
- name: Set up Python 3.14
uses: actions/setup-python@v5
with:
python-version: "3.8"
python-version: "3.14"
cache: "poetry"
- name: Install dependencies
run: poetry install --with dev
Expand All @@ -75,10 +75,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: pipx install poetry
- name: Set up Python 3.8
- name: Set up Python 3.14
uses: actions/setup-python@v5
with:
python-version: "3.8"
python-version: "3.14"
cache: "poetry"
- name: Install dependencies
run: poetry install --with dev
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: pipx install poetry
- name: Set up Python 3.8
- name: Set up Python 3.14
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.14
- name: Install dependencies
run: poetry install --with dev,docs
- name: Build project documentation
Expand All @@ -47,7 +47,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.8"
python-version: "3.14"
- name: Build project documentation
uses: ./.github/actions/docsbuild
- name: Setup Pages
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: pipx install poetry
- name: Set up Python 3.8
- name: Set up Python 3.14
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.14
- name: Install dependencies
run: poetry install --with dev,docs
- name: Build project documentation
Expand All @@ -40,7 +40,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.8"
python-version: "3.14s"
cache: "poetry"
- name: Install dependencies
run: poetry install --with dev
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.8"
python-version: "3.14"
- name: Install dependencies
run: poetry install --no-interaction --no-root --without dev
- name: Build package distributions
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.8"
python-version: "3.14"
- name: Build project documentation
uses: ./.github/actions/docsbuild
- name: Setup Pages
Expand Down
2 changes: 1 addition & 1 deletion DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ Poetry is an incredibly powerful toolchain and I recommend you [read its docs](h
1. First we need to install the codegen dependency
* `poetry install --with codegen`
2. Next, we can run the command to generate the pydantic models from the openapi spec
* `poetry run datamodel-codegen --input ./api/runzero-api.yml --field-constraints --output ./models/asset.py --target-python-version 3.8`
* `poetry run datamodel-codegen --input ./api/runzero-api.yml --field-constraints --output ./models/asset.py --target-python-version 3.14`

### Preparing a release

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ codegen-models: _codegen-models fmt
_codegen-models:
poetry run datamodel-codegen --input ./api/proposed-runzero-api.yml --field-constraints --collapse-root-models \
--use-schema-description --use-field-description --allow-population-by-field-name \
--use-title-as-name --snake-case-field --output ./runzero/types/_data_models_gen.py --target-python-version 3.8
--use-title-as-name --snake-case-field --output ./runzero/types/_data_models_gen.py --target-python-version 3.14

# Syncs your local deps with the current lockfile and updates poetry
.PHONY: sync-deps
Expand Down
Loading
Loading