diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0cc8df5..dddfc54 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10"] + python-version: ["3.8", "3.9", "3.10", "3.11"] steps: - uses: actions/checkout@v2 @@ -39,7 +39,7 @@ jobs: - name: Install dependencies run: | poetry run pip install -U pip - poetry install + poetry install --with=dev - name: Run tests run: poetry run pytest @@ -53,7 +53,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v2 with: - python-version: "3.7" + python-version: "3.8" - name: Set Poetry cache uses: actions/cache@v2 id: poetry-cache @@ -67,7 +67,7 @@ jobs: - name: Install dependencies run: | poetry run pip install -U pip - poetry install + poetry install --with=dev - name: Run linters run: poetry run invoke lint @@ -87,7 +87,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v2 with: - python-version: "3.7" + python-version: "3.8" - name: Check release id: check_release run: | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8152a0a..378d276 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ # See https://pre-commit.com/hooks.html for info on hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v3.3.0 + rev: v4.5.0 hooks: - id: check-added-large-files - id: check-ast @@ -13,18 +13,18 @@ repos: - id: trailing-whitespace - repo: https://github.com/psf/black - rev: 22.10.0 + rev: 23.10.1 hooks: - id: black - repo: https://github.com/pycqa/flake8 - rev: 5.0.4 + rev: 6.1.0 hooks: - id: flake8 args: [--max-line-length=88] - language_version: python3.9 + language_version: python3.11 - - repo: https://github.com/timothycrosley/isort - rev: 5.6.4 + - repo: https://github.com/PyCQA/isort + rev: 5.12.0 hooks: - id: isort diff --git a/pyproject.toml b/pyproject.toml index 52ab1a4..6158fe1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,7 +24,7 @@ classifiers = [ ] [tool.poetry.dependencies] -python = "^3.6.3" +python = ">=3.8.1,<4.0" pelican = ">=4.5" markdown = {version = "^3.5", optional = true} pillow = "~=10.1"