From 69c94a5f23e5b6cededa0e8b6fcfa6e940c06520 Mon Sep 17 00:00:00 2001 From: Ben Hauser Date: Sat, 22 Aug 2020 02:20:26 +0300 Subject: [PATCH] release: update changelog, bump version to v1.0.0 --- CHANGELOG.md | 19 +++++++++++++++++++ setup.cfg | 5 +++-- setup.py | 7 ++----- 3 files changed, 24 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d1c12ff..c6cfd5e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,25 @@ This project was forked from `py-solc`. View the original changelog [here](https ## [Unreleased](https://github.com/iamdefinitelyahuman/py-solc-x) +## [1.0.0](https://github.com/iamdefinitelyahuman/py-solc-x/releases/tag/v1.0.0) - 2020-08-22 +### Added +- "latest" is a valid version number when installing ([#104](https://github.com/iamdefinitelyahuman/py-solc-x/pull/104)) +- Custom exception classes ([#103](https://github.com/iamdefinitelyahuman/py-solc-x/pull/103)) +- Main compiler functions have `solc_version` and `solc_binary` kwargs for setting the version or using a custom solc binary ([#98](https://github.com/iamdefinitelyahuman/py-solc-x/pull/98)) +- MyPy types ([#99](https://github.com/iamdefinitelyahuman/py-solc-x/pull/99)) + +### Changed +- Major refactor of the main compiler functions and low-level solc wrapper ([#96](https://github.com/iamdefinitelyahuman/py-solc-x/pull/96)) +- Binaries are installed from [solc-bin.ethereum.org](https://solc-bin.ethereum.org/) instead of Github ([#108](https://github.com/iamdefinitelyahuman/py-solc-x/pull/108)) +- Building from source is now handled by a separate function `solcx.install.compile_solc` ([#108](https://github.com/iamdefinitelyahuman/py-solc-x/pull/108)) +- `get_available_solc_versions` has been split into `get_installable_solc_versions` and `get_compilable_solc_versions` ([#108](https://github.com/iamdefinitelyahuman/py-solc-x/pull/108)) +- `get_solc_folder` is now `get_solcx_install_folder` ([#102](https://github.com/iamdefinitelyahuman/py-solc-x/pull/102)) +- Paths are represented as `Path` objects instead of strings ([#97](https://github.com/iamdefinitelyahuman/py-solc-x/pull/97)) +- Solc versions are represented as `semantic_version.Version` objects instead of strings ([#93](https://github.com/iamdefinitelyahuman/py-solc-x/pull/93)) + +### Removed +- `utils.string` and `utils.types` subpackages ([#95](https://github.com/iamdefinitelyahuman/py-solc-x/pull/95)) + ## [0.10.1](https://github.com/iamdefinitelyahuman/py-solc-x/releases/tag/v0.10.1) - 2020-07-17 ### Fixed - Support ARM 64 bit architecture (`aarch64`) diff --git a/setup.cfg b/setup.cfg index 0c84cba..d7514d0 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,12 +1,12 @@ [bumpversion] -current_version = 0.10.1 +current_version = 1.0.0 [bumpversion:file:setup.py] [flake8] max-line-length = 100 ignore = E203,W503 -per-file-ignores = +per-file-ignores = */__init__.py: F401 [mypy] @@ -23,3 +23,4 @@ use_parentheses = True [tool:pytest] addopts = --cov=solcx --cov-branch --cov-report xml + diff --git a/setup.py b/setup.py index b0eec53..1f63f80 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ setup( name="py-solc-x", - version="0.10.1", # don't change this manually, use bumpversion instead + version="1.0.0", # don't change this manually, use bumpversion instead description="Python wrapper around the solc binary with 0.5.x and 0.6.x support", long_description_markdown_filename="README.md", author="Ben Hauser (forked from py-solc by Piper Merriam)", @@ -14,10 +14,7 @@ py_modules=["solcx"], setup_requires=["setuptools-markdown"], python_requires=">=3.6, <4", - install_requires=[ - "requests>=2.19.0,<3", - "semantic_version>=2.8.1,<3", - ], + install_requires=["requests>=2.19.0,<3", "semantic_version>=2.8.1,<3"], license="MIT", zip_safe=False, keywords="ethereum solidity solc",