From 11ff7bbd4cc0ca012b4da0375da02935dfe94bff Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Nov 2024 18:30:00 +0000 Subject: [PATCH 1/4] build(deps): bump pytest from 7.1.3 to 8.3.3 Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.1.3 to 8.3.3. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/7.1.3...8.3.3) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 34ba40f656..c90afe4cb2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -21,7 +21,7 @@ parsimonious==0.10.0 progressbar2==4.0.0 protobuf==5.27.3 proto-plus==1.24.0 -pytest==7.1.3 +pytest==8.3.3 pytest-cov==3.0.0 pytest-watch==4.2.0 python-dateutil==2.8.2 From 1b66fdaffc3188f643d9430570ff88f5cce31d8d Mon Sep 17 00:00:00 2001 From: Onkar Deshpande Date: Mon, 4 Nov 2024 11:46:39 -0800 Subject: [PATCH 2/4] Make mypy happy --- tests/subscriptions/test_combined_scheduler_executor.py | 2 +- tests/subscriptions/test_scheduler_consumer.py | 2 +- tests/test_consumer.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 ( From f8a5d0f4328780bdd14151bf56e50fa21d69e5c9 Mon Sep 17 00:00:00 2001 From: Onkar Deshpande Date: Mon, 4 Nov 2024 16:51:50 -0800 Subject: [PATCH 3/4] Add py 1.11.0 in requirements.txt --- requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements.txt b/requirements.txt index d7600fd249..39cb039dd0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -21,6 +21,7 @@ parsimonious==0.10.0 progressbar2==4.0.0 protobuf==5.27.3 proto-plus==1.24.0 +py=1.11.0 pytest==8.3.3 pytest-cov==3.0.0 pytest-watch==4.2.0 From cb49fbd9fc72896dbe5e516df5f7ea3ff3b28a65 Mon Sep 17 00:00:00 2001 From: Onkar Deshpande Date: Mon, 4 Nov 2024 16:53:04 -0800 Subject: [PATCH 4/4] Fix typo --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 39cb039dd0..b5bea1adcd 100644 --- a/requirements.txt +++ b/requirements.txt @@ -21,7 +21,7 @@ parsimonious==0.10.0 progressbar2==4.0.0 protobuf==5.27.3 proto-plus==1.24.0 -py=1.11.0 +py==1.11.0 pytest==8.3.3 pytest-cov==3.0.0 pytest-watch==4.2.0