arkitekt-next 0.8.14__py3-none-any.whl → 0.8.16__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of arkitekt-next might be problematic. Click here for more details.

@@ -205,7 +205,7 @@ def get_flavours(ctx: Context, select: Optional[str] = None) -> Dict[str, Flavou
205
205
  with open(os.path.join(dir, "config.yaml")) as f:
206
206
  valued = yaml.load(f, Loader=yaml.SafeLoader)
207
207
  try:
208
- flavour = Flavour(**valued)
208
+ flavour = Flavour.model_validate(valued)
209
209
  flavour.check_relative_paths(dir)
210
210
  flavours[dir_name] = flavour
211
211
 
arkitekt_next/cli/io.py CHANGED
@@ -10,7 +10,7 @@ from arkitekt_next.cli.types import (
10
10
  Flavour,
11
11
  DeploymentsConfigFile,
12
12
  )
13
- from kabinet.api.schema import InspectionInput, AppImageInput, DockerImageInput
13
+ from kabinet.api.schema import InspectionInput, AppImageInput, DockerImageInput, ManifestInput
14
14
 
15
15
  import yaml
16
16
  import json
@@ -116,6 +116,18 @@ def get_builds(selected_run: Optional[str] = None) -> Dict[str, Build]:
116
116
  )
117
117
 
118
118
 
119
+
120
+
121
+ def manifest_to_input(manifest: Manifest) -> ManifestInput:
122
+
123
+ return ManifestInput(**manifest.model_dump(by_alias=True))
124
+
125
+
126
+
127
+
128
+
129
+
130
+
119
131
  def generate_build(
120
132
  build_run: str,
121
133
  build_id: str,
@@ -149,7 +161,7 @@ def generate_build(
149
161
  config_file = os.path.join(path, "builds.yaml")
150
162
 
151
163
  build = Build(
152
- manifest=manifest,
164
+ manifest=manifest_to_input(manifest),
153
165
  flavour=flavour_name,
154
166
  selectors=flavour.selectors,
155
167
  build_id=build_id,
@@ -40,7 +40,6 @@ class Manifest(BaseModel):
40
40
  logo: Optional[str] = None
41
41
  entrypoint: str
42
42
  scopes: List[str]
43
- created_at: datetime.datetime = Field(default_factory=datetime.datetime.now)
44
43
 
45
44
  @field_validator("version", mode="before")
46
45
  def version_must_be_semver(cls, v) -> str:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: arkitekt-next
3
- Version: 0.8.14
3
+ Version: 0.8.16
4
4
  Summary: client for the arkitekt_next platform
5
5
  License: MIT
6
6
  Author: jhnnsrs
@@ -22,7 +22,7 @@ Requires-Dist: dokker (>=1.0.0)
22
22
  Requires-Dist: fakts (>=1.0.0)
23
23
  Requires-Dist: fluss-next (>=0.1.87) ; extra == "all"
24
24
  Requires-Dist: herre (>=1.0.0)
25
- Requires-Dist: kabinet (>=0.1.26) ; (python_version >= "3.9" and python_version < "4.0") and (extra == "all")
25
+ Requires-Dist: kabinet (>=0.1.28) ; (python_version >= "3.9" and python_version < "4.0") and (extra == "all")
26
26
  Requires-Dist: koil (>=1.0.0)
27
27
  Requires-Dist: lovekit (>=0.1.13) ; (python_version >= "3.10" and python_version < "4.0") and (extra == "all")
28
28
  Requires-Dist: mikro-next (>=0.1.42) ; (python_version >= "3.10" and python_version < "4.0") and (extra == "all")
@@ -63,7 +63,7 @@ arkitekt_next/cli/commands/inspect/requirements.py,sha256=rCwCRLNB2aNKC7jqljGHtD
63
63
  arkitekt_next/cli/commands/inspect/templates.py,sha256=f_jzqvwLGhfcRcHr1bxUR248H-ylkTyF6Y1bygNg2ls,2290
64
64
  arkitekt_next/cli/commands/inspect/variables.py,sha256=LonDlbS2qH1v-jD6RfEhTv-mxmgeBMKqD3oO2iDJRjE,2698
65
65
  arkitekt_next/cli/commands/kabinet/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
66
- arkitekt_next/cli/commands/kabinet/build.py,sha256=pMVRNUdkVc-uu0YKNzKWXlDNNyAJKAaB0JuBFw0H6Uw,8697
66
+ arkitekt_next/cli/commands/kabinet/build.py,sha256=S6FF_tpS1Vu-1I2dvyMUa_pV1LWXnRt0wfPEddso0jc,8710
67
67
  arkitekt_next/cli/commands/kabinet/init.py,sha256=YcxXlMick7Xd2XUjmA9vyku0QDGACw1PEWpfJum42E8,3600
68
68
  arkitekt_next/cli/commands/kabinet/main.py,sha256=U5EWekRTsMZZ34abWFfwilhzrd-zZtpZbl8RsLN_bC8,1008
69
69
  arkitekt_next/cli/commands/kabinet/publish.py,sha256=pbQ3QNNwSnyq06EPWfcJc_LoP9VhKo2wGBuUtNPPlV0,3572
@@ -87,7 +87,7 @@ arkitekt_next/cli/constants.py,sha256=ONXKA8LRxXQkOQ56ZElVMZSTiaIH1LE_ikmUUKem98
87
87
  arkitekt_next/cli/dockerfiles/vanilla.dockerfile,sha256=0ujdG22rZ6v2n5TMHNA4HR5f1PP9KJvAQORz-DGHBpo,184
88
88
  arkitekt_next/cli/errors.py,sha256=zLTjaCbun6qM2nTldjyZd-DvykqKn5A3Gn80uYdx7Vc,93
89
89
  arkitekt_next/cli/inspect.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
90
- arkitekt_next/cli/io.py,sha256=butRTVzBPamuDESac0WvNGZ9MfLaKiEoIvMjNLkZ7GI,6976
90
+ arkitekt_next/cli/io.py,sha256=QSnyIjPKZZ_pWp-b_hbM4XGwarCf4IYTgcXtNXBawH8,7143
91
91
  arkitekt_next/cli/main.py,sha256=Ua7sq_OfC491F6r6zNs_oEiR4jVOsZwxLpX0ZXR0Jk0,2227
92
92
  arkitekt_next/cli/options.py,sha256=hSKdSYabK1MuioBRUsADjQIPSp9H2YeczmcyAsFUprI,3791
93
93
  arkitekt_next/cli/schemas/fluss.schema.graphql,sha256=MqrSpOxtWO9kWFCoUn9ySBPhIH3XozFiqrQl2zjEbiQ,35803
@@ -107,7 +107,7 @@ arkitekt_next/cli/schemas/unlok.schema.graphql,sha256=fXR846snIBIqkuQ-PlYnSkQjkF
107
107
  arkitekt_next/cli/templates/filter.py,sha256=mD2jdNEXrZNagC_8WtuTisGJrGIbJDSylCvh19cF49I,650
108
108
  arkitekt_next/cli/templates/simple.py,sha256=IbcThJ5LryXVFQUdzxfHQCtzSNxEQWTxbD__Ygxsp4M,1171
109
109
  arkitekt_next/cli/texts.py,sha256=6qK9amHXXHRnXPOgto9QVyl3lwwmWOebL673xFfrUUk,680
110
- arkitekt_next/cli/types.py,sha256=7VpElE7Xl6gUg-d7HotxTAYkPfBXEov8jan0eWUEdQs,5235
110
+ arkitekt_next/cli/types.py,sha256=ryxQ7QMd8854-v4zNHq3wipRvKp20ccZyejuyUMZojk,5154
111
111
  arkitekt_next/cli/ui.py,sha256=BR_AOsBIIHwojI5otBzT_560-ep5Dw1xAHKsO2zOOJQ,3493
112
112
  arkitekt_next/cli/utils.py,sha256=rl1hfQIVzepLHPN_ZWuvfVH-IIVqcSfiFGyfNtL1XCo,445
113
113
  arkitekt_next/cli/validators.py,sha256=XkLrOrDzBJwcG1keTawa_NJPt3QIBhb5KjepeH4N1KA,719
@@ -132,8 +132,8 @@ arkitekt_next/qt/utils.py,sha256=MgBPtPmCSBkIuATov3UgREESwxAHh77lWNNxyE7Qs48,773
132
132
  arkitekt_next/service_registry.py,sha256=x3pzr3dJSI2hjMGNZa3F7boW-6N7K53acjdLTkg4kc8,3588
133
133
  arkitekt_next/tqdm.py,sha256=lQcJI5Q6Py7Gy88hOCiJujjPEEGd8G2k1mOVJJ6oYe8,1531
134
134
  arkitekt_next/utils.py,sha256=QETdzn_GIMSw6LdaXL89bqvqp9MGwEBK8Lj54MpnMwc,2396
135
- arkitekt_next-0.8.14.dist-info/LICENSE,sha256=YZ2oRjC248t-GpoEyw7J13vwKYNG6zhYMaEAix6EzF0,1089
136
- arkitekt_next-0.8.14.dist-info/METADATA,sha256=0WsL-RVE0jz3FFKmHwQz6Bp_Gv_S0SPfftdsZS63niU,6062
137
- arkitekt_next-0.8.14.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
138
- arkitekt_next-0.8.14.dist-info/entry_points.txt,sha256=-hxikQx4xZ6TiOnWVDOlTN_kcAISgGFvTHXIchsCHSc,60
139
- arkitekt_next-0.8.14.dist-info/RECORD,,
135
+ arkitekt_next-0.8.16.dist-info/LICENSE,sha256=YZ2oRjC248t-GpoEyw7J13vwKYNG6zhYMaEAix6EzF0,1089
136
+ arkitekt_next-0.8.16.dist-info/METADATA,sha256=g0wD9lVjoUEN28dpFC4B8N6RG5fbLcopmUyIn93FN3g,6062
137
+ arkitekt_next-0.8.16.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
138
+ arkitekt_next-0.8.16.dist-info/entry_points.txt,sha256=-hxikQx4xZ6TiOnWVDOlTN_kcAISgGFvTHXIchsCHSc,60
139
+ arkitekt_next-0.8.16.dist-info/RECORD,,