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
5 changes: 1 addition & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,6 @@ filterwarnings = [
# Fail on any use of a pydantic v1 shim (`.dict()`, `parse_obj_as`, class-based `Config`, ...)
# so they cannot creep back after the v2 migration.
"error::pydantic.PydanticDeprecatedSince20",
# testcontainers modules use deprecated decorators – nothing we can do:
# https://github.com/testcontainers/testcontainers-python/issues/874
"ignore:^The @wait_container_is_ready decorator:DeprecationWarning",
]

[tool.tox]
Expand Down Expand Up @@ -195,7 +192,7 @@ test = [
"freezegun>=1.5.1",
"httpbin>=0.10.2", # indirect to make compatible with Werkzeug 3
"openai>=1.68.2",
"testcontainers>=4.9.2",
"testcontainers>=4.15.0",
]
docs = [
"dstack[server]",
Expand Down
2 changes: 1 addition & 1 deletion src/dstack/_internal/server/testing/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import pytest_asyncio
from sqlalchemy import StaticPool
from sqlalchemy.ext.asyncio import create_async_engine
from testcontainers.postgres import PostgresContainer
from testcontainers.community.postgres import PostgresContainer

from dstack._internal.server import settings
from dstack._internal.server.db import Database, override_db
Expand Down
2 changes: 1 addition & 1 deletion src/tests/_internal/server/test_migrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from alembic.util.exc import CommandError
from sqlalchemy import create_engine
from sqlalchemy.ext.asyncio import create_async_engine
from testcontainers.postgres import PostgresContainer
from testcontainers.community.postgres import PostgresContainer


def test_sqlite_migrations(monkeypatch: pytest.MonkeyPatch):
Expand Down
Loading