Skip to content

Commit 22d240c

Browse files
chore: Release 0.1.6 (#78)
[ENG-5694](https://stacklet.atlassian.net/browse/ENG-5694) ### what Release 0.1.6. I'll push the release tag after this is merged. Also, update CI config to test all python versions we support. (Needs stacklet/cloud-infra#1013.) ### why Current release crashes on python 3.13. Details in linked ticket. ### testing CI ### docs NA [ENG-5694]: https://stacklet.atlassian.net/browse/ENG-5694?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
1 parent 004c2f1 commit 22d240c

2 files changed

Lines changed: 6 additions & 33 deletions

File tree

‎.github/workflows/ci.yaml‎

Lines changed: 5 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,11 @@ jobs:
2323
pre-commit run --all-files
2424
2525
Tests:
26-
name: Run the tests against .tool-versions python
2726
needs: Lint
2827
runs-on: ubuntu-latest
28+
strategy:
29+
matrix:
30+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
2931
steps:
3032
- uses: actions/checkout@v4
3133
- uses: wistia/parse-tool-versions@v1.0
@@ -38,39 +40,10 @@ jobs:
3840
version: ${{ env.POETRY_TOOL_VERSION }}
3941
virtualenvs-in-project: true
4042

41-
- name: Set up Python ${{ env.PYTHON_TOOL_VERSION }}
43+
- name: Set up Python ${{ matrix.python-version }}
4244
uses: actions/setup-python@v5
4345
with:
44-
python-version: ${{ env.PYTHON_TOOL_VERSION }}
45-
cache: poetry
46-
47-
- name: Install dependencies
48-
shell: bash
49-
run: poetry install
50-
51-
- name: Pytest run
52-
run: just test -v
53-
54-
OldestPython:
55-
name: Run the tests against python 3.9 (oldest supported version)
56-
needs: Lint
57-
runs-on: ubuntu-latest
58-
steps:
59-
- uses: actions/checkout@v4
60-
- uses: wistia/parse-tool-versions@v1.0
61-
- uses: extractions/setup-just@v1
62-
with:
63-
just-version: ${{ env.JUST_TOOL_VERSION }}
64-
- name: Install and configure Poetry
65-
uses: snok/install-poetry@v1
66-
with:
67-
version: ${{ env.POETRY_TOOL_VERSION }}
68-
virtualenvs-in-project: true
69-
70-
- name: Set up Python 3.9
71-
uses: actions/setup-python@v5
72-
with:
73-
python-version: 3.9
46+
python-version: ${{ matrix.python-version }}
7447
cache: poetry
7548

7649
- name: Install dependencies

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
44

55
[tool.poetry]
66
name = "stacklet.client.platform"
7-
version = "0.1.5"
7+
version = "0.1.6"
88
description = "Stacklet Platform Client"
99
readme = "README.md"
1010
authors = ["Sonny Shi <sonny@stacklet.io>"]

0 commit comments

Comments
 (0)