Skip to content

Commit

Permalink
Revert all the changes made to PythonClient
Browse files Browse the repository at this point in the history
  • Loading branch information
daniil-quix committed Nov 7, 2023
1 parent ca52315 commit 05c7e3e
Show file tree
Hide file tree
Showing 12 changed files with 21 additions and 145 deletions.
2 changes: 1 addition & 1 deletion src/PythonClient/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def update_version_in_package(vers: str, fromvers: str = "local"):
python_requires='>=3.6, <4',
install_requires=[
'pandas>=1.0.0,<2',
'Deprecated>=1.1,<2',
'Deprecated>=1.1,<2'
]
)
finally:
Expand Down
1 change: 0 additions & 1 deletion src/PythonClient/src/quixstreams/exceptions/__init__.py

This file was deleted.

2 changes: 1 addition & 1 deletion src/PythonClient/src/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pandas>=1.0.0,<2
pandas>=1.0.0,<2
21 changes: 0 additions & 21 deletions src/PythonClient/tests/LICENSE.pytest

This file was deleted.

8 changes: 8 additions & 0 deletions src/PythonClient/tests/conftest.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import src.quixstreams as qx

# Uncomment the next lines to enable low-level interop logs
# It will also create a log file
# from src.quixstreams.native.Python.InteropHelpers.InteropUtils import InteropUtils
# InteropUtils.enable_debug()

qx.Logging.update_factory(qx.LogLevel.Critical)
8 changes: 0 additions & 8 deletions src/PythonClient/tests/pytest.ini

This file was deleted.

Empty file.
35 changes: 0 additions & 35 deletions src/PythonClient/tests/quixstreams/conftest.py

This file was deleted.

12 changes: 10 additions & 2 deletions src/PythonClient/tests/quixstreams/integrationtests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

from src import quixstreams as qx
from src.quixstreams import AutoOffsetReset
from tests.quixstreams.types import KafkaContainer
from .containerhelper import ContainerHelper
from .types import KafkaContainer


@pytest.fixture()
Expand All @@ -15,7 +16,14 @@ def test_name(request: pytest.FixtureRequest) -> str:
)



@pytest.fixture(scope='session')
def kafka_container() -> KafkaContainer:
kafka_container, broker_address, kafka_port, zookeeper_port = ContainerHelper.create_kafka_container()
print("Starting Kafka container")
ContainerHelper.start_kafka_container(kafka_container)
print("Started Kafka container")
yield KafkaContainer(broker_address=broker_address)
kafka_container.stop()


@pytest.fixture()
Expand Down
File renamed without changes.
75 changes: 0 additions & 75 deletions src/PythonClient/tests/quixstreams/logging.py

This file was deleted.

2 changes: 1 addition & 1 deletion src/PythonClient/tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
testcontainers~=3.7.0
pytest
psutil
numpy==1.24.3
numpy==1.24.3

0 comments on commit 05c7e3e

Please sign in to comment.