From c6bcb64c61049bcff9947c4ea88e05dc1809ce32 Mon Sep 17 00:00:00 2001 From: chakcy <947105045@qq.com> Date: Sun, 19 Oct 2025 21:23:55 +0800 Subject: [PATCH] =?UTF-8?q?modify:=20=E4=BF=AE=E6=94=B9=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .python-version | 2 +- pyproject.toml | 2 +- tests/test_async_scheduler.py | 2 +- tests/test_stress.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.python-version b/.python-version index c8cfe39..2c07333 100644 --- a/.python-version +++ b/.python-version @@ -1 +1 @@ -3.10 +3.11 diff --git a/pyproject.toml b/pyproject.toml index f72e061..46433b4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,7 +18,7 @@ dependencies = [ description = "A high-performance, SQLite-based distributed task queue system with Rust-backed core operations. Supports task mounting, message listening, priority handling, retry mechanisms, and automatic cleanup of expired messages. Ideal for building reliable, scalable background task processing systems." name = "queue-sqlite" readme = "README.md" -requires-python = ">=3.7" +requires-python = ">=3.11" version = "0.2.0" [project.optional-dependencies] diff --git a/tests/test_async_scheduler.py b/tests/test_async_scheduler.py index 3ae9aef..fc2eb65 100644 --- a/tests/test_async_scheduler.py +++ b/tests/test_async_scheduler.py @@ -27,7 +27,7 @@ class TestAsyncScheduler: cls.callback_counter += 1 # if cls.callback_counter % 100 == 0: # 每100个任务打印一次 # print(f"callback: {cls.callback_counter}") - print(f"callback: {message_item}") + # print(f"callback: {message_item}") # print(f"callback: {message_item.id}") # print(f"callback: {message_item.expire_time}") # print(f"callback: {message_item.tags}") diff --git a/tests/test_stress.py b/tests/test_stress.py index 4cde722..9e1bce4 100644 --- a/tests/test_stress.py +++ b/tests/test_stress.py @@ -27,7 +27,7 @@ class TestStress: cls.callback_counter += 1 # if cls.callback_counter % 100 == 0: # 每100个任务打印一次 # print(f"callback: {cls.callback_counter}") - print(message_item.id) + # print(message_item.id) # print(f"callback: {message_item}") # print(f"callback: {message_item.id}") # print(f"callback: {message_item.expire_time}")