arkitekt-next 0.7.17__tar.gz → 0.7.18__tar.gz

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.

Files changed (120) hide show
  1. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/PKG-INFO +7 -6
  2. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/commands/inspect/main.py +2 -0
  3. arkitekt_next-0.7.18/arkitekt_next/cli/commands/inspect/requirements.py +83 -0
  4. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/commands/kabinet/build.py +37 -0
  5. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/pyproject.toml +7 -6
  6. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/LICENSE +0 -0
  7. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/README.md +0 -0
  8. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/__init__.py +0 -0
  9. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/apps/__init__.py +0 -0
  10. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/apps/easy.py +0 -0
  11. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/apps/next.py +0 -0
  12. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/apps/qt.py +0 -0
  13. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/apps/service/__init__.py +0 -0
  14. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/apps/service/fakts.py +0 -0
  15. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/apps/service/fakts_next.py +0 -0
  16. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/apps/service/fakts_qt.py +0 -0
  17. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/apps/service/fluss_next.py +0 -0
  18. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/apps/service/grant_registry.py +0 -0
  19. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/apps/service/herre.py +0 -0
  20. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/apps/service/herre_qt.py +0 -0
  21. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/apps/service/kabinet.py +0 -0
  22. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/apps/service/mikro_next.py +0 -0
  23. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/apps/service/rekuest_next.py +0 -0
  24. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/apps/service/unlok_next.py +0 -0
  25. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/apps/types.py +0 -0
  26. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/builders.py +0 -0
  27. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/__init__.py +0 -0
  28. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/commands/call/__init__.py +0 -0
  29. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/commands/call/local.py +0 -0
  30. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/commands/call/main.py +0 -0
  31. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/commands/call/remote.py +0 -0
  32. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/commands/gen/__init__.py +0 -0
  33. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/commands/gen/compile.py +0 -0
  34. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/commands/gen/init.py +0 -0
  35. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/commands/gen/main.py +0 -0
  36. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/commands/gen/watch.py +0 -0
  37. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/commands/init/__init__.py +0 -0
  38. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/commands/init/main.py +0 -0
  39. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/commands/inspect/__init__.py +0 -0
  40. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/commands/inspect/templates.py +0 -0
  41. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/commands/inspect/variables.py +0 -0
  42. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/commands/kabinet/__init__.py +0 -0
  43. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/commands/kabinet/init.py +0 -0
  44. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/commands/kabinet/main.py +0 -0
  45. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/commands/kabinet/publish.py +0 -0
  46. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/commands/kabinet/stage.py +0 -0
  47. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/commands/kabinet/utils.py +0 -0
  48. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/commands/kabinet/validate.py +0 -0
  49. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/commands/kabinet/wizard.py +0 -0
  50. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/commands/manifest/__init__.py +0 -0
  51. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/commands/manifest/inspect.py +0 -0
  52. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/commands/manifest/main.py +0 -0
  53. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/commands/manifest/scopes.py +0 -0
  54. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/commands/manifest/version.py +0 -0
  55. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/commands/manifest/wizard.py +0 -0
  56. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/commands/run/__init__.py +0 -0
  57. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/commands/run/dev.py +0 -0
  58. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/commands/run/main.py +0 -0
  59. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/commands/run/prod.py +0 -0
  60. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/commands/run/utils.py +0 -0
  61. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/commands/server/__init__.py +0 -0
  62. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/commands/server/down.py +0 -0
  63. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/commands/server/init.py +0 -0
  64. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/commands/server/inspect.py +0 -0
  65. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/commands/server/main.py +0 -0
  66. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/commands/server/open.py +0 -0
  67. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/commands/server/remove.py +0 -0
  68. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/commands/server/stop.py +0 -0
  69. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/commands/server/up.py +0 -0
  70. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/commands/server/utils.py +0 -0
  71. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/configs/base.yaml +0 -0
  72. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/constants.py +0 -0
  73. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/dockerfiles/vanilla.dockerfile +0 -0
  74. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/errors.py +0 -0
  75. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/inspect.py +0 -0
  76. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/io.py +0 -0
  77. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/main.py +0 -0
  78. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/options.py +0 -0
  79. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/schemas/fluss.schema.graphql +0 -0
  80. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/schemas/gucker.schema.graphql +0 -0
  81. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/schemas/kabinet.schema.graphql +0 -0
  82. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/schemas/kluster.schema.graphql +0 -0
  83. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/schemas/konviktion.schema.graphql +0 -0
  84. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/schemas/kuay.schema.graphql +0 -0
  85. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/schemas/mikro.schema.graphql +0 -0
  86. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/schemas/mikro_next.schema.graphql +0 -0
  87. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/schemas/napari.schema.graphql +0 -0
  88. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/schemas/omero_ark.schema.graphql +0 -0
  89. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/schemas/port.schema.graphql +0 -0
  90. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/schemas/rekuest.schema.graphql +0 -0
  91. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/schemas/rekuest_next.schema.graphql +0 -0
  92. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/schemas/unlok.schema.graphql +0 -0
  93. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/templates/filter.py +0 -0
  94. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/templates/simple.py +0 -0
  95. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/texts.py +0 -0
  96. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/types.py +0 -0
  97. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/ui.py +0 -0
  98. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/utils.py +0 -0
  99. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/validators.py +0 -0
  100. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/vars.py +0 -0
  101. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/cli/versions/v1.yaml +0 -0
  102. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/constants.py +0 -0
  103. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/model.py +0 -0
  104. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/qt/__init__.py +0 -0
  105. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/qt/assets/dark/gear.png +0 -0
  106. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/qt/assets/dark/green pulse.gif +0 -0
  107. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/qt/assets/dark/orange pulse.gif +0 -0
  108. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/qt/assets/dark/pink pulse.gif +0 -0
  109. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/qt/assets/dark/red pulse.gif +0 -0
  110. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/qt/assets/light/gear.png +0 -0
  111. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/qt/assets/light/green pulse.gif +0 -0
  112. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/qt/assets/light/orange pulse.gif +0 -0
  113. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/qt/assets/light/pink pulse.gif +0 -0
  114. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/qt/assets/light/red pulse.gif +0 -0
  115. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/qt/builder.py +0 -0
  116. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/qt/magic_bar.py +0 -0
  117. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/qt/utils.py +0 -0
  118. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/service_registry.py +0 -0
  119. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/tqdm.py +0 -0
  120. {arkitekt_next-0.7.17 → arkitekt_next-0.7.18}/arkitekt_next/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: arkitekt-next
3
- Version: 0.7.17
3
+ Version: 0.7.18
4
4
  Summary: client for the arkitekt_next platform
5
5
  License: MIT
6
6
  Author: jhnnsrs
@@ -17,16 +17,17 @@ Provides-Extra: all
17
17
  Provides-Extra: cli
18
18
  Requires-Dist: dokker (>=0.1.21)
19
19
  Requires-Dist: fakts (>=0.5.0)
20
- Requires-Dist: fluss-next (>=0.1.65) ; extra == "all"
20
+ Requires-Dist: fluss-next (>=0.1.67) ; extra == "all"
21
21
  Requires-Dist: herre (>=0.4.3)
22
- Requires-Dist: kabinet (>=0.1.4) ; (python_version >= "3.9" and python_version < "4.0") and (extra == "all")
22
+ Requires-Dist: kabinet (>=0.1.5) ; (python_version >= "3.9" and python_version < "4.0") and (extra == "all")
23
23
  Requires-Dist: koil (>=0.3.6)
24
- Requires-Dist: mikro-next (>=0.1.11) ; (python_version >= "3.10" and python_version < "4.0") and (extra == "all")
25
- Requires-Dist: reaktion-next (>=0.1.55) ; (python_version >= "3.8" and python_version < "4.0") and (extra == "all")
26
- Requires-Dist: rekuest-next (>=0.2.8) ; (python_version >= "3.8" and python_version < "4.0") and (extra == "cli" or extra == "all")
24
+ Requires-Dist: mikro-next (>=0.1.13) ; (python_version >= "3.10" and python_version < "4.0") and (extra == "all")
25
+ Requires-Dist: reaktion-next (>=0.1.57) ; (python_version >= "3.8" and python_version < "4.0") and (extra == "all")
26
+ Requires-Dist: rekuest-next (>=0.2.10) ; (python_version >= "3.8" and python_version < "4.0") and (extra == "cli" or extra == "all")
27
27
  Requires-Dist: rich-click (>=1.6.1) ; extra == "cli" or extra == "all"
28
28
  Requires-Dist: semver (>=3.0.1) ; extra == "cli" or extra == "all"
29
29
  Requires-Dist: turms (>=0.5.0) ; (python_version >= "3.9" and python_version < "4.0") and (extra == "cli" or extra == "all")
30
+ Requires-Dist: unlok-next (>=0.1.62) ; python_version >= "3.8" and python_version < "4.0"
30
31
  Requires-Dist: watchfiles (>=0.18.1) ; extra == "cli" or extra == "all"
31
32
  Description-Content-Type: text/markdown
32
33
 
@@ -4,6 +4,7 @@ import rich_click as click
4
4
  import rich_click as click
5
5
  from .variables import variables
6
6
  from .templates import templates
7
+ from .requirements import requirements
7
8
 
8
9
 
9
10
  @click.group()
@@ -19,4 +20,5 @@ def inspect(ctx):
19
20
 
20
21
 
21
22
  inspect.add_command(variables, "variables")
23
+ inspect.add_command(requirements, "requirements")
22
24
  inspect.add_command(templates, "templates")
@@ -0,0 +1,83 @@
1
+ import rich_click as click
2
+ from importlib import import_module
3
+ from arkitekt_next.apps.types import App
4
+ from arkitekt_next.cli.commands.run.utils import import_builder
5
+ from arkitekt_next.cli.vars import get_console, get_manifest
6
+ from arkitekt_next.cli.options import with_builder
7
+ import json
8
+ import os
9
+
10
+
11
+ async def run_app(app):
12
+ async with app:
13
+ await app.rekuest.run()
14
+
15
+
16
+ @click.command("prod")
17
+ @click.pass_context
18
+ @click.option(
19
+ "--pretty",
20
+ "-p",
21
+ help="Should we just output json?",
22
+ is_flag=True,
23
+ default=False,
24
+ )
25
+ @click.option(
26
+ "--machine-readable",
27
+ "-mr",
28
+ help="Should we just output json?",
29
+ is_flag=True,
30
+ default=False,
31
+ )
32
+ @with_builder
33
+ def requirements(
34
+ ctx,
35
+ pretty: bool,
36
+ machine_readable: bool,
37
+ builder: str = "arkitekt_next.builders.easy",
38
+ ):
39
+ """Runs the app in production mode
40
+
41
+ \n
42
+ You can specify the builder to use with the --builder flag. By default, the easy builder is used, which is designed to be easy to use and to get started with.
43
+
44
+ """
45
+ from rekuest.definition.registry import get_default_definition_registry
46
+
47
+ manifest = get_manifest(ctx)
48
+ console = get_console(ctx)
49
+
50
+ entrypoint = manifest.entrypoint
51
+ identifier = manifest.identifier
52
+ entrypoint_file = f"{manifest.entrypoint}.py"
53
+ os.path.realpath(entrypoint_file)
54
+
55
+ builder_func = import_builder(builder)
56
+
57
+ entrypoint = manifest.entrypoint
58
+
59
+ with console.status("Loading entrypoint module..."):
60
+ try:
61
+ import_module(entrypoint)
62
+ except ModuleNotFoundError as e:
63
+ console.print(f"Could not find entrypoint module {entrypoint}")
64
+ raise e
65
+
66
+ app: App = builder_func(
67
+ identifier=identifier,
68
+ version="dev",
69
+ logo=manifest.logo,
70
+ )
71
+
72
+ x = {
73
+ key: item.dict(by_alias=True)
74
+ for key, item in app.manifest.requirements.items()
75
+ }
76
+ if machine_readable:
77
+ print("--START_REQUIREMENTS--" + json.dumps(x) + "--END_REQUIREMENTS--")
78
+
79
+ else:
80
+ if pretty:
81
+ console.print(json.dumps(x, indent=2))
82
+ else:
83
+ print(json.dumps(x))
@@ -10,6 +10,7 @@ from arkitekt_next.cli.types import Flavour, Inspection
10
10
  import yaml
11
11
  from typing import Dict, Optional
12
12
  import json
13
+ from arkitekt_next.model import Requirement
13
14
  from arkitekt_next.utils import create_arkitekt_next_folder
14
15
  from rekuest_next.api.schema import TemplateInput
15
16
 
@@ -125,6 +126,42 @@ def inspect_templates(build_id: str) -> list[TemplateInput]:
125
126
  )
126
127
 
127
128
  raise InspectionError(f"An error occurred: {e.stdout + e.stderr}") from e
129
+
130
+ def inspect_requirements(build_id: str) -> Dict[str, Requirement]:
131
+ try:
132
+ # Run 'docker inspect' with the container ID or name
133
+ result = subprocess.run(
134
+ ["docker", "run", build_id, "arkitekt-next", "inspect", "requirements", "-mr"],
135
+ stdout=subprocess.PIPE,
136
+ stderr=subprocess.PIPE,
137
+ check=True,
138
+ text=True,
139
+ )
140
+
141
+ # Parse the JSON output
142
+ correct_part = result.stdout.split("--START_REQUIREMENTS--")[1].split(
143
+ "--START_REQUIREMENTS--"
144
+ )[0]
145
+
146
+ try:
147
+ output = json.loads(correct_part)
148
+ except json.decoder.JSONDecodeError as e:
149
+ combined_error = result.stdout + result.stderr
150
+ raise InspectionError(
151
+ f"Could not decode JSON output of docker inspect. {combined_error}"
152
+ ) from e
153
+
154
+ return output.values()
155
+ except subprocess.CalledProcessError as e:
156
+ combined_error = e.stdout + e.stderr
157
+
158
+ if "No such command" in combined_error:
159
+ raise InspectionError(
160
+ "Could not find the command `arkitekt_next inspect definitions` in the container. Maybe"
161
+ + "you forgot to install arkitekt_next in the container? "
162
+ )
163
+
164
+ raise InspectionError(f"An error occurred: {e.stdout + e.stderr}") from e
128
165
 
129
166
 
130
167
  def inspect_build(build_id: str) -> Inspection:
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "arkitekt-next"
3
- version = "0.7.17"
3
+ version = "0.7.18"
4
4
  description = "client for the arkitekt_next platform"
5
5
  authors = ["jhnnsrs <jhnnsrs@gmail.com>"]
6
6
  license = "MIT"
@@ -11,11 +11,12 @@ readme = "README.md"
11
11
  python = "^3.8"
12
12
  herre = ">=0.4.3"
13
13
  fakts = ">=0.5.0"
14
- mikro-next = { version = ">=0.1.11", python = "^3.10", optional = true }
15
- kabinet = { version = ">=0.1.4", optional = true, python = "^3.9" }
16
- fluss-next = { version = ">=0.1.65", optional = true }
17
- reaktion-next= { version = ">=0.1.55", python = "^3.8", optional = true }
18
- rekuest-next= { version = ">=0.2.8", python = "^3.8", optional = true }
14
+ mikro-next = { version = ">=0.1.13", python = "^3.10", optional = true }
15
+ kabinet = { version = ">=0.1.5", optional = true, python = "^3.9" }
16
+ fluss-next = { version = ">=0.1.67", optional = true }
17
+ reaktion-next= { version = ">=0.1.57", python = "^3.8", optional = true }
18
+ rekuest-next= { version = ">=0.2.10", python = "^3.8", optional = true }
19
+ unlok-next= { version = ">=0.1.62", python = "^3.8", optional = true }
19
20
  rich-click = { version = ">=1.6.1", optional = true }
20
21
  watchfiles = { version = ">=0.18.1", optional = true }
21
22
  turms = { version = ">=0.5.0", python = "^3.9", optional = true }
File without changes
File without changes