File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -30,17 +30,17 @@ dynamic = [ "version" ]
30
30
dependencies = [
31
31
" aiohttp>=3.8.3" ,
32
32
" aioresponses>=0.7.6" ,
33
- " aleph-message>=1.0.0 " ,
33
+ " aleph-message>=1" ,
34
34
" aleph-superfluid>=0.2.1" ,
35
- " base58==2.1.1" , # Needed now as default with _load_account changement
35
+ " base58==2.1.1" , # Needed now as default with _load_account changement
36
36
" coincurve; python_version<'3.11'" ,
37
37
" coincurve>=19; python_version>='3.11'" ,
38
38
" eth-abi>=4; python_version>='3.11'" ,
39
39
" eth-typing==4.3.1" ,
40
40
" jwcrypto==1.5.6" ,
41
- " pydantic>=2,<3.0 " ,
41
+ " pydantic>=2,<3" ,
42
42
" pydantic-settings>=2" ,
43
- " pynacl==1.5" , # Needed now as default with _load_account changement
43
+ " pynacl==1.5" , # Needed now as default with _load_account changement
44
44
" python-magic" ,
45
45
" typing-extensions" ,
46
46
" web3==6.3" ,
@@ -63,7 +63,7 @@ optional-dependencies.encryption = [
63
63
" eciespy>=0.3.13; python_version>='3.11'" ,
64
64
]
65
65
optional-dependencies.ledger = [
66
- " ledgereth==0.9.1 " ,
66
+ " ledgereth==0.10 " ,
67
67
]
68
68
optional-dependencies.mqtt = [
69
69
" aiomqtt<=0.1.3" ,
Original file line number Diff line number Diff line change 57
57
from aleph_message .models .execution .volume import (
58
58
MachineVolume ,
59
59
ParentVolume ,
60
- PersistentVolume ,
60
+ PersistentVolumeSizeMib ,
61
61
VolumePersistence ,
62
62
)
63
63
from aleph_message .utils import Mebibytes
@@ -503,9 +503,7 @@ def make_instance_content(
503
503
ref = ItemHash (rootfs ),
504
504
use_latest = True ,
505
505
),
506
- size_mib = PersistentVolume .model_validate (
507
- {"size_mib" : rootfs_size }
508
- ).size_mib ,
506
+ size_mib = PersistentVolumeSizeMib (rootfs_size ),
509
507
persistence = VolumePersistence .host ,
510
508
),
511
509
volumes = [parse_volume (volume ) for volume in volumes ],
You can’t perform that action at this time.
0 commit comments