Python publish for v3 (#2383)

* Remove pre-release suffixes from version numbers

* For wrapper test, pull latest ganache image first

* For wrapper test, unpin ganache, use beta snapshot

* In docs, advise using beta ganache snapshot

Because we haven't yet published the non-beta snapshot

* Unpin package interdependencies

* unpin tests from beta 0xorg/ganache-cli version

* use beta ganache snapshot

* Set release date in CHANGELOGs

* In testing deployment, stop testing pre-releases

* Include rmtree("build") in all clean commands

* Fix clean not cleaning what it thought it was

* In monorepo script, install pkgs 1st then dev deps

* Stop pinning ganache snapshot version

* In test setup, wait longer for mesh to start up

* Fix broken hyperlinks in docs

* fix missing \n that was breaking doc rendering

* In monorepo script comment, fix typo, and clarify
This commit is contained in:
F. Eugene Aumson
2019-12-04 08:42:00 -08:00
committed by GitHub
parent 8685cf9036
commit 4f17a251d3
28 changed files with 74 additions and 61 deletions

View File

@@ -1,6 +1,6 @@
# Changelog
## 4.0.0 - TBD
## 4.0.0 - 2019-12-03
- Upgraded to protocol version 3.
- `is_valid_signature()` now returns just a boolean. (Formerly, it returned a tuple consisting of the boolean and a reason string.)

View File

@@ -156,7 +156,7 @@ with open("README.md", "r") as file_handle:
setup(
name="0x-order-utils",
version="4.0.0.dev8",
version="4.0.0",
description="Order utilities for 0x applications",
long_description=README_MD,
long_description_content_type="text/markdown",
@@ -176,9 +176,9 @@ setup(
"ganache": GanacheCommand,
},
install_requires=[
"0x-contract-addresses==3.0.0.dev3",
"0x-contract-artifacts==3.0.0.dev2",
"0x-json-schemas==2.1.0.dev2",
"0x-contract-addresses",
"0x-contract-artifacts",
"0x-json-schemas",
"deprecated",
"web3",
"eth-abi",

View File

@@ -1,4 +1,4 @@
"""Order utilities for 0x applications.
r"""Order utilities for 0x applications.
Setup
-----
@@ -11,8 +11,9 @@ Some methods require the caller to pass in a `Web3.BaseProvider`:code: object.
For local testing one may construct such a provider pointing at an instance of
`ganache-cli <https://www.npmjs.com/package/ganache-cli>`_ which has the 0x
contracts deployed on it. For convenience, a docker container is provided for
just this purpose. To start it:
`docker run -d -p 8545:8545 0xorg/ganache-cli:2.2.2`:code:.
just this purpose. To start it::
docker run -d -p 8545:8545 0xorg/ganache-cli
"""

View File

@@ -22,5 +22,5 @@ commands =
[testenv:run_tests_against_deployment]
setenv = PY_IGNORE_IMPORTMISMATCH = 1
commands =
pip install --pre 0x-order-utils[dev]
pip install 0x-order-utils[dev]
pytest --doctest-modules src test