5 Commits

Author SHA1 Message Date
semantic-release
fb1ebcf8cd 0.3.3
All checks were successful
continuous-integration/drone/push Build is passing
Automatically generated by python-semantic-release
2022-04-26 18:26:26 +00:00
38cfb18527 fix: it's ok if you already exsist
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-26 21:25:02 +03:00
c84517e3db fix: take the reins off
Some checks failed
continuous-integration/drone/push Build is failing
2022-04-26 21:20:35 +03:00
dcea763ce5 fix: bump deps 2022-04-26 17:21:42 +03:00
e55b82f529 fix(attachement): directory not getting created 2022-04-26 17:08:53 +03:00
5 changed files with 28 additions and 22 deletions

View File

@@ -2,6 +2,13 @@
<!--next-version-placeholder-->
## v0.3.3 (2022-04-26)
### Fix
* It's ok if you already exsist ([`38cfb18`](https://git.grassecon.net/cicnet/cic-cli/commit/38cfb185270fb361ff5d9da9976745e1fecc40f8))
* Take the reins off ([`c84517e`](https://git.grassecon.net/cicnet/cic-cli/commit/c84517e3db264f541e6e5a8eef30703bf28d32d0))
* Bump deps ([`dcea763`](https://git.grassecon.net/cicnet/cic-cli/commit/dcea763ce5b3d542ed0a50586720fc3a45142e77))
* **attachement:** Directory not getting created ([`e55b82f`](https://git.grassecon.net/cicnet/cic-cli/commit/e55b82f5295397b3e4123297bc6b231ca251bc83))
## v0.3.2 (2022-04-26)
### Fix
* Update deps ([`d2e55fa`](https://git.grassecon.net/cicnet/cic-cli/commit/d2e55fad0efd13fa7a1de8ed8ab43e703a4aa046))

View File

@@ -1 +1 @@
__version__ = "0.3.2"
__version__ = "0.3.3"

View File

@@ -23,12 +23,12 @@ class Attachment(Data):
self.path = path
self.writer = writer
self.attachment_path = os.path.join(self.path, "attachments")
self.start()
if interactive:
self.start()
input(
f"Please add attachment files to '{os.path.abspath(os.path.join(self.path,'attachments'))}' and then press ENTER to continue"
)
self.load()
self.load()
def load(self):
"""Loads attachment data from settings."""
@@ -45,7 +45,7 @@ class Attachment(Data):
def start(self):
"""Initialize attachment settings from template."""
super(Attachment, self).start()
os.makedirs(self.attachment_path)
os.makedirs(self.attachment_path, exist_ok=True)
def get(self, k):
"""Get a single attachment by the sha256 hash of the content.

12
poetry.lock generated
View File

@@ -573,15 +573,15 @@ reference = "grassroots_"
[[package]]
name = "eth-contract-registry"
version = "0.7.2"
version = "0.7.4"
description = "Ethereum Smart Contract key-value registry"
category = "main"
optional = true
python-versions = ">=3.6"
[package.dependencies]
chainlib-eth = ">=0.0.12,<0.1.0"
confini = ">=0.5.2,<0.6.0"
chainlib-eth = ">=0.0.12,<=0.1.0"
confini = ">=0.5.6,<0.6.0"
[package.source]
type = "legacy"
@@ -593,7 +593,7 @@ name = "eth-erc20"
version = "0.1.11"
description = "ERC20 interface and simple contract with deployment script that lets any address mint and gift itself tokens."
category = "main"
optional = false
optional = true
python-versions = ">=3.6"
[package.dependencies]
@@ -1975,12 +1975,12 @@ url = "https://pypi.org/simple"
reference = "pypi_"
[extras]
eth = ["chainlib-eth", "eth-token-index", "eth-address-index", "okota", "cic_eth_registry", "cic_contracts"]
eth = ["chainlib-eth", "eth-token-index", "eth-address-index", "okota", "cic-eth-registry", "cic-contracts"]
[metadata]
lock-version = "1.1"
python-versions = "^3.8"
content-hash = "b8e29fc12298dcf81b596609dfccfb5ec4487fe79e212443cf10748742cb9d82"
content-hash = "4a6c755c9feda4ab9c01f65667875b1aef4eb2c694a352e36c8a69f2172e184b"
[metadata.files]
asn1crypto = [

View File

@@ -1,6 +1,6 @@
[tool.poetry]
name = "cic-cli"
version = "0.3.2"
version = "0.3.3"
description = "Generic cli tooling for the CIC token network"
authors = [
"Louis Holbrook <dev@holbrook.no>",
@@ -41,18 +41,18 @@ secondary = true
[tool.poetry.dependencies]
python = "^3.8"
funga-eth = "~0.5.5"
cic-types = "~0.2.1"
confini = "~0.5.3"
chainlib = "~0.0.17"
funga-eth = "^0.5.0"
cic-types = "^0.2.0"
confini = "^0.5.3"
chainlib = "*"
cbor2 = "5.4.1"
chainlib-eth = { version = "~0.0.25", optional = true }
eth-token-index = { version = "~0.2.4", optional = true }
eth-address-index = { version = "~0.2.4", optional = true }
okota = { version = "~0.2.5", optional = true }
cic_eth_registry = { version = "~0.6.6", optional = true }
cic_contracts = { version = "~0.0.5", optional = true }
chainlib-eth = { version = "*", optional = true }
eth-token-index = { version = "^0.2.0", optional = true }
eth-address-index = { version = "*", optional = true }
okota = { version = "^0.2.0", optional = true }
cic-eth-registry = { version = "^0.6.0", optional = true }
cic-contracts = { version = "*", optional = true }
[tool.poetry.dev-dependencies]
@@ -61,7 +61,6 @@ pytest-cov = "2.10.1"
python-semantic-release = "^7.25.2"
pylint = "^2.12.2"
black = { version = "^22.1.0", allow-prereleases = true }
eth-erc20 = ">0.1.2a3,<0.2.0"
eth_tester = "0.5.0b3"
py-evm = "0.3.0a20"
rlp = "2.0.1"