diff --git a/requirements.txt b/requirements.txt index 13a3f6e20e..b5bea1adcd 100644 --- a/requirements.txt +++ b/requirements.txt @@ -21,7 +21,8 @@ parsimonious==0.10.0 progressbar2==4.0.0 protobuf==5.27.3 proto-plus==1.24.0 -pytest==7.1.3 +py==1.11.0 +pytest==8.3.3 pytest-cov==3.0.0 pytest-watch==4.2.0 python-dateutil==2.8.2 diff --git a/tests/subscriptions/test_combined_scheduler_executor.py b/tests/subscriptions/test_combined_scheduler_executor.py index 8df2ba983d..af45515562 100644 --- a/tests/subscriptions/test_combined_scheduler_executor.py +++ b/tests/subscriptions/test_combined_scheduler_executor.py @@ -7,7 +7,7 @@ import pytest from arroyo.backends.kafka import KafkaProducer from arroyo.types import BrokerValue, Message, Partition, Topic -from py._path.local import LocalPath +from py._path.local import LocalPath # type: ignore from snuba.datasets.entities.entity_key import EntityKey from snuba.datasets.entities.factory import get_entity diff --git a/tests/subscriptions/test_scheduler_consumer.py b/tests/subscriptions/test_scheduler_consumer.py index 9f114ea124..181c088c8f 100644 --- a/tests/subscriptions/test_scheduler_consumer.py +++ b/tests/subscriptions/test_scheduler_consumer.py @@ -16,7 +16,7 @@ from arroyo.types import BrokerValue, Partition, Topic from arroyo.utils.clock import TestingClock from confluent_kafka.admin import AdminClient -from py._path.local import LocalPath +from py._path.local import LocalPath # type: ignore from snuba import settings from snuba.datasets.entities.entity_key import EntityKey diff --git a/tests/test_consumer.py b/tests/test_consumer.py index b93bcf185d..3183349924 100644 --- a/tests/test_consumer.py +++ b/tests/test_consumer.py @@ -10,7 +10,7 @@ import pytest from arroyo.backends.kafka import KafkaPayload from arroyo.types import BrokerValue, Message, Partition, Topic -from py._path.local import LocalPath +from py._path.local import LocalPath # type: ignore from snuba.clusters.cluster import ClickhouseClientSettings from snuba.consumers.consumer import (