Skip to content

Commit

Permalink
Bump version 3.13.2 (#372)
Browse files Browse the repository at this point in the history
  • Loading branch information
droserasprout authored Jun 27, 2024
1 parent ff4e439 commit f2c8e85
Show file tree
Hide file tree
Showing 7 changed files with 99 additions and 94 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## [3.13.2](https://github.com/baking-bad/pytezos/compare/3.13.1...3.13.2) (2024-06-27)

### Fixed

* Fixed Parisnet operation injections.

## [3.13.1](https://github.com/baking-bad/pytezos/compare/3.13.0...3.13.1) (2024-06-24)

### Fixed
Expand Down
157 changes: 79 additions & 78 deletions poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pytezos"
version = "3.13.1"
version = "3.13.2"
description = "Python toolkit for Tezos"
license = "MIT"
authors = [
Expand Down
12 changes: 6 additions & 6 deletions requirements.dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ comm==0.2.2 ; python_full_version >= "3.8.1" and python_version < "3.13"
coverage[toml]==7.5.4 ; python_full_version >= "3.8.1" and python_version < "3.13"
cryptography==42.0.8 ; python_full_version >= "3.8.1" and python_version < "3.13"
cytoolz==0.12.3 ; python_full_version >= "3.8.1" and python_version < "3.13" and implementation_name == "cpython"
debugpy==1.8.1 ; python_full_version >= "3.8.1" and python_version < "3.13"
debugpy==1.8.2 ; python_full_version >= "3.8.1" and python_version < "3.13"
decorator==5.1.1 ; python_full_version >= "3.8.1" and python_version < "3.13"
defusedxml==0.7.1 ; python_full_version >= "3.8.1" and python_version < "3.13"
deprecation==2.1.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
Expand All @@ -43,7 +43,7 @@ fastjsonschema==2.20.0 ; python_full_version >= "3.8.1" and python_version < "3.
fqdn==1.5.1 ; python_full_version >= "3.8.1" and python_version < "3.13"
idna==3.7 ; python_full_version >= "3.8.1" and python_version < "3.13"
imagesize==1.4.1 ; python_full_version >= "3.8.1" and python_version < "3.13"
importlib-metadata==7.2.1 ; python_full_version >= "3.8.1" and python_version < "3.10"
importlib-metadata==8.0.0 ; python_full_version >= "3.8.1" and python_version < "3.10"
importlib-resources==6.4.0 ; python_full_version >= "3.8.1" and python_version < "3.9"
iniconfig==2.0.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
ipykernel==6.29.4 ; python_full_version >= "3.8.1" and python_version < "3.13"
Expand All @@ -68,7 +68,7 @@ matplotlib-inline==0.1.7 ; python_full_version >= "3.8.1" and python_version < "
mistune==3.0.2 ; python_full_version >= "3.8.1" and python_version < "3.13"
mnemonic==0.21 ; python_full_version >= "3.8.1" and python_version < "3.13"
mypy-extensions==1.0.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
mypy==1.10.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
mypy==1.10.1 ; python_full_version >= "3.8.1" and python_version < "3.13"
nbclassic==1.1.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
nbclient==0.10.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
nbconvert==7.16.4 ; python_full_version >= "3.8.1" and python_version < "3.13"
Expand Down Expand Up @@ -113,10 +113,10 @@ requests==2.32.3 ; python_full_version >= "3.8.1" and python_version < "3.13"
rfc3339-validator==0.1.4 ; python_full_version >= "3.8.1" and python_version < "3.13"
rfc3986-validator==0.1.1 ; python_full_version >= "3.8.1" and python_version < "3.13"
rpds-py==0.18.1 ; python_full_version >= "3.8.1" and python_version < "3.13"
ruff==0.4.10 ; python_full_version >= "3.8.1" and python_version < "3.13"
ruff==0.5.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
secp256k1==0.14.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
send2trash==1.8.3 ; python_full_version >= "3.8.1" and python_version < "3.13"
setuptools==70.1.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
setuptools==70.1.1 ; python_full_version >= "3.8.1" and python_version < "3.13"
simple-bson==0.0.3 ; python_full_version >= "3.8.1" and python_version < "3.13"
simplejson==3.19.2 ; python_full_version >= "3.8.1" and python_version < "3.13"
six==1.16.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
Expand Down Expand Up @@ -149,7 +149,7 @@ traitlets==5.14.3 ; python_full_version >= "3.8.1" and python_version < "3.13"
types-python-dateutil==2.9.0.20240316 ; python_full_version >= "3.8.1" and python_version < "3.13"
types-pyyaml==6.0.12.20240311 ; python_full_version >= "3.8.1" and python_version < "3.13"
types-requests==2.32.0.20240622 ; python_full_version >= "3.8.1" and python_version < "3.13"
types-setuptools==70.0.0.20240524 ; python_full_version >= "3.8.1" and python_version < "3.13"
types-setuptools==70.1.0.20240627 ; python_full_version >= "3.8.1" and python_version < "3.13"
types-simplejson==3.19.0.20240310 ; python_full_version >= "3.8.1" and python_version < "3.13"
types-tabulate==0.9.0.20240106 ; python_full_version >= "3.8.1" and python_version < "3.13"
typing-extensions==4.12.2 ; python_full_version >= "3.8.1" and python_version < "3.13"
Expand Down
2 changes: 1 addition & 1 deletion requirements.slim.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ referencing==0.35.1 ; python_full_version >= "3.8.1" and python_version < "3.13"
requests==2.32.3 ; python_full_version >= "3.8.1" and python_version < "3.13"
rpds-py==0.18.1 ; python_full_version >= "3.8.1" and python_version < "3.13"
secp256k1==0.14.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
setuptools==70.1.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
setuptools==70.1.1 ; python_full_version >= "3.8.1" and python_version < "3.13"
simple-bson==0.0.3 ; python_full_version >= "3.8.1" and python_version < "3.13"
simplejson==3.19.2 ; python_full_version >= "3.8.1" and python_version < "3.13"
six==1.16.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
Expand Down
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ colorama==0.4.6 ; python_full_version >= "3.8.1" and python_version < "3.13" and
comm==0.2.2 ; python_full_version >= "3.8.1" and python_version < "3.13"
cryptography==42.0.8 ; python_full_version >= "3.8.1" and python_version < "3.13"
cytoolz==0.12.3 ; python_full_version >= "3.8.1" and python_version < "3.13" and implementation_name == "cpython"
debugpy==1.8.1 ; python_full_version >= "3.8.1" and python_version < "3.13"
debugpy==1.8.2 ; python_full_version >= "3.8.1" and python_version < "3.13"
decorator==5.1.1 ; python_full_version >= "3.8.1" and python_version < "3.13"
defusedxml==0.7.1 ; python_full_version >= "3.8.1" and python_version < "3.13"
deprecation==2.1.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
Expand All @@ -34,7 +34,7 @@ fastecdsa==2.3.2 ; python_full_version >= "3.8.1" and python_version < "3.13"
fastjsonschema==2.20.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
fqdn==1.5.1 ; python_full_version >= "3.8.1" and python_version < "3.13"
idna==3.7 ; python_full_version >= "3.8.1" and python_version < "3.13"
importlib-metadata==7.2.1 ; python_full_version >= "3.8.1" and python_version < "3.10"
importlib-metadata==8.0.0 ; python_full_version >= "3.8.1" and python_version < "3.10"
importlib-resources==6.4.0 ; python_full_version >= "3.8.1" and python_version < "3.9"
ipykernel==6.29.4 ; python_full_version >= "3.8.1" and python_version < "3.13"
ipython-genutils==0.2.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
Expand Down Expand Up @@ -95,7 +95,7 @@ rfc3986-validator==0.1.1 ; python_full_version >= "3.8.1" and python_version < "
rpds-py==0.18.1 ; python_full_version >= "3.8.1" and python_version < "3.13"
secp256k1==0.14.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
send2trash==1.8.3 ; python_full_version >= "3.8.1" and python_version < "3.13"
setuptools==70.1.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
setuptools==70.1.1 ; python_full_version >= "3.8.1" and python_version < "3.13"
simple-bson==0.0.3 ; python_full_version >= "3.8.1" and python_version < "3.13"
simplejson==3.19.2 ; python_full_version >= "3.8.1" and python_version < "3.13"
six==1.16.0 ; python_full_version >= "3.8.1" and python_version < "3.13"
Expand Down
8 changes: 3 additions & 5 deletions src/pytezos/operation/forge.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,9 @@


def has_parameters(content: Dict[str, Any]) -> bool:
if content.get('parameters'):
if content['parameters']['entrypoint'] == 'default' and content['parameters']['value'] == {'prim': 'Unit'}:
return False
return True
return False
if not content.get('parameters'):
return False
return not (content['parameters']['entrypoint'] == 'default' and content['parameters']['value'] == {'prim': 'Unit'})


def forge_entrypoint(entrypoint) -> bytes:
Expand Down

0 comments on commit f2c8e85

Please sign in to comment.