Skip to content

Commit

Permalink
0.2.0 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
pipermerriam committed Jun 24, 2016
1 parent 8f4814d commit d4f0d37
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 18 deletions.
9 changes: 9 additions & 0 deletions CHANGES.txt
@@ -1,5 +1,14 @@
----

Version 0.2.0 24 Jun 2016
================================

8f4814d5d0 Python 3 Compatability.

Significant refactor of underlying library code to use
`ethereum-tester-client`. Breaking change in some ways, temporarily removing
the filter functions until they are implemented in `ethereum-tester-client`.

Version 0.1.27, Sat 24 Oct 2015
================================

Expand Down
45 changes: 45 additions & 0 deletions Makefile
@@ -0,0 +1,45 @@
.PHONY: clean-pyc clean-build

help:
@echo "clean-build - remove build artifacts"
@echo "clean-pyc - remove Python file artifacts"
@echo "lint - check style with flake8"
@echo "test - run tests quickly with the default Python"
@echo "testall - run tests on every Python version with tox"
@echo "coverage - check code coverage quickly with the default Python"
@echo "release - package and upload a release"
@echo "sdist - package"

clean: clean-build clean-pyc

clean-build:
rm -fr build/
rm -fr dist/
rm -fr *.egg-info

clean-pyc:
find . -name '*.pyc' -exec rm -f {} +
find . -name '*.pyo' -exec rm -f {} +
find . -name '*~' -exec rm -f {} +

lint:
flake8 testrpc/

test:
py.test tests

test-all:
tox

coverage:
coverage run --source testrpc py.test tests
coverage report -m
coverage html
open htmlcov/index.html

release: clean
python setup.py sdist bdist_wheel upload

sdist: clean
python setup.py sdist bdist_wheel
ls -l dist
38 changes: 20 additions & 18 deletions README.md
Expand Up @@ -2,7 +2,11 @@

## Ethereum Test RPC

Limited RPC client intended for use with automated testing. Uses [pythereum](https://github.com/ethereum/pyethereum) to run an Ethereum client behind the scenes without the need for mining or networking. The result is an Ethereum client that provides instant results and quick feedback during development.
Limited RPC client intended for use with automated testing. Uses
[pythereum](https://github.com/ethereum/pyethereum) to run an Ethereum client
behind the scenes without the need for mining or networking. The result is an
Ethereum client that provides instant results and quick feedback during
development.

### Install

Expand Down Expand Up @@ -46,10 +50,10 @@ The RPC methods currently implemented are:
* `eth_getTransactionCount`
* `eth_getTransactionByHash`
* `eth_getTransactionReceipt`
* `eth_newBlockFilter`
* `eth_newFilter`
* `eth_getFilterChanges`
* `eth_uninstallFilter`
* `eth_newBlockFilter` (temporarily removed until implemented in underlying library)
* `eth_newFilter` (temporarily removed until implemented in underlying library)
* `eth_getFilterChanges` (temporarily removed until implemented in underlying library)
* `eth_uninstallFilter` (temporarily removed until implemented in underlying library)
* `web3_sha3`
* `web3_clientVersion`

Expand All @@ -65,29 +69,26 @@ When calling `evm_reset`, the `testrpc` will revert the state of its internal ch
* `evm_snapshot` : Run at the beginning of each test, snapshotting the state of the evm.
* `evm_revert` : Run at the end of each test, reverting back to a known clean state.

### Releasing a new version (for eth-testrpc developers)

So we don't forget. :)

Install `seed` if you haven't already:
### Releasing a new version (for eth-testrpc developers)

```
$ pip install seed
```

Commit any changes you've made first. Then, to make the release:
* Bump version number in `setup.py`
* Add entry to `CHANGES.txt`
* Tag the release.

```
$ seed release
git tag -s -m "X.X.X Release" vX.X.X
git push --tags
```

Afterward, commit the changes it made for you:
* Go make the release on github for the tag you just pushed
* Build and push release to PyPI

```
git push && git push --tags
make release
```

All done! No need to update a version number.

### License

Expand All @@ -97,4 +98,5 @@ MIT
### Consensys

This library was originally authored by Consensys and transferred later when it
was no longer maintained.
was no longer maintained. A big thanks for them to creating this extremely
useful library.

0 comments on commit d4f0d37

Please sign in to comment.