vantage6 4.11.0rc4__tar.gz → 4.12.0__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 vantage6 might be problematic. Click here for more details.

Files changed (88) hide show
  1. {vantage6-4.11.0rc4 → vantage6-4.12.0}/PKG-INFO +1 -1
  2. vantage6-4.12.0/vantage6/cli/__build__ +1 -0
  3. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/_version.py +1 -1
  4. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/context/server.py +1 -1
  5. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/server/start.py +2 -2
  6. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/server/stop.py +1 -1
  7. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6.egg-info/PKG-INFO +1 -1
  8. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6.egg-info/requires.txt +2 -2
  9. vantage6-4.11.0rc4/vantage6/cli/__build__ +0 -1
  10. {vantage6-4.11.0rc4 → vantage6-4.12.0}/setup.cfg +0 -0
  11. {vantage6-4.11.0rc4 → vantage6-4.12.0}/setup.py +0 -0
  12. {vantage6-4.11.0rc4 → vantage6-4.12.0}/tests_cli/__init__.py +0 -0
  13. {vantage6-4.11.0rc4 → vantage6-4.12.0}/tests_cli/test_client_script.py +0 -0
  14. {vantage6-4.11.0rc4 → vantage6-4.12.0}/tests_cli/test_example.py +0 -0
  15. {vantage6-4.11.0rc4 → vantage6-4.12.0}/tests_cli/test_node_cli.py +0 -0
  16. {vantage6-4.11.0rc4 → vantage6-4.12.0}/tests_cli/test_server_cli.py +0 -0
  17. {vantage6-4.11.0rc4 → vantage6-4.12.0}/tests_cli/test_wizard.py +0 -0
  18. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/__init__.py +0 -0
  19. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/algorithm/create.py +0 -0
  20. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/algorithm/update.py +0 -0
  21. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/algostore/attach.py +0 -0
  22. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/algostore/files.py +0 -0
  23. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/algostore/list.py +0 -0
  24. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/algostore/new.py +0 -0
  25. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/algostore/remove.py +0 -0
  26. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/algostore/start.py +0 -0
  27. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/algostore/stop.py +0 -0
  28. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/cli.py +0 -0
  29. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/common/decorator.py +0 -0
  30. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/common/start.py +0 -0
  31. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/common/utils.py +0 -0
  32. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/configuration_manager.py +0 -0
  33. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/configuration_wizard.py +0 -0
  34. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/context/__init__.py +0 -0
  35. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/context/algorithm_store.py +0 -0
  36. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/context/base_server.py +0 -0
  37. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/context/node.py +0 -0
  38. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/dev/create.py +0 -0
  39. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/dev/data/km_dataset.csv +0 -0
  40. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/dev/data/olympic_athletes_2016.csv +0 -0
  41. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/dev/remove.py +0 -0
  42. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/dev/start.py +0 -0
  43. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/dev/stop.py +0 -0
  44. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/dev/utils.py +0 -0
  45. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/globals.py +0 -0
  46. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/node/attach.py +0 -0
  47. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/node/clean.py +0 -0
  48. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/node/common/__init__.py +0 -0
  49. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/node/create_private_key.py +0 -0
  50. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/node/files.py +0 -0
  51. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/node/list.py +0 -0
  52. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/node/new.py +0 -0
  53. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/node/remove.py +0 -0
  54. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/node/restart.py +0 -0
  55. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/node/set_api_key.py +0 -0
  56. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/node/start.py +0 -0
  57. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/node/stop.py +0 -0
  58. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/node/version.py +0 -0
  59. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/prometheus/monitoring_manager.py +0 -0
  60. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/prometheus/prometheus.yml +0 -0
  61. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/rabbitmq/__init__.py +0 -0
  62. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/rabbitmq/definitions.py +0 -0
  63. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/rabbitmq/queue_manager.py +0 -0
  64. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/rabbitmq/rabbitmq.config +0 -0
  65. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/server/attach.py +0 -0
  66. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/server/common/__init__.py +0 -0
  67. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/server/files.py +0 -0
  68. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/server/import_.py +0 -0
  69. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/server/list.py +0 -0
  70. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/server/new.py +0 -0
  71. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/server/remove.py +0 -0
  72. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/server/shell.py +0 -0
  73. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/server/version.py +0 -0
  74. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/template/algo_store_config.j2 +0 -0
  75. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/template/node_config.j2 +0 -0
  76. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/template/server_config.j2 +0 -0
  77. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/template/server_import_config.j2 +0 -0
  78. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/test/algo_test_scripts/algo_test_arguments.py +0 -0
  79. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/test/algo_test_scripts/algo_test_script.py +0 -0
  80. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/test/client_script.py +0 -0
  81. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/test/common/diagnostic_runner.py +0 -0
  82. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/test/feature_tester.py +0 -0
  83. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/test/integration_test.py +0 -0
  84. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6/cli/utils.py +0 -0
  85. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6.egg-info/SOURCES.txt +0 -0
  86. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6.egg-info/dependency_links.txt +0 -0
  87. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6.egg-info/entry_points.txt +0 -0
  88. {vantage6-4.11.0rc4 → vantage6-4.12.0}/vantage6.egg-info/top_level.txt +0 -0
@@ -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
@@ -0,0 +1 @@
1
+ 0
@@ -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
@@ -9,8 +9,8 @@ questionary==1.10.0
9
9
  rich==13.5.2
10
10
  schema==0.7.5
11
11
  SQLAlchemy==1.4.46
12
- vantage6-common==4.11.0rc4
13
- vantage6-client==4.11.0rc4
12
+ vantage6-common==4.12.0
13
+ vantage6-client==4.12.0
14
14
 
15
15
  [dev]
16
16
  coverage==6.4.4
@@ -1 +0,0 @@
1
- 4
File without changes
File without changes