Skip to content

Commit

Permalink
Update Python version
Browse files Browse the repository at this point in the history
  • Loading branch information
mirekdlugosz committed Oct 29, 2023
1 parent 6e14eed commit ab83478
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand All @@ -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
Expand Down Expand Up @@ -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: |
Expand Down
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit ab83478

Please sign in to comment.