Skip to content

Commit 89bed7b

Browse files
committed
fix: CI workflow, in json_encoder itertools.chain missing import
1 parent 4059f0d commit 89bed7b

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
17+
python-version: ["3.10", "3.11", "3.12", "3.13"]
1818

1919
steps:
2020
- uses: actions/checkout@v4
@@ -28,7 +28,7 @@ jobs:
2828
- name: Install dependencies
2929
run: |
3030
pip install -e ".[async,starlette,flask,django,fastapi]"
31-
pip install pytest pytest-asyncio pytest-cov pytest-mock freezegun build
31+
pip install build pytest pytest-asyncio pytest-cov pytest-mock freezegun
3232
3333
- name: Run tests
3434
run: pytest tests/ -v --tb=short

logtide_sdk/json_encoder.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
import contextlib
42
import dataclasses
53
import datetime
@@ -16,6 +14,7 @@
1614
IPv6Interface,
1715
IPv6Network,
1816
)
17+
from itertools import chain
1918
from pathlib import PosixPath
2019
from re import Pattern
2120
from types import GeneratorType

0 commit comments

Comments
 (0)