Skip to content

Commit

Permalink
feat: drop Python 3.10 and add Python 3.12 (#104)
Browse files Browse the repository at this point in the history
### Summary of Changes

* Remove support for Python 3.10
* Add support for Python 3.12
* Bump `safe-ds` to v0.16.0
  • Loading branch information
lars-reimann authored Nov 22, 2023
1 parent 36259eb commit eae4020
Show file tree
Hide file tree
Showing 7 changed files with 1,828 additions and 1,645 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 }}
3,455 changes: 1,819 additions & 1,636 deletions poetry.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ packages = [
]

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

[tool.poetry.group.dev.dependencies]
pytest = "^7.2.1"
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 eae4020

Please sign in to comment.