Skip to content

Commit e3370a4

Browse files
authored
bump dependencies (#48)
* bump dependencies
1 parent 860abec commit e3370a4

File tree

6 files changed

+20
-18
lines changed

6 files changed

+20
-18
lines changed

.github/workflows/pythonapp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
name: python test
1818
strategy:
1919
matrix:
20-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
20+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
2121

2222
steps:
2323
- uses: actions/checkout@v2

dev-requirements.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
mypy==1.10.0
2-
black==24.4.2
1+
mypy==1.14.1
2+
black==24.10.0
33
isort==5.13.2
4-
flake8==7.0.0
5-
coverage==7.5.3
6-
pytest==8.2.2
7-
pytest-asyncio==0.23.7
8-
setuptools==70.0.0
4+
flake8==7.1.1
5+
coverage==7.6.10
6+
pytest==8.3.4
7+
pytest-asyncio==0.25.2
8+
setuptools==75.0.0

enochecker3/enochecker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ async def checker(task: CheckerTaskMessage) -> CheckerResultMessage:
553553
cast(ExploitCheckerTaskMessage, _task)
554554
)
555555
else:
556-
return CheckerResultMessage(
556+
return CheckerResultMessage( # type: ignore
557557
result=CheckerTaskResult.INTERNAL_ERROR,
558558
message=f"Unsupported method: {task.method}",
559559
)

enochecker3/logging.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ def format(self, record: logging.LogRecord) -> str:
1616
record, "checker_task", None
1717
)
1818

19-
timestamp: str = datetime.datetime.utcnow().strftime("%H:%M:%S.%f")[:-3]
19+
timestamp: str = datetime.datetime.now(datetime.timezone.utc).strftime(
20+
"%H:%M:%S.%f"
21+
)[:-3]
2022
method: str = getattr(checker_task, "method", None) or "<method>"
2123
levelname: str = getattr(record, "levelname", None) or "<level>"
2224
task_id: str = getattr(checker_task, "task_id", None) or "<taskid>"

requirements.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
httpx>=0.27.0,<0.28.0
2-
motor>=3.4.0,<4.0.0
3-
fastapi>=0.111.0,<0.112.0
4-
uvicorn>=0.30.1,<0.31.0
5-
gunicorn==22.0.0
1+
httpx>=0.28.0,<0.29.0
2+
motor>=3.6.1,<4.0.0
3+
fastapi>=0.115.6,<0.116.0
4+
uvicorn>=0.34.0,<0.35.0
5+
gunicorn==23.0.0

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
setuptools.setup(
1111
name="enochecker3",
12-
version="0.9.1",
12+
version="0.10.0",
1313
author="ldruschk",
1414
author_email="[email protected]",
1515
description="FastAPI based library for building async python checkers for the EnoEngine A/D CTF Framework",
@@ -31,12 +31,12 @@
3131
"License :: OSI Approved :: MIT License",
3232
# Specify the Python versions you support here. In particular, ensure
3333
# that you indicate whether you support Python 2, Python 3 or both.
34-
"Programming Language :: Python :: 3.8",
3534
"Programming Language :: Python :: 3.9",
3635
"Programming Language :: Python :: 3.10",
3736
"Programming Language :: Python :: 3.11",
3837
"Programming Language :: Python :: 3.12",
38+
"Programming Language :: Python :: 3.13",
3939
],
4040
zip_safe=False, # This might be needed for requirements.txt
41-
python_requires=">=3.8",
41+
python_requires=">=3.9",
4242
)

0 commit comments

Comments
 (0)