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

feat: drop Python 3.10 and add Python 3.12 #181

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
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
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: library_analyzer
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: library_analyzer
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 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ packages = [
analyze-library = "library_analyzer.main:main"

[tool.poetry.dependencies]
python = "^3.10,<3.12"
python = "^3.11,<3.13"
astroid = "^2.14.2"
black = ">=23.1,<25.0"
levenshtein = ">=0.20.9,<0.26.0"
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
Loading