Skip to content

Commit 944728f

Browse files
Bump the production-dependencies group across 1 directory with 8 updates (#1375)
* Bump the production-dependencies group across 1 directory with 8 updates Bumps the production-dependencies group with 8 updates in the / directory: | Package | From | To | | --- | --- | --- | | [asgiref](https://github.com/django/asgiref) | `3.7.2` | `3.8.1` | | [marshmallow](https://github.com/marshmallow-code/marshmallow) | `3.20.2` | `3.21.3` | | [marshmallow-oneofschema](https://github.com/marshmallow-code/marshmallow-oneofschema) | `3.0.1` | `3.1.1` | | [typing-extensions](https://github.com/python/typing_extensions) | `4.9.0` | `4.12.2` | | [marshmallow-dataclass](https://github.com/lovasoa/marshmallow_dataclass) | `8.6.0` | `8.7.0` | | [aiohttp](https://github.com/aio-libs/aiohttp) | `3.9.3` | `3.9.5` | | [enum-tools](https://github.com/domdfcoding/enum_tools) | `0.11.0` | `0.12.0` | | [furo](https://github.com/pradyunsg/furo) | `2023.9.10` | `2024.5.6` | Updates `asgiref` from 3.7.2 to 3.8.1 - [Changelog](https://github.com/django/asgiref/blob/main/CHANGELOG.txt) - [Commits](django/asgiref@3.7.2...3.8.1) Updates `marshmallow` from 3.20.2 to 3.21.3 - [Changelog](https://github.com/marshmallow-code/marshmallow/blob/dev/CHANGELOG.rst) - [Commits](marshmallow-code/marshmallow@3.20.2...3.21.3) Updates `marshmallow-oneofschema` from 3.0.1 to 3.1.1 - [Release notes](https://github.com/marshmallow-code/marshmallow-oneofschema/releases) - [Changelog](https://github.com/marshmallow-code/marshmallow-oneofschema/blob/main/CHANGELOG.rst) - [Commits](marshmallow-code/marshmallow-oneofschema@3.0.1...3.1.1) Updates `typing-extensions` from 4.9.0 to 4.12.2 - [Release notes](https://github.com/python/typing_extensions/releases) - [Changelog](https://github.com/python/typing_extensions/blob/main/CHANGELOG.md) - [Commits](python/typing_extensions@4.9.0...4.12.2) Updates `marshmallow-dataclass` from 8.6.0 to 8.7.0 - [Changelog](https://github.com/lovasoa/marshmallow_dataclass/blob/master/CHANGELOG.md) - [Commits](lovasoa/marshmallow_dataclass@v8.6.0...v8.7.0) Updates `aiohttp` from 3.9.3 to 3.9.5 - [Release notes](https://github.com/aio-libs/aiohttp/releases) - [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst) - [Commits](aio-libs/aiohttp@v3.9.3...v3.9.5) Updates `enum-tools` from 0.11.0 to 0.12.0 - [Release notes](https://github.com/domdfcoding/enum_tools/releases) - [Commits](domdfcoding/enum_tools@v0.11.0...v0.12.0) Updates `furo` from 2023.9.10 to 2024.5.6 - [Release notes](https://github.com/pradyunsg/furo/releases) - [Changelog](https://github.com/pradyunsg/furo/blob/main/docs/changelog.md) - [Commits](pradyunsg/furo@2023.09.10...2024.05.06) --- updated-dependencies: - dependency-name: asgiref dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: marshmallow dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: marshmallow-oneofschema dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: typing-extensions dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: marshmallow-dataclass dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: aiohttp dependency-type: direct:production update-type: version-update:semver-patch dependency-group: production-dependencies - dependency-name: enum-tools dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: furo dependency-type: direct:production update-type: version-update:semver-major dependency-group: production-dependencies ... Signed-off-by: dependabot[bot] <support@github.com> * Fix pyright check --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Dariusz Doktorski <dariusz.doktorski@swmansion.com>
1 parent 85585b0 commit 944728f

File tree

8 files changed

+157
-141
lines changed

8 files changed

+157
-141
lines changed

poetry.lock

Lines changed: 134 additions & 118 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ documentation = "https://starknetpy.rtfd.io/"
1717
python = ">=3.8, <3.13"
1818
asgiref = "^3.4.1"
1919
marshmallow = "^3.15.0"
20-
marshmallow-oneofschema = "3.0.1"
20+
marshmallow-oneofschema = "3.1.1"
2121
typing-extensions = "^4.3.0"
22-
marshmallow-dataclass = "<8.7.0"
22+
marshmallow-dataclass = "<8.8.0"
2323
poseidon-py = "0.1.4"
2424
lark = "^1.1.5"
2525
aiohttp = "^3.8.4"
2626
sphinx = { version = ">=4.3.1,<8.0.0", optional = true }
27-
enum-tools = { extras = ["sphinx"], version = "0.11.0", optional = true }
28-
furo = { version = "^2023.5.20", optional = true }
27+
enum-tools = { extras = ["sphinx"], version = "0.12.0", optional = true }
28+
furo = { version = "^2024.5.6", optional = true }
2929
pycryptodome = "^3.17"
3030
crypto-cpp-py = "1.4.4"
3131
eth-keyfile = "^0.8.1"

starknet_py/abi/v0/schemas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from marshmallow import Schema, fields
2-
from marshmallow_oneofschema import OneOfSchema
2+
from marshmallow_oneofschema.one_of_schema import OneOfSchema
33

44
from starknet_py.abi.v0.shape import (
55
CONSTRUCTOR_ENTRY,

starknet_py/abi/v1/schemas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from marshmallow import Schema, fields
2-
from marshmallow_oneofschema import OneOfSchema
2+
from marshmallow_oneofschema.one_of_schema import OneOfSchema
33

44
from starknet_py.abi.v1.shape import (
55
ENUM_ENTRY,

starknet_py/abi/v2/schemas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from marshmallow import Schema, fields
2-
from marshmallow_oneofschema import OneOfSchema
2+
from marshmallow_oneofschema.one_of_schema import OneOfSchema
33

44
from starknet_py.abi.v2.shape import (
55
CONSTRUCTOR_ENTRY,

starknet_py/net/schemas/broadcasted_txn.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from marshmallow import fields, post_dump, pre_load
2-
from marshmallow_oneofschema import OneOfSchema
2+
from marshmallow_oneofschema.one_of_schema import OneOfSchema
33

44
from starknet_py.net.client_models import TransactionType
55
from starknet_py.net.models.transaction import compress_program, decompress_program
@@ -49,9 +49,9 @@ def decompress_program(self, data, **kwargs):
4949

5050
class BroadcastedDeclareSchema(OneOfSchema):
5151
type_schemas = {
52-
1: BroadcastedDeclareV1Schema,
53-
2: BroadcastedDeclareV2Schema,
54-
3: BroadcastedDeclareV3Schema,
52+
"1": BroadcastedDeclareV1Schema,
53+
"2": BroadcastedDeclareV2Schema,
54+
"3": BroadcastedDeclareV3Schema,
5555
}
5656

5757
def get_obj_type(self, obj):

starknet_py/net/schemas/rpc.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# pylint: disable=too-many-lines
22

33
from marshmallow import EXCLUDE, fields, post_load
4-
from marshmallow_oneofschema import OneOfSchema
4+
from marshmallow_oneofschema.one_of_schema import OneOfSchema
55

66
from starknet_py.abi.v0.schemas import ContractAbiEntrySchema
77
from starknet_py.net.client_models import (
@@ -415,10 +415,10 @@ def make_dataclass(self, data, **kwargs) -> DeployAccountTransactionV3:
415415

416416
class DeclareTransactionSchema(OneOfSchema):
417417
type_schemas = {
418-
0: DeclareTransactionV0Schema,
419-
1: DeclareTransactionV1Schema,
420-
2: DeclareTransactionV2Schema,
421-
3: DeclareTransactionV3Schema,
418+
"0": DeclareTransactionV0Schema,
419+
"1": DeclareTransactionV1Schema,
420+
"2": DeclareTransactionV2Schema,
421+
"3": DeclareTransactionV3Schema,
422422
}
423423

424424
def get_data_type(self, data):
@@ -427,9 +427,9 @@ def get_data_type(self, data):
427427

428428
class InvokeTransactionSchema(OneOfSchema):
429429
type_schemas = {
430-
0: InvokeTransactionV0Schema,
431-
1: InvokeTransactionV1Schema,
432-
3: InvokeTransactionV3Schema,
430+
"0": InvokeTransactionV0Schema,
431+
"1": InvokeTransactionV1Schema,
432+
"3": InvokeTransactionV3Schema,
433433
}
434434

435435
def get_obj_type(self, obj):
@@ -441,8 +441,8 @@ def get_data_type(self, data):
441441

442442
class DeployAccountTransactionSchema(OneOfSchema):
443443
type_schemas = {
444-
1: DeployAccountTransactionV1Schema,
445-
3: DeployAccountTransactionV3Schema,
444+
"1": DeployAccountTransactionV1Schema,
445+
"3": DeployAccountTransactionV3Schema,
446446
}
447447

448448
def get_obj_type(self, obj):

starknet_py/net/schemas/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from starknet_py.constants import QUERY_VERSION_BASE
44

55

6-
def _extract_tx_version(version: Union[int, str]):
6+
def _extract_tx_version(version: Union[int, str]) -> str:
77
if isinstance(version, str):
88
version = int(version, 16)
9-
return version % QUERY_VERSION_BASE
9+
return str(version % QUERY_VERSION_BASE)

0 commit comments

Comments
 (0)