vantage6 4.11.0rc4__py3-none-any.whl → 4.12.0__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 vantage6 might be problematic. Click here for more details.

vantage6/cli/__build__ CHANGED
@@ -1 +1 @@
1
- 4
1
+ 0
vantage6/cli/_version.py CHANGED
@@ -7,7 +7,7 @@ with open(os.path.join(here, "__build__")) as fp:
7
7
  __build__ = json.load(fp)
8
8
 
9
9
  # Module version
10
- version_info = (4, 11, 0, "candidate", __build__, 0)
10
+ version_info = (4, 12, 0, "final", __build__, 0)
11
11
 
12
12
  # Module version stage suffix map
13
13
  _specifier_ = {"alpha": "a", "beta": "b", "candidate": "rc", "final": ""}
@@ -69,7 +69,7 @@ class ServerContext(BaseServerContext):
69
69
  str
70
70
  Prometheus container name, unique to this server instance.
71
71
  """
72
- return f"{APPNAME}-prometheus"
72
+ return f"{APPNAME}-{self.name}-{self.scope}-prometheus"
73
73
 
74
74
  @property
75
75
  def prometheus_dir(self) -> Path:
@@ -153,9 +153,9 @@ def cli_server_start(
153
153
  ):
154
154
  info("Starting Prometheus container")
155
155
  _start_prometheus(ctx, prometheus_image, server_network_mgr)
156
- elif ctx.config.get("prometheus"):
156
+ elif ctx.config.get("prometheus", {}).get("enabled"):
157
157
  info(
158
- "Prometheus is provided in the config file as external service. "
158
+ "Prometheus is enabled but is set not to be started by vantage6. "
159
159
  "Assuming this service is up and running."
160
160
  )
161
161
  else:
@@ -118,7 +118,7 @@ def _stop_server_containers(
118
118
  f"{Style.RESET_ALL} container."
119
119
  )
120
120
 
121
- if ctx.config.get("prometheus", {}).get("enabled"):
121
+ if ctx.config.get("prometheus", {}).get("start_with_server"):
122
122
  remove_container_if_exists(client, name=ctx.prometheus_container_name)
123
123
  info(
124
124
  f"Stopped the {Fore.GREEN}{ctx.prometheus_container_name}"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vantage6
3
- Version: 4.11.0rc4
3
+ Version: 4.12.0
4
4
  Summary: vantage6 command line interface
5
5
  Home-page: https://github.com/vantage6/vantage6
6
6
  Requires-Python: >=3.10
@@ -16,8 +16,8 @@ Requires-Dist: questionary==1.10.0
16
16
  Requires-Dist: rich==13.5.2
17
17
  Requires-Dist: schema==0.7.5
18
18
  Requires-Dist: SQLAlchemy==1.4.46
19
- Requires-Dist: vantage6-common==4.11.0rc4
20
- Requires-Dist: vantage6-client==4.11.0rc4
19
+ Requires-Dist: vantage6-common==4.12.0
20
+ Requires-Dist: vantage6-client==4.12.0
21
21
  Provides-Extra: dev
22
22
  Requires-Dist: coverage==6.4.4; extra == "dev"
23
23
  Requires-Dist: black; extra == "dev"
@@ -4,9 +4,9 @@ tests_cli/test_example.py,sha256=0fw_v-lgZEacshWSDwLNyLMA1_xc48bKUGM3ll-n1L0,146
4
4
  tests_cli/test_node_cli.py,sha256=XAKRS1-SXdeBRz3ob25q467soCIB178pKVz8MJVZbCQ,17534
5
5
  tests_cli/test_server_cli.py,sha256=DLcOWM0ZCRTs-XMNsNKCOEELUMh22Ayow1FvAFLI0aA,5879
6
6
  tests_cli/test_wizard.py,sha256=NIj59eiCBuVNJXwhofrWLmLIKAsD45gSOzqOFWLmWhY,4916
7
- vantage6/cli/__build__,sha256=SyJ3d9TdH8Ycb4hPSGQdArTRIdP9Moywi1Ux_Kzav4o,1
7
+ vantage6/cli/__build__,sha256=X-zrZv_IbzjZUnhsbWlsecLbwjndTpG0ZynXOif7V-k,1
8
8
  vantage6/cli/__init__.py,sha256=ZXbeQ_-g2-M4XYteWZkoO5lMFYhqjm5doQgGy1fq8i0,125
9
- vantage6/cli/_version.py,sha256=7g1VYEN766Mf9wGlm8bPgQO8QzE0d-l9gt02DbZwjWE,701
9
+ vantage6/cli/_version.py,sha256=LjeQY0tglPN2Osq8hsxcMrAfs6MPxlwzHLhWl_upf0s,697
10
10
  vantage6/cli/cli.py,sha256=L_t0sHUwVkEumkYg6MsXm_sdAEWEjiz5DkUa51ihGtU,6318
11
11
  vantage6/cli/configuration_manager.py,sha256=YqObxbV4jl3K_0GiJcE0V7r2pFE2nETLEgP3yieYZaU,3695
12
12
  vantage6/cli/configuration_wizard.py,sha256=ifqvrVqHkxoM0ZVUVIwlYXFByzAbuVlahNjmwFGLVRU,20874
@@ -28,7 +28,7 @@ vantage6/cli/context/__init__.py,sha256=e8rfY2tCyu6_SLQ-rbVzEHkDtmbnGCZRHFN_HH-2
28
28
  vantage6/cli/context/algorithm_store.py,sha256=RimxNcoqfWeu2WQede6wsOu1rx-azzXIPVkCDqVJLWs,3944
29
29
  vantage6/cli/context/base_server.py,sha256=paKSzNrKWD-J6eakHAtGELk2cD05A8NqoCAuQfF7c2s,2972
30
30
  vantage6/cli/context/node.py,sha256=4R7X__u_pyZVvRSNO3ojTnVQFTWhuIemoHcGP6hsD5I,7444
31
- vantage6/cli/context/server.py,sha256=4BiccAakyXviGiV1SisZ0w0-0hrKAmCGVneZCRsSne8,4563
31
+ vantage6/cli/context/server.py,sha256=qyslg6jY0I-29nktxROAb-KAVYZGh9TZsuby25rio0U,4588
32
32
  vantage6/cli/dev/create.py,sha256=ZN4BfExJVypl28ZKQEua0PIXpQCfcP8AC3RUhp1Cj-I,21280
33
33
  vantage6/cli/dev/remove.py,sha256=R_OU_LXLDCnoD-2xnegg4lh0B3t8EgpqzDqueLx16io,3730
34
34
  vantage6/cli/dev/start.py,sha256=fUMoPAEpmXoDAJidAmjIziaHZX1yqEErcrTKEXqPik8,4471
@@ -62,8 +62,8 @@ vantage6/cli/server/list.py,sha256=_kVBe7TrtUfT2ZLWPkVvKj4xx5AvS17e99Bwp0ajc_E,4
62
62
  vantage6/cli/server/new.py,sha256=JnUMMD0UUSCOdO0K7v19l5HOV7vnMd9D38WUoEJ2F00,2094
63
63
  vantage6/cli/server/remove.py,sha256=6tfKfVa5dYnZAKQYo_VlGZTuiugi7sh2F3U2cZ7mCmQ,1627
64
64
  vantage6/cli/server/shell.py,sha256=7cSdBOwvloWyCz3RXHaFZUnxgNRV4gZUDmIFecV8Hks,1589
65
- vantage6/cli/server/start.py,sha256=K_AacVvUOYovHGCXghllqZKh6rkmvoKPrHSP84au6Pc,9615
66
- vantage6/cli/server/stop.py,sha256=CP8WtMLkxRhKRr6PnATkCzjJoSVzy9XR9B1ETWtarmU,4422
65
+ vantage6/cli/server/start.py,sha256=kFtiFQaBnUdtuP1oSXfXfSvU_-dPR1TnQuYGbSqv7D0,9635
66
+ vantage6/cli/server/stop.py,sha256=NRU1wgmNEeIv9RiJZpcFVSU-mSLXOEPi4H-bc3vOinI,4432
67
67
  vantage6/cli/server/version.py,sha256=aXAztHEky_F2jPbfPdHPfsAY7rdTurl0_3S6bL94_QQ,1318
68
68
  vantage6/cli/server/common/__init__.py,sha256=htv0mFYa4GhIHdzA2xqUUgKhHcMh09UQERlIjIgrwOM,2062
69
69
  vantage6/cli/template/algo_store_config.j2,sha256=XR-ly-47p6egH8lVh4lZZDh3YSV4kFnkZprdsfSkS2Y,552
@@ -76,8 +76,8 @@ vantage6/cli/test/integration_test.py,sha256=yQVG72XKDNH_eOPTsf3pb65FCBwJzMxn5VN
76
76
  vantage6/cli/test/algo_test_scripts/algo_test_arguments.py,sha256=PfJUwXXbOUvs8W2i3XqIoNNkqvnXmRTv19kKcpg9ouk,888
77
77
  vantage6/cli/test/algo_test_scripts/algo_test_script.py,sha256=8x2KiSrsxLFbheq6_E_iNEOxDnFdEG3UV60cBfjxV8o,2684
78
78
  vantage6/cli/test/common/diagnostic_runner.py,sha256=x_4ikihgoSTKI914pqlgVziBSg5LpV6MheO6O_GBCeA,6657
79
- vantage6-4.11.0rc4.dist-info/METADATA,sha256=Q7bmxgxoynlUV_ENNH6jLGBQPE1X4RUm5OZOL6jTxkc,10890
80
- vantage6-4.11.0rc4.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
81
- vantage6-4.11.0rc4.dist-info/entry_points.txt,sha256=YFBvwjxoeAGxYyPC-YevEgOBBYRGaXkS6jiOGGCLNy0,157
82
- vantage6-4.11.0rc4.dist-info/top_level.txt,sha256=CYDIBS8jEfFq5YCs_Fuit54K9-3wdosZppTrsymIoUk,19
83
- vantage6-4.11.0rc4.dist-info/RECORD,,
79
+ vantage6-4.12.0.dist-info/METADATA,sha256=wHXDIPeLfK4njSNd0Vu5HDyadOpfKjNJQyRfXZEdVhM,10881
80
+ vantage6-4.12.0.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
81
+ vantage6-4.12.0.dist-info/entry_points.txt,sha256=YFBvwjxoeAGxYyPC-YevEgOBBYRGaXkS6jiOGGCLNy0,157
82
+ vantage6-4.12.0.dist-info/top_level.txt,sha256=CYDIBS8jEfFq5YCs_Fuit54K9-3wdosZppTrsymIoUk,19
83
+ vantage6-4.12.0.dist-info/RECORD,,