Skip to content

Bump pytest from 8.3.5 to 8.4.0 #2624

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 14, 2025
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
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ optional-dependencies.dev = [
"pyproject-fmt==2.6.0",
"pyright==1.1.402",
"pyroma==4.2",
"pytest==8.3.5",
"pytest==8.4.0",
"pytest-cov==6.2.1",
"pytest-retry==1.7.0",
"pytest-xdist==3.7.0",
Expand Down
9 changes: 0 additions & 9 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import uuid

import pytest
from beartype import beartype
from vws import VWS, CloudRecoService

from mock_vws.database import VuforiaDatabase
Expand All @@ -21,7 +20,6 @@
]


@beartype
@pytest.fixture(name="vws_client")
def fixture_vws_client(vuforia_database: VuforiaDatabase) -> VWS:
"""
Expand All @@ -33,7 +31,6 @@ def fixture_vws_client(vuforia_database: VuforiaDatabase) -> VWS:
)


@beartype
@pytest.fixture
def cloud_reco_client(vuforia_database: VuforiaDatabase) -> CloudRecoService:
"""
Expand All @@ -45,7 +42,6 @@ def cloud_reco_client(vuforia_database: VuforiaDatabase) -> CloudRecoService:
)


@beartype
@pytest.fixture(name="inactive_vws_client")
def fixture_inactive_vws_client(inactive_database: VuforiaDatabase) -> VWS:
"""
Expand All @@ -57,7 +53,6 @@ def fixture_inactive_vws_client(inactive_database: VuforiaDatabase) -> VWS:
)


@beartype
@pytest.fixture
def inactive_cloud_reco_client(
inactive_database: VuforiaDatabase,
Expand All @@ -71,7 +66,6 @@ def inactive_cloud_reco_client(
)


@beartype
@pytest.fixture
def target_id(
image_file_success_state_low_rating: io.BytesIO,
Expand All @@ -90,7 +84,6 @@ def target_id(
)


@beartype
@pytest.fixture(
params=[
"add_target",
Expand All @@ -112,7 +105,6 @@ def endpoint(request: pytest.FixtureRequest) -> Endpoint:
return endpoint_fixture


@beartype
@pytest.fixture(
params=[
pytest.param(
Expand Down Expand Up @@ -147,7 +139,6 @@ def not_base64_encoded_processable(request: pytest.FixtureRequest) -> str:
return not_base64_encoded_string


@beartype
@pytest.fixture(
params=[
pytest.param(
Expand Down
3 changes: 0 additions & 3 deletions tests/mock_vws/fixtures/credentials.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
from pathlib import Path

import pytest
from beartype import beartype
from pydantic_settings import BaseSettings, SettingsConfigDict

from mock_vws.database import VuforiaDatabase
Expand Down Expand Up @@ -42,7 +41,6 @@ class _InactiveVuforiaDatabaseSettings(_VuforiaDatabaseSettings):
)


@beartype
@pytest.fixture
def vuforia_database() -> VuforiaDatabase:
"""
Expand All @@ -59,7 +57,6 @@ def vuforia_database() -> VuforiaDatabase:
)


@beartype
@pytest.fixture
def inactive_database() -> VuforiaDatabase:
"""
Expand Down
10 changes: 0 additions & 10 deletions tests/mock_vws/fixtures/prepared_requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
from typing import Any

import pytest
from beartype import beartype
from urllib3.filepost import encode_multipart_formdata
from vws import VWS
from vws_auth_tools import authorization_header, rfc_1123_date
Expand All @@ -36,7 +35,6 @@ def _wait_for_target_processed(vws_client: VWS, target_id: str) -> None:
vws_client.wait_for_target_processed(target_id=target_id)


@beartype
@pytest.fixture
def add_target(
vuforia_database: VuforiaDatabase,
Expand Down Expand Up @@ -93,7 +91,6 @@ def add_target(
)


@beartype
@pytest.fixture
def delete_target(
vuforia_database: VuforiaDatabase,
Expand Down Expand Up @@ -140,7 +137,6 @@ def delete_target(
)


@beartype
@pytest.fixture
def database_summary(vuforia_database: VuforiaDatabase) -> Endpoint:
"""
Expand Down Expand Up @@ -183,7 +179,6 @@ def database_summary(vuforia_database: VuforiaDatabase) -> Endpoint:
)


@beartype
@pytest.fixture
def get_duplicates(
vuforia_database: VuforiaDatabase,
Expand Down Expand Up @@ -232,7 +227,6 @@ def get_duplicates(
)


@beartype
@pytest.fixture
def get_target(
vuforia_database: VuforiaDatabase,
Expand Down Expand Up @@ -280,7 +274,6 @@ def get_target(
)


@beartype
@pytest.fixture
def target_list(vuforia_database: VuforiaDatabase) -> Endpoint:
"""
Expand Down Expand Up @@ -323,7 +316,6 @@ def target_list(vuforia_database: VuforiaDatabase) -> Endpoint:
)


@beartype
@pytest.fixture
def target_summary(
vuforia_database: VuforiaDatabase,
Expand Down Expand Up @@ -371,7 +363,6 @@ def target_summary(
)


@beartype
@pytest.fixture
def update_target(
vuforia_database: VuforiaDatabase,
Expand Down Expand Up @@ -422,7 +413,6 @@ def update_target(
)


@beartype
@pytest.fixture
def query(
vuforia_database: VuforiaDatabase,
Expand Down
2 changes: 0 additions & 2 deletions tests/mock_vws/fixtures/vuforia_backends.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@ def pytest_collection_modifyitems(
item.add_marker(marker=skip_docker_build_tests_marker)


@beartype
@pytest.fixture(
name="verify_mock_vuforia",
params=list(VuforiaBackend),
Expand Down Expand Up @@ -275,7 +274,6 @@ def fixture_verify_mock_vuforia(
)


@beartype
@pytest.fixture(
params=[item for item in VuforiaBackend if item != VuforiaBackend.REAL],
ids=[
Expand Down
1 change: 0 additions & 1 deletion tests/mock_vws/test_docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ def wait_for_health_check(container: Container) -> None:
raise ValueError(error_message)


@beartype
@pytest.fixture(name="custom_bridge_network")
def fixture_custom_bridge_network() -> Iterator[Network]:
"""Yield a custom bridge network which containers can connect to.
Expand Down
2 changes: 0 additions & 2 deletions tests/mock_vws/test_flask_app_usage.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import pytest
import requests
import responses
from beartype import beartype
from PIL import Image
from requests_mock_flask import add_flask_app_to_mock
from vws import VWS, CloudRecoService
Expand All @@ -27,7 +26,6 @@
_EXAMPLE_URL_FOR_TARGET_MANAGER = "http://" + uuid.uuid4().hex + ".com"


@beartype
@pytest.fixture(autouse=True)
def _(monkeypatch: pytest.MonkeyPatch) -> Iterator[None]:
"""
Expand Down