Skip to content

Commit

Permalink
fix up imports, remove extras
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderankin committed Mar 8, 2024
1 parent d26ce3f commit 62a5d74
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions modules/kafka/testcontainers/kafka/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from testcontainers.core.container import DockerContainer
from testcontainers.core.utils import raise_for_deprecated_parameter
from testcontainers.core.waiting_utils import wait_for_logs
from testcontainers.kafka.redpanda import RedpandaContainer


class KafkaContainer(DockerContainer):
Expand Down
2 changes: 1 addition & 1 deletion modules/kafka/tests/test_redpanda.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import json
from kafka import KafkaConsumer, KafkaProducer, TopicPartition, KafkaAdminClient
from kafka.admin import NewTopic
from testcontainers.redpanda import RedpandaContainer
from testcontainers.kafka import RedpandaContainer


def test_redpanda_producer_consumer():
Expand Down
3 changes: 0 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ packages = [
{ include = "testcontainers", from = "modules/qdrant" },
{ include = "testcontainers", from = "modules/rabbitmq" },
{ include = "testcontainers", from = "modules/redis" },
{ include = "testcontainers", from = "modules/redpanda" },
{ include = "testcontainers", from = "modules/selenium" },
{ include = "testcontainers", from = "modules/weaviate" }
]
Expand Down Expand Up @@ -91,7 +90,6 @@ opensearch-py = { version = "*", optional = true }
cx_Oracle = { version = "*", optional = true }
pika = { version = "*", optional = true }
redis = { version = "*", optional = true }
redpanda = { version = "*", optional = true }
selenium = { version = "*", optional = true }
weaviate-client = { version = "^4.5.4", optional = true }
chromadb-client = { version = "*", optional = true }
Expand Down Expand Up @@ -122,7 +120,6 @@ postgres = []
qdrant = ["qdrant-client"]
rabbitmq = ["pika"]
redis = ["redis"]
redpanda = []
selenium = ["selenium"]
weaviate = ["weaviate-client"]
chroma = ["chromadb-client"]
Expand Down

0 comments on commit 62a5d74

Please sign in to comment.