Skip to content

Commit

Permalink
Bump version 7.0.2 (#869)
Browse files Browse the repository at this point in the history
  • Loading branch information
droserasprout authored Oct 10, 2023
1 parent 7d0a866 commit f1ad9cb
Show file tree
Hide file tree
Showing 18 changed files with 90 additions and 84 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:

env:
FRONTEND_BRANCH: master
GH_TOKEN: ${{ secrets.API_TOKEN_EXT }}
GITHUB_TOKEN: ${{ secrets.DOCS_GITHUB_TOKEN }}

jobs:
docs:
Expand Down
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog], and this project adheres to [Semantic Versioning].

## [Unreleased]
## [7.0.2] - 2023-10-10

### Added

Expand All @@ -15,6 +15,12 @@ The format is based on [Keep a Changelog], and this project adheres to [Semantic
- cli: Fixed `schema wipe` command for SQLite databases.
- tezos.tzkt: Fixed regression in `get_transactions` method pagination.

## [6.5.13] - 2023-10-10

### Fixed

- tzkt: Fixed regression in `get_transactions` method pagination.

## [7.0.1] - 2023-09-30

### Added
Expand Down
84 changes: 42 additions & 42 deletions pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "dipdup"
description = "Modular framework for creating selective indexers and featureful backends for dapps"
version = "7.0.1"
version = "7.0.2"
license = { text = "MIT" }
authors = [
{ name = "Lev Gorodetskii", email = "[email protected]" },
Expand Down
8 changes: 4 additions & 4 deletions requirements.dev.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This file is @generated by PDM.
# Please do not edit it manually.

aiohttp==3.8.5
aiohttp==3.8.6
aiolimiter==1.1.0
aiosignal==1.3.1
aiosqlite==0.17.0
Expand All @@ -23,7 +23,7 @@ charset-normalizer==3.2.0
click==8.1.7
coverage==7.3.0
cytoolz==0.12.2
datamodel-code-generator==0.22.0
datamodel-code-generator==0.22.1
dnspython==2.4.2
docker==6.1.3
docutils==0.20.1
Expand Down Expand Up @@ -54,12 +54,12 @@ lru-dict==1.2.0
MarkupSafe==2.1.3
msgpack==1.0.5
multidict==6.0.4
mypy==1.5.1
mypy==1.6.0
mypy-extensions==1.0.0
numpy==1.25.2
openapi-schema-validator==0.4.4
openapi-spec-validator==0.5.7
orjson==3.9.7
orjson==3.9.8
packaging==23.1
parsimonious==0.9.0
pathable==0.4.3
Expand Down
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This file is @generated by PDM.
# Please do not edit it manually.

aiohttp==3.8.5
aiohttp==3.8.6
aiolimiter==1.1.0
aiosignal==1.3.1
aiosqlite==0.17.0
Expand All @@ -20,7 +20,7 @@ chardet==5.2.0
charset-normalizer==3.2.0
click==8.1.7
cytoolz==0.12.2
datamodel-code-generator==0.22.0
datamodel-code-generator==0.22.1
dnspython==2.4.2
email-validator==2.0.0.post2
eth-abi==4.2.1
Expand Down Expand Up @@ -50,7 +50,7 @@ mypy-extensions==1.0.0
numpy==1.25.2
openapi-schema-validator==0.4.4
openapi-spec-validator==0.5.7
orjson==3.9.7
orjson==3.9.8
packaging==23.1
parsimonious==0.9.0
pathable==0.4.3
Expand Down
2 changes: 1 addition & 1 deletion scripts/dump_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from pathlib import Path

import orjson
from dc_schema import get_schema # type: ignore[import]
from dc_schema import get_schema # type: ignore[import-not-found]

from dipdup.config import DipDupConfig

Expand Down
4 changes: 2 additions & 2 deletions src/demo_uniswap/models/repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from typing import Any
from typing import cast

from lru import LRU # type: ignore[import]
from lru import LRU # type: ignore[import-not-found]

import demo_uniswap.models as models
from dipdup.config.evm import EvmContractConfig
Expand Down Expand Up @@ -32,7 +32,7 @@ def save_pending_position(self, idx: str, position: dict[str, Any]) -> None:
self._pending_positions[idx] = position

def get_pending_position(self, idx: str) -> dict[str, Any] | None:
return self._pending_positions.get(idx, None)
return self._pending_positions.get(idx, None) # type: ignore[no-any-return]


async def get_ctx_factory(ctx: HandlerContext) -> models.Factory:
Expand Down
6 changes: 3 additions & 3 deletions src/dipdup/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
from typing import Any
from typing import cast

import asyncpg.exceptions # type: ignore[import]
import sqlparse # type: ignore[import]
import asyncpg.exceptions # type: ignore[import-untyped]
import sqlparse # type: ignore[import-untyped]
from tortoise import Tortoise
from tortoise.backends.asyncpg.client import AsyncpgDBClient
from tortoise.backends.base.client import BaseDBAsyncClient
Expand Down Expand Up @@ -258,7 +258,7 @@ async def _sqlite_wipe_schema(
master_query = 'SELECT name FROM sqlite_master WHERE type = "table"'
result = await conn.execute_query(master_query)
for name in result[1]:
if name not in immune_tables:
if name not in immune_tables: # type: ignore[comparison-overlap]
continue

expr = f'CREATE TABLE {namespace}.{name} AS SELECT * FROM {name}'
Expand Down
2 changes: 1 addition & 1 deletion src/dipdup/datasources/evm_subsquid.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from io import BytesIO
from typing import Any

import pyarrow.ipc # type: ignore[import]
import pyarrow.ipc # type: ignore[import-untyped]

from dipdup.config import HttpConfig
from dipdup.config.evm_subsquid import SubsquidDatasourceConfig
Expand Down
2 changes: 1 addition & 1 deletion src/dipdup/indexes/tezos_tzkt_operations/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
T = TypeVar('T', Hashable, type[BaseModel])


def extract_root_outer_type(storage_type: type[BaseModel]) -> T:
def extract_root_outer_type(storage_type: type[BaseModel]) -> T: # type: ignore[type-var]
"""Extract Pydantic __root__ type"""
root_field = storage_type.__fields__['__root__']
if root_field.allow_none:
Expand Down
4 changes: 2 additions & 2 deletions src/dipdup/performance.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
from typing import cast

from async_lru import alru_cache
from lru import LRU # type: ignore[import]
from lru import LRU # type: ignore[import-not-found]

from dipdup.exceptions import FrameworkException

Expand All @@ -42,7 +42,7 @@
@asynccontextmanager
async def with_pprofile(name: str) -> AsyncIterator[None]:
try:
import pprofile # type: ignore[import]
import pprofile # type: ignore[import-untyped]

_logger.warning('Full profiling is enabled, this will affect performance')
except ImportError:
Expand Down
2 changes: 1 addition & 1 deletion src/dipdup/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def prompt_anyof(
default: int,
) -> tuple[int, str]:
"""Ask user to choose one of options; returns index and value"""
import survey # type: ignore[import]
import survey # type: ignore[import-untyped]

table = tabulate(
zip(options, comments, strict=True),
Expand Down
2 changes: 1 addition & 1 deletion src/dipdup/projects/demo_uniswap/models/repo.py.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ from decimal import Decimal
from typing import Any
from typing import cast

from lru import LRU # type: ignore[import]
from lru import LRU # type: ignore[import-untyped]

import {{ project.package }}.models as models
from dipdup.config.evm import EvmContractConfig
Expand Down
10 changes: 5 additions & 5 deletions src/dipdup/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
from functools import partial
from typing import Any

from apscheduler.events import EVENT_JOB_ERROR # type: ignore[import]
from apscheduler.events import EVENT_JOB_ERROR # type: ignore[import-untyped]
from apscheduler.events import EVENT_JOB_EXECUTED
from apscheduler.events import JobEvent
from apscheduler.job import Job # type: ignore[import]
from apscheduler.schedulers.asyncio import AsyncIOScheduler # type: ignore[import]
from apscheduler.triggers.cron import CronTrigger # type: ignore[import]
from apscheduler.triggers.interval import IntervalTrigger # type: ignore[import]
from apscheduler.job import Job # type: ignore[import-untyped]
from apscheduler.schedulers.asyncio import AsyncIOScheduler # type: ignore[import-untyped]
from apscheduler.triggers.cron import CronTrigger # type: ignore[import-untyped]
from apscheduler.triggers.interval import IntervalTrigger # type: ignore[import-untyped]

from dipdup.config import JobConfig
from dipdup.context import DipDupContext
Expand Down
2 changes: 1 addition & 1 deletion tests/profile_abi_decoding.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import time
from pathlib import Path

import pprofile # type: ignore[import]
import pprofile # type: ignore[import-untyped]

from dipdup.indexes.evm_subsquid_events.matcher import decode_event_data
from dipdup.package import EventAbiExtra
Expand Down
2 changes: 1 addition & 1 deletion tests/test_hasura.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import pytest
from aiohttp import web
from aiohttp.pytest_plugin import AiohttpClient
from docker.client import DockerClient # type: ignore[import]
from docker.client import DockerClient # type: ignore[import-untyped]
from tortoise import Tortoise

from dipdup.config import DipDupConfig
Expand Down
Loading

0 comments on commit f1ad9cb

Please sign in to comment.