Skip to content

Commit

Permalink
chore(deps): [PYTHON] Update all dependencies (major) (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Apr 5, 2024
1 parent 446aca9 commit c3c4622
Show file tree
Hide file tree
Showing 13 changed files with 107 additions and 94 deletions.
182 changes: 91 additions & 91 deletions poetry.lock

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,14 @@ httpx = "^0.27.0"
pydantic = ">=1.9, <3.0"

[tool.poetry.group.dev.dependencies]
black = "^23.0.0"
pydantic = "^2.0.0" # required for tests

black = "^24.0.0"
flake8 = "^7.0.0"
isort = "^5.10.1"
mypy = "^1.0"
pylint = "^3.0.0"
pytest = "^7.1.2"
pytest = "^8.0.0"
pytest-asyncio = "^0.23.0"
pytest-cov = "^4.0.0"
respx = "^0.21.0"
Expand Down
1 change: 1 addition & 0 deletions rtbhouse_sdk/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
"""RTB House Python SDK."""

__version__ = "11.1.0"
1 change: 1 addition & 0 deletions rtbhouse_sdk/_utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Utils used in SDK."""

import re

from pydantic.version import VERSION as PYDANTIC_VERSION
Expand Down
1 change: 1 addition & 0 deletions rtbhouse_sdk/client.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Contains definitions of standard (sync) client as well as async client."""

# pylint: disable=too-many-arguments
import dataclasses
import warnings
Expand Down
1 change: 1 addition & 0 deletions rtbhouse_sdk/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Definitions of exceptions used in SDK."""

import dataclasses
from typing import Any, Dict, Optional

Expand Down
1 change: 1 addition & 0 deletions rtbhouse_sdk/schema.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Schemas and enums for API data."""

# pylint: disable=too-few-public-methods
from datetime import date, datetime
from enum import Enum
Expand Down
1 change: 1 addition & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Common fixtures."""

import copy
from datetime import date
from typing import Any, Dict, Iterator
Expand Down
1 change: 1 addition & 0 deletions tests/test_async_client.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for async client."""

# pylint: disable=too-many-arguments
from datetime import date
from typing import Any, AsyncIterator, Dict
Expand Down
1 change: 1 addition & 0 deletions tests/test_auth.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for auth methods."""

from typing import Union

import pytest
Expand Down
1 change: 1 addition & 0 deletions tests/test_client.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for client."""

# pylint: disable=too-many-arguments
from datetime import date
from typing import Any, Dict, Iterator, Optional
Expand Down
3 changes: 2 additions & 1 deletion tests/test_schema.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for schema and it's utilities."""

from itertools import chain

from rtbhouse_sdk._utils import underscore
Expand All @@ -8,5 +9,5 @@
def test_stats_schema_is_up_to_date() -> None:
"""In case Metric or GroupBy gets updated we need to update Stats as well."""
metric_plus_groupby_fields = {underscore(f) for f in chain(StatsMetric, StatsGroupBy)}
stats_fields = set(Stats.schema(False).get("properties").keys()) # type: ignore
stats_fields = set(Stats.model_json_schema(False).get("properties").keys()) # type: ignore
assert metric_plus_groupby_fields < stats_fields, "`Stats` schema needs an update"
1 change: 1 addition & 0 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for utilities"""

import pytest

from rtbhouse_sdk._utils import camelize, underscore
Expand Down

0 comments on commit c3c4622

Please sign in to comment.