Skip to content

Commit 61fa277

Browse files
committed
update for compatability w/ python 3.11
1 parent df9870f commit 61fa277

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ jobs:
77
runs-on: ubuntu-latest
88

99
steps:
10-
- uses: actions/checkout@v2
10+
- uses: actions/checkout@v3
1111
- name: Set up Python
12-
uses: actions/setup-python@v2
12+
uses: actions/setup-python@v4
1313
with:
14-
python-version: '3.9'
14+
python-version: '3.11'
1515
- name: Install dependencies
1616
run: |
1717
python -m pip install --upgrade pip

jinja2html/web_ui.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
import json
55
import logging
66

7-
from collections import defaultdict, Iterable
7+
from collections import defaultdict
8+
from collections.abc import Iterable
89
from pathlib import Path
910
from typing import Any
1011
from urllib.parse import urlparse

jinja2html/website_manager.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
import json
44
import logging
55

6-
from collections import deque, Iterable
6+
from collections import deque
7+
from collections.abc import Iterable
78
from os import scandir
89
from pathlib import Path
910
from shutil import copy

0 commit comments

Comments
 (0)