Skip to content
This repository was archived by the owner on Nov 23, 2024. It is now read-only.

Commit eae4020

Browse files
authored
feat: drop Python 3.10 and add Python 3.12 (#104)
### Summary of Changes * Remove support for Python 3.10 * Add support for Python 3.12 * Bump `safe-ds` to v0.16.0
1 parent 36259eb commit eae4020

File tree

7 files changed

+1828
-1645
lines changed

7 files changed

+1828
-1645
lines changed

.github/linters/.ruff.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ignore-init-module-imports = true
22
line-length = 120
3-
target-version = "py310"
3+
target-version = "py311"
44

55
select = [
66
"F",

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
python-version:
13-
- "3.10"
1413
- "3.11"
14+
- "3.12"
1515
uses: lars-reimann/.github/.github/workflows/poetry-codecov-reusable.yml@main
1616
with:
1717
working-directory: .
1818
python-version: ${{ matrix.python-version }}
1919
module-name: safeds_examples
20-
coverage: ${{ matrix.python-version == '3.10' }}
20+
coverage: ${{ matrix.python-version == '3.11' }}
2121
secrets:
2222
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ jobs:
1414
fail-fast: false
1515
matrix:
1616
python-version:
17-
- "3.10"
1817
- "3.11"
18+
- "3.12"
1919
uses: lars-reimann/.github/.github/workflows/poetry-codecov-reusable.yml@main
2020
with:
2121
working-directory: .
2222
python-version: ${{ matrix.python-version }}
2323
module-name: safeds_examples
24-
coverage: ${{ matrix.python-version == '3.10' }}
24+
coverage: ${{ matrix.python-version == '3.11' }}
2525
secrets:
2626
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
uses: lars-reimann/.github/.github/workflows/poetry-pypi-reusable.yml@main
99
with:
1010
working-directory: .
11-
python-version: "3.10"
11+
python-version: "3.11"
1212
secrets:
1313
GITHUB_PAT: ${{ secrets.PAT }}
1414
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}

poetry.lock

Lines changed: 1819 additions & 1636 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ packages = [
1313
]
1414

1515
[tool.poetry.dependencies]
16-
python = "^3.10"
17-
safe-ds = ">=0.15,<0.16"
16+
python = "^3.11,<3.13"
17+
safe-ds = ">=0.16,<0.17"
1818

1919
[tool.poetry.group.dev.dependencies]
2020
pytest = "^7.2.1"

readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: 2
33
build:
44
os: ubuntu-22.04
55
tools:
6-
python: '3.10'
6+
python: '3.11'
77
commands:
88
- pip install poetry
99
- poetry config virtualenvs.create false

0 commit comments

Comments
 (0)