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

@@ -19,7 +19,7 @@ from setuptools import setup, find_packages # noqa: H301
from setuptools.command.test import test as TestCommand
NAME = "0x-sra-client"
VERSION = "4.0.0.dev0"
VERSION = "4.0.0"
# To install the library, run the following
#
# python setup.py install
@@ -43,7 +43,7 @@ class CleanCommandExtension(clean):
rmtree(".mypy_cache", ignore_errors=True)
rmtree(".tox", ignore_errors=True)
rmtree(".pytest_cache", ignore_errors=True)
rmtree("0x_sra_client.egg-info", ignore_errors=True)
rmtree("src/0x_sra_client.egg-info", ignore_errors=True)
rmtree("build", ignore_errors=True)
rmtree("dist", ignore_errors=True)
subprocess.check_call( # nosec
@@ -213,10 +213,10 @@ setup(
},
extras_require={
"dev": [
"0x-contract-artifacts==3.0.0.dev2",
"0x-contract-addresses==3.0.0.dev3",
"0x-contract-wrappers==2.0.0.dev10",
"0x-order-utils==4.0.0.dev8",
"0x-contract-artifacts",
"0x-contract-addresses",
"0x-contract-wrappers",
"0x-order-utils",
"web3",
"bandit",
"black",