diff --git a/CHANGELOG.md b/CHANGELOG.md index 77f9f5ece..7edf3ce83 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,8 +6,17 @@ This changelog format is based on [Keep a Changelog](https://keepachangelog.com/ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased](https://github.com/eth-brownie/brownie) + +## [1.20.7](https://github.com/eth-brownie/brownie/tree/v1.20.7) - 2025-01-07 ### Added -- `py.typed` marker +- Support for vyper `0.4.0` ([#1793](https://github.com/eth-brownie/brownie/pull/1793)) +- `py.typed` marker ([#1794](https://github.com/eth-brownie/brownie/pull/1794)) + +### Fixed +- Improvements to caching ([#1786](https://github.com/eth-brownie/brownie/pull/1786)) + +### Removed +- `tqdm` progress bars during compiler installation ([#1785](https://github.com/eth-brownie/brownie/pull/1785)) ## [1.20.6](https://github.com/eth-brownie/brownie/tree/v1.20.6) - 2024-06-22 ### Added diff --git a/brownie/_config.py b/brownie/_config.py index 2b3ebe6a9..2e378fccb 100644 --- a/brownie/_config.py +++ b/brownie/_config.py @@ -19,7 +19,7 @@ from brownie._expansion import expand_posix_vars from brownie._singleton import _Singleton -__version__ = "1.20.6" +__version__ = "1.20.7" BROWNIE_FOLDER = Path(__file__).parent DATA_FOLDER = Path.home().joinpath(".brownie") diff --git a/brownie/project/compiler/vyper.py b/brownie/project/compiler/vyper.py index acd754904..8b93d5933 100644 --- a/brownie/project/compiler/vyper.py +++ b/brownie/project/compiler/vyper.py @@ -77,7 +77,7 @@ def get_abi(contract_source: str, name: str) -> Dict: raise exc.with_traceback(None) else: try: - compiled = vvm.compile_standard(input_json, vyper_version=_active_version) + compiled = vvm.compile_standard(input_json, vyper_version=str(_active_version)) except vvm.exceptions.VyperError as exc: raise CompilerError(exc, "vyper") @@ -103,7 +103,7 @@ def _get_vyper_version_list() -> Tuple[List, List]: def install_vyper(*versions: str) -> None: """Installs vyper versions.""" for version in versions: - vvm.install_vyper(version, show_progress=False) + vvm.install_vyper(str(version), show_progress=False) def find_vyper_versions( @@ -150,7 +150,7 @@ def find_vyper_versions( ) if not version or (install_latest and latest > version): - to_install.add(latest) + to_install.add(str(latest)) elif latest and latest > version: new_versions.add(str(version)) diff --git a/setup.cfg b/setup.cfg index 149409482..28560d976 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.20.6 +current_version = 1.20.7 [bumpversion:file:setup.py] diff --git a/setup.py b/setup.py index e79b26cbf..99ef113a1 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ setup( name="eth-brownie", packages=find_packages(), - version="1.20.6", # don't change this manually, use bumpversion instead + version="1.20.7", # don't change this manually, use bumpversion instead license="MIT", description="A Python framework for Ethereum smart contract deployment, testing and interaction.", # noqa: E501 long_description=long_description,