Skip to content

Commit

Permalink
fix: pydantic issues
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Oct 26, 2023
1 parent 9e54d16 commit 18d1ae8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ape_vyper/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
from typing import Any, Dict, Iterator, List, Optional, Set, Tuple, Union, cast

import vvm # type: ignore
from ape._pydantic_compat import validator
from ape.api import PluginConfig
from ape.api.compiler import CompilerAPI
from ape.exceptions import ContractLogicError
Expand All @@ -23,7 +24,6 @@
from evm_trace.enums import CALL_OPCODES
from packaging.specifiers import InvalidSpecifier, SpecifierSet
from packaging.version import Version
from pydantic import validator
from vvm import compile_standard as vvm_compile_standard
from vvm.exceptions import VyperError # type: ignore

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"mdformat>=0.7.17", # Auto-formatter for markdown
"mdformat-gfm>=0.3.5", # Needed for formatting GitHub-flavored markdown
"mdformat-frontmatter>=0.4.1", # Needed for frontmatters-style headers in issue templates
"pydantic<2.0", # Needed for successful type check. TODO: Remove after full v2 support.
],
"release": [ # `release` GitHub Action job uses this
"setuptools", # Installation tool
Expand Down

0 comments on commit 18d1ae8

Please sign in to comment.