Skip to content

Commit 5c77356

Browse files
authored
Merge pull request #1 from ErikKalkoken/feat-add-py314
feat: add support for Python 3.14 and more
2 parents 3e7e604 + bdadeb9 commit 5c77356

4 files changed

Lines changed: 12 additions & 13 deletions

File tree

.github/workflows/cicd.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- name: Checkout code
10-
uses: actions/checkout@v4
10+
uses: actions/checkout@v6
1111

1212
- name: Set up Python
13-
uses: actions/setup-python@v5
13+
uses: actions/setup-python@v6
1414
with:
1515
python-version: "3.12"
1616

@@ -23,14 +23,14 @@ jobs:
2323
strategy:
2424
fail-fast: false
2525
matrix:
26-
python-version: ["3.10", "3.11", "3.12", "3.13"]
26+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
2727

2828
steps:
2929
- name: Checkout code
30-
uses: actions/checkout@v4
30+
uses: actions/checkout@v6
3131

3232
- name: Set up Python ${{ matrix.python-version }}
33-
uses: actions/setup-python@v5
33+
uses: actions/setup-python@v6
3434
with:
3535
python-version: ${{ matrix.python-version }}
3636

@@ -46,7 +46,7 @@ jobs:
4646
coverage xml
4747
4848
- name: Upload coverage reports to Codecov
49-
uses: codecov/codecov-action@v5
49+
uses: codecov/codecov-action@v6
5050
with:
5151
token: ${{ secrets.CODECOV_TOKEN }}
5252

@@ -56,11 +56,11 @@ jobs:
5656
runs-on: ubuntu-latest
5757

5858
steps:
59-
- uses: actions/checkout@v4
59+
- uses: actions/checkout@v6
6060
- name: Set up Python
61-
uses: actions/setup-python@v5
61+
uses: actions/setup-python@v6
6262
with:
63-
python-version: "3.11"
63+
python-version: "3.12"
6464

6565
- name: Install Flit
6666
run: pip install flit

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = ["flit_core >=3.11,<4"]
33
build-backend = "flit_core.buildapi"
44

55
[project]
6-
authors = [{ name = "Erik Kalkoken", email = "kalkoken87@gmail.com" }]
6+
authors = [{ name = "Erik Kalkoken", email = "erik.kalkoken@gmail.com" }]
77
classifiers = [
88
"Environment :: Web Environment",
99
"Intended Audience :: Developers",
@@ -14,6 +14,7 @@ classifiers = [
1414
"Programming Language :: Python :: 3.11",
1515
"Programming Language :: Python :: 3.12",
1616
"Programming Language :: Python :: 3.13",
17+
"Programming Language :: Python :: 3.14",
1718
"Topic :: System :: Logging",
1819
]
1920
dependencies = ["orjson>3.10"]

src/vlogs_handler/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
from .handler import VictoriaLogsHandler # noqa: F401
1212

1313
__title__ = "VictoriaLogs Handler"
14-
__version__ = "0.1.0a2"
14+
__version__ = "0.1.0"
1515

1616
__all__ = ["VictoriaLogsHandler"]

src/vlogs_handler/handler.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,5 +336,3 @@ def _top_package_name(record: logging.LogRecord) -> str:
336336
return s[0]
337337

338338
return record.name
339-
return record.name
340-
return record.name

0 commit comments

Comments
 (0)