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

Commit

Permalink
feat: drop Python 3.10 and add Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
lars-reimann committed Oct 3, 2023
1 parent 74fe3f9 commit 3b32785
Show file tree
Hide file tree
Showing 7 changed files with 1,559 additions and 1,266 deletions.
2 changes: 1 addition & 1 deletion .github/linters/.ruff.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ignore-init-module-imports = true
line-length = 120
target-version = "py310"
target-version = "py311"

select = [
"F",
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ jobs:
fail-fast: false
matrix:
python-version:
- "3.10"
- "3.11"
- "3.12"
uses: lars-reimann/.github/.github/workflows/poetry-codecov-reusable.yml@main
with:
working-directory: .
python-version: ${{ matrix.python-version }}
module-name: safeds_examples
coverage: ${{ matrix.python-version == '3.10' }}
coverage: ${{ matrix.python-version == '3.11' }}
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ jobs:
fail-fast: false
matrix:
python-version:
- "3.10"
- "3.11"
- "3.12"
uses: lars-reimann/.github/.github/workflows/poetry-codecov-reusable.yml@main
with:
working-directory: .
python-version: ${{ matrix.python-version }}
module-name: safeds_examples
coverage: ${{ matrix.python-version == '3.10' }}
coverage: ${{ matrix.python-version == '3.11' }}
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
uses: lars-reimann/.github/.github/workflows/poetry-pypi-reusable.yml@main
with:
working-directory: .
python-version: "3.10"
python-version: "3.11"
secrets:
GITHUB_PAT: ${{ secrets.PAT }}
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
2,809 changes: 1,551 additions & 1,258 deletions poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ packages = [
]

[tool.poetry.dependencies]
python = "^3.10"
python = "^3.11,<3.13"
safe-ds = ">=0.15,<0.16"

[tool.poetry.group.dev.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2
build:
os: ubuntu-22.04
tools:
python: '3.10'
python: '3.11'
commands:
- pip install poetry
- poetry config virtualenvs.create false
Expand Down

0 comments on commit 3b32785

Please sign in to comment.