Skip to content

Commit 4c9672b

Browse files
committed
python versione error fix for CI/CD
1 parent d5d54ee commit 4c9672b

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
python-version: ["3.10"]
14+
python-version: ["3.12"]
1515
steps:
1616
- uses: actions/checkout@v4
1717
- name: Set up Python ${{ matrix.python-version }}
@@ -40,7 +40,7 @@ jobs:
4040
- name: Set up Python
4141
uses: actions/setup-python@v4
4242
with:
43-
python-version: "3.10"
43+
python-version: "3.12"
4444
- name: Install uv
4545
uses: astral-sh/setup-uv@v3
4646
with:
@@ -50,7 +50,7 @@ jobs:
5050
uses: actions/cache@v4
5151
with:
5252
path: .venv
53-
key: venv-${{ runner.os }}-3.10-${{ hashFiles('**/uv.lock') }}
53+
key: venv-${{ runner.os }}-3.12-${{ hashFiles('**/uv.lock') }}
5454
- name: Install dependencies
5555
run: uv sync
5656
- name: Build package

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ PyYAML = "^6.0.1"
2020
requires = ["poetry-core"]
2121
build-backend = "poetry.core.masonry.api"
2222

23+
[project]
24+
requires-python = ">=3.12"
25+
2326
[dependency-groups]
2427
dev = [
2528
"boxsdk>=10.3.0",

0 commit comments

Comments
 (0)