Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/python-pubulish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

- name: Run tests
run: |
uv run pytest
uv run pytest -m "not need_ray and not need_admin" --reruns 1 -n auto

publish:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion rock/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from rock import env_vars
from rock.logger import init_logger
from rock.utils import is_absolute_db_path
from rock.utils.database import is_absolute_db_path
from rock.utils.providers import NacosConfigProvider

logger = init_logger(__name__)
Expand Down
5 changes: 0 additions & 5 deletions rock/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
FileUtil,
ListUtil,
)
from .database import (
is_absolute_db_path,
)
from .docker import (
DockerUtil,
ImageUtil,
Expand Down Expand Up @@ -64,8 +61,6 @@
# Data utilities
"FileUtil",
"ListUtil",
# Database utilities
"is_absolute_db_path",
# HTTP utilities
"HttpUtils",
"wait_until_alive",
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/utils/test_db_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import pytest

from rock.utils import is_absolute_db_path
from rock.utils.database import is_absolute_db_path


@pytest.mark.asyncio
Expand Down
Loading