Skip to content

Commit

Permalink
Merge pull request eth-brownie#1801 from eth-brownie/v1.20.7
Browse files Browse the repository at this point in the history
v1.20.7
  • Loading branch information
iamdefinitelyahuman authored Jan 7, 2025
2 parents e8d78c4 + aa3f8aa commit 22ab739
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 7 deletions.
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion brownie/_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
6 changes: 3 additions & 3 deletions brownie/project/compiler/vyper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand All @@ -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(
Expand Down Expand Up @@ -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))

Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.20.6
current_version = 1.20.7

[bumpversion:file:setup.py]

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 22ab739

Please sign in to comment.