Skip to content

Commit 28f0b1a

Browse files
Merge pull request #14 from DACCS-Climate/dependabot/docker/python-3.14-alpine
Bump python from 3.13-alpine to 3.14-alpine
2 parents 834b27f + cd9a118 commit 28f0b1a

4 files changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
strategy:
1010
matrix:
11-
python-version: ["3.12", "3.13"]
11+
python-version: ["3.12", "3.13", "3.14"]
1212
steps:
1313
- uses: actions/checkout@v7
1414
- name: Set up python version ${{ matrix.python-version }} for testing

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ARG EXTENSIONS="prometheus" # space delimited string
22

3-
FROM python:3.13-alpine
3+
FROM python:3.14-alpine
44

55
ARG EXTENSIONS
66

log_parser/log_parser.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import asyncio
2+
import inspect
23
import logging
34
import os
45
from collections.abc import Callable
@@ -88,7 +89,7 @@ async def track_file(
8889
if file_state == _FileState.NOCHANGE:
8990
async for line in log_io:
9091
for line_parser in line_parsers:
91-
if asyncio.iscoroutinefunction(line_parser):
92+
if inspect.iscoroutinefunction(line_parser):
9293
await line_parser(line)
9394
else:
9495
line_parser(line)

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "log_parser"
7-
version = "1.1.1"
7+
version = "1.2.0"
88
description = "A simple asynchronous log file parsing library"
99
readme = "README.md"
1010
requires-python = ">=3.12"
@@ -17,6 +17,7 @@ classifiers = [
1717
"License :: OSI Approved :: MIT License",
1818
"Programming Language :: Python :: 3.12",
1919
"Programming Language :: Python :: 3.13",
20+
"Programming Language :: Python :: 3.14",
2021
"Programming Language :: Python :: 3 :: Only",
2122
]
2223
dependencies = ["anyio~=4.14.0"]

0 commit comments

Comments
 (0)