Skip to content
Merged
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
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ on:

jobs:
Only-test:
runs-on: ubuntu-latest
# NOTE (aaronzi, 2026-11-05):
# ubuntu-latest (26.04) does not provide Python 3.9 anymore, so we pin
# the runner to keep testing all the Python versions we support.
runs-on: ubuntu-24.04
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
Expand All @@ -18,7 +21,7 @@ jobs:
- uses: actions/checkout@master

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}

Expand Down Expand Up @@ -54,7 +57,7 @@ jobs:
- uses: actions/checkout@master

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v6
with:
python-version: '3.x'

Expand Down
13 changes: 10 additions & 3 deletions dev/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,23 @@ description = "Develop aas-core3.2-python."
requires-python = ">=3.8"

dependencies = [
"black==26.10.1",
# NOTE (aaronzi, 2026-11-05):
# black, mypy and aas-core-codegen require Python 3.10 or newer, so we skip
# them on 3.9, where we only run the tests.
"black==26.10.1; python_version>='3.10'",
"coverage>=6.5.0,<7",
"mypy==2.4.0",
# NOTE (aaronzi, 2026-11-05):
# The dev scripts import icontract directly. It used to come in through
# aas-core-codegen, which we skip on Python 3.9.
"icontract",
"mypy==2.4.0; python_version>='3.10'",
"pyinstaller>=5,<6",
"ruff==0.17.2",
"tomli; python_version<'3.11'",
"twine",
"requests==2.32.4",
"types-requests==2.32.4.20250913",
"aas-core-codegen==0.0.27rc5"
"aas-core-codegen==0.0.27rc5; python_version>='3.10'"
]

[tool.setuptools]
Expand Down
Loading