Skip to content
Draft
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
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@
"toml; python_version<'3.11'",
"tqdm>=4.67,<5.0",
"traitlets>=5.3.0",
"ujson>=5.11.0,<6",
"urllib3>=2.3,<3",
"watchdog>=3.0,<4",
# ** Dependencies maintained by Ethereum Foundation **
Expand Down
2 changes: 1 addition & 1 deletion src/ape/cli/paramtype.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import json
import ujson as json
from pathlib import Path as PathLibPath
from typing import Any

Expand Down
2 changes: 1 addition & 1 deletion src/ape/managers/_contractscache.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import json
import ujson as json
from collections.abc import Collection
from concurrent.futures import ThreadPoolExecutor
from contextlib import contextmanager
Expand Down
2 changes: 1 addition & 1 deletion src/ape/managers/project.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import json
import ujson as json
import random
import shutil
from collections.abc import Callable, Iterable, Iterator
Expand Down
2 changes: 1 addition & 1 deletion src/ape/utils/basemodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""

import inspect
import json
import ujson as json
from abc import ABC
from collections.abc import Callable, Iterator, Mapping, Sequence
from importlib import import_module
Expand Down
2 changes: 1 addition & 1 deletion src/ape/utils/misc.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import asyncio
import functools
import inspect
import json
import ujson as json
import sys

if sys.version_info.minor >= 11:
Expand Down
2 changes: 1 addition & 1 deletion src/ape/utils/os.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import json
import ujson as json
import os
import re
import stat
Expand Down
2 changes: 1 addition & 1 deletion src/ape_accounts/_cli.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import json
import ujson as json
from importlib import import_module
from typing import TYPE_CHECKING, Optional

Expand Down
2 changes: 1 addition & 1 deletion src/ape_accounts/accounts.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import json
import ujson as json
import warnings
from collections.abc import Iterator
from os import environ
Expand Down
2 changes: 1 addition & 1 deletion src/ape_cache/models.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from sqlalchemy import JSON, BigInteger, Column, ForeignKey, Integer, LargeBinary, Numeric
from sqlalchemy import ujson as json, BigInteger, Column, ForeignKey, Integer, LargeBinary, Numeric
from sqlalchemy.types import String, TypeDecorator

from .base import Base
Expand Down
2 changes: 1 addition & 1 deletion src/ape_ethereum/provider.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import json
import ujson as json
import os
import re
import sys
Expand Down
2 changes: 1 addition & 1 deletion src/ape_ethereum/trace.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import json
import ujson as json
import sys
from abc import abstractmethod
from collections import defaultdict, deque
Expand Down
2 changes: 1 addition & 1 deletion src/ape_networks/_cli.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import json
import ujson as json
from collections.abc import Callable, Sequence
from typing import TYPE_CHECKING

Expand Down
4 changes: 2 additions & 2 deletions src/ape_pm/compiler.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import json
import ujson as json
from collections.abc import Iterable, Iterator
from json import JSONDecodeError
from ujson import JSONDecodeError
from pathlib import Path
from typing import TYPE_CHECKING, Optional

Expand Down
2 changes: 1 addition & 1 deletion src/ape_pm/dependency.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import json
import ujson as json
import os
import shutil
from collections.abc import Iterable
Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import json
import ujson as json
import os
import shutil
import subprocess
Expand Down
2 changes: 1 addition & 1 deletion tests/functional/test_compilers.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import json
import ujson as json
from pathlib import Path
from re import Pattern
from typing import cast
Expand Down
2 changes: 1 addition & 1 deletion tests/functional/test_contract.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import json
import ujson as json

import pytest

Expand Down
2 changes: 1 addition & 1 deletion tests/functional/test_dependencies.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import json
import ujson as json
import os
import shutil
from pathlib import Path
Expand Down
2 changes: 1 addition & 1 deletion tests/functional/test_deploymentscache.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import json
import ujson as json

import pytest

Expand Down
2 changes: 1 addition & 1 deletion tests/functional/test_project.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import json
import ujson as json
import os
import re
import shutil
Expand Down
2 changes: 1 addition & 1 deletion tests/functional/test_trace.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import json
import ujson as json
import re

import pytest
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/cli/test_accounts.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import json
import ujson as json
import re
from typing import Optional

Expand Down
Loading