Skip to content

Commit 92fdbc2

Browse files
Merge branch 'main' into fetch-branches
2 parents 127e66f + 5e918d4 commit 92fdbc2

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
python-version: ["3.11", "3.12", "3.13"]
14+
python-version: ["3.11", "3.12", "3.13", "3.14"]
1515
os: [ubuntu-latest]
1616

1717
steps:

bpo_redirecter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
from functools import cache
1515
from pathlib import Path
1616

17-
import hishel # pip install hishel
1817
import httpx # pip install httpx
18+
from hishel.httpx import SyncCacheClient # pip install hishel
1919
from termcolor import colored, cprint # pip install termcolor
2020

2121
try:
@@ -67,7 +67,7 @@ def do_file(filename: str, dry_run: bool = False) -> None:
6767

6868

6969
def do_lines(old_lines: list[str], filename: str) -> list[str]:
70-
with hishel.CacheClient() as client:
70+
with SyncCacheClient() as client:
7171
changes = 0
7272
new_lines = []
7373
for line in old_lines:

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
feedparser
22
ghapi
33
GitPython
4-
hishel
4+
hishel>=1
55
httpx
66
jsonlines
77
prettytable

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires =
33
tox>=4.2
44
env_list =
55
lint
6-
py{py3, 313, 312, 311, 310, 39}
6+
py{py3, 314, 313, 312, 311}
77

88
[testenv]
99
skip_install = true

0 commit comments

Comments
 (0)