Skip to content

Commit

Permalink
bump dependencies (#48)
Browse files Browse the repository at this point in the history
* bump dependencies
  • Loading branch information
ldruschk authored Jan 17, 2025
1 parent 860abec commit e3370a4
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
name: python test
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v2
Expand Down
14 changes: 7 additions & 7 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
mypy==1.10.0
black==24.4.2
mypy==1.14.1
black==24.10.0
isort==5.13.2
flake8==7.0.0
coverage==7.5.3
pytest==8.2.2
pytest-asyncio==0.23.7
setuptools==70.0.0
flake8==7.1.1
coverage==7.6.10
pytest==8.3.4
pytest-asyncio==0.25.2
setuptools==75.0.0
2 changes: 1 addition & 1 deletion enochecker3/enochecker.py
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ async def checker(task: CheckerTaskMessage) -> CheckerResultMessage:
cast(ExploitCheckerTaskMessage, _task)
)
else:
return CheckerResultMessage(
return CheckerResultMessage( # type: ignore
result=CheckerTaskResult.INTERNAL_ERROR,
message=f"Unsupported method: {task.method}",
)
Expand Down
4 changes: 3 additions & 1 deletion enochecker3/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ def format(self, record: logging.LogRecord) -> str:
record, "checker_task", None
)

timestamp: str = datetime.datetime.utcnow().strftime("%H:%M:%S.%f")[:-3]
timestamp: str = datetime.datetime.now(datetime.timezone.utc).strftime(
"%H:%M:%S.%f"
)[:-3]
method: str = getattr(checker_task, "method", None) or "<method>"
levelname: str = getattr(record, "levelname", None) or "<level>"
task_id: str = getattr(checker_task, "task_id", None) or "<taskid>"
Expand Down
10 changes: 5 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
httpx>=0.27.0,<0.28.0
motor>=3.4.0,<4.0.0
fastapi>=0.111.0,<0.112.0
uvicorn>=0.30.1,<0.31.0
gunicorn==22.0.0
httpx>=0.28.0,<0.29.0
motor>=3.6.1,<4.0.0
fastapi>=0.115.6,<0.116.0
uvicorn>=0.34.0,<0.35.0
gunicorn==23.0.0
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

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

0 comments on commit e3370a4

Please sign in to comment.