outerbounds 0.3.55rc6__py3-none-any.whl → 0.3.55rc8__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -43,6 +43,8 @@ BAD_EXTENSION_MESSAGE = (
43
43
  "Mis-installation of the Outerbounds Platform extension package has been detected."
44
44
  )
45
45
 
46
+ PERIMETER_CONFIG_URL_KEY = "OB_CURRENT_PERIMETER_MF_CONFIG_URL"
47
+
46
48
 
47
49
  class Narrator:
48
50
  def __init__(self, verbose):
@@ -663,9 +665,7 @@ class ConfigurationWriter:
663
665
  with open(self.ob_config_path, "w") as fd:
664
666
  ob_config_dict = {
665
667
  "OB_CURRENT_PERIMETER": remote_config["OBP_PERIMETER"],
666
- "OB_CURRENT_PERIMETER_URL": remote_config[
667
- "OBP_METAFLOW_CONFIG_URL"
668
- ],
668
+ PERIMETER_CONFIG_URL_KEY: remote_config["OBP_METAFLOW_CONFIG_URL"],
669
669
  }
670
670
  json.dump(ob_config_dict, fd, indent=4)
671
671
 
@@ -24,6 +24,8 @@ from ..utils.schema import (
24
24
  OuterboundsCommandStatus,
25
25
  )
26
26
 
27
+ from .local_setup_cli import PERIMETER_CONFIG_URL_KEY
28
+
27
29
 
28
30
  @click.group()
29
31
  def cli(**kwargs):
@@ -94,7 +96,7 @@ def switch_perimeter(config_dir=None, profile=None, output="", id=None, force=Fa
94
96
 
95
97
  ob_config_dict = {
96
98
  "OB_CURRENT_PERIMETER": str(id),
97
- "OB_CURRENT_PERIMETER_URL": perimeters[id]["remote_config_url"],
99
+ PERIMETER_CONFIG_URL_KEY: perimeters[id]["remote_config_url"],
98
100
  }
99
101
 
100
102
  # Now that we have the lock, we can safely write to the file
@@ -512,7 +512,7 @@ def add_to_path(program_path, platform):
512
512
  with open(path_to_rc_file, "a+") as f: # Open bashrc file
513
513
  if program_path not in f.read():
514
514
  f.write("\n# Added by Outerbounds\n")
515
- f.write(program_path)
515
+ f.write(f"export PATH=$PATH:{program_path}")
516
516
 
517
517
 
518
518
  def to_windows_path(path):
@@ -10,10 +10,11 @@ def init_config(config_dir="", profile="") -> dict:
10
10
 
11
11
  # This is new remote-metaflow config; fetch it from the URL
12
12
  if "OBP_METAFLOW_CONFIG_URL" in config:
13
- return init_config_from_url(
13
+ remote_config = init_config_from_url(
14
14
  config_dir, profile, config["OBP_METAFLOW_CONFIG_URL"]
15
15
  )
16
-
16
+ remote_config["OBP_METAFLOW_CONFIG_URL"] = config["OBP_METAFLOW_CONFIG_URL"]
17
+ return remote_config
17
18
  # Legacy config, use from filesystem
18
19
  return config
19
20
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: outerbounds
3
- Version: 0.3.55rc6
3
+ Version: 0.3.55rc8
4
4
  Summary: More Data Science, Less Administration
5
5
  License: Proprietary
6
6
  Keywords: data science,machine learning,MLOps
@@ -24,7 +24,7 @@ Requires-Dist: google-api-core (>=2.16.1,<3.0.0) ; extra == "gcp"
24
24
  Requires-Dist: google-auth (>=2.27.0,<3.0.0) ; extra == "gcp"
25
25
  Requires-Dist: google-cloud-storage (>=2.14.0,<3.0.0) ; extra == "gcp"
26
26
  Requires-Dist: ob-metaflow (==2.11.0.4)
27
- Requires-Dist: ob-metaflow-extensions (==1.1.45rc2)
27
+ Requires-Dist: ob-metaflow-extensions (==1.1.45rc3)
28
28
  Requires-Dist: opentelemetry-distro (==0.41b0)
29
29
  Requires-Dist: opentelemetry-exporter-otlp-proto-http (==1.20.0)
30
30
  Requires-Dist: opentelemetry-instrumentation-requests (==0.41b0)
@@ -0,0 +1,15 @@
1
+ outerbounds/__init__.py,sha256=GPdaubvAYF8pOFWJ3b-sPMKCpyfpteWVMZWkmaYhxRw,32
2
+ outerbounds/cli_main.py,sha256=e9UMnPysmc7gbrimq2I4KfltggyU7pw59Cn9aEguVcU,74
3
+ outerbounds/command_groups/__init__.py,sha256=QPWtj5wDRTINDxVUL7XPqG3HoxHNvYOg08EnuSZB2Hc,21
4
+ outerbounds/command_groups/cli.py,sha256=H4LxcYTmsY9DQUrReSRLjvbg9s9Ro7s-eUrcMqEJ_9A,261
5
+ outerbounds/command_groups/local_setup_cli.py,sha256=YkiGWPnMLBJZm8bAvyXIdNqnqakVsEz-p-d1_LAIrU0,29635
6
+ outerbounds/command_groups/perimeters_cli.py,sha256=kvfPbxHHMj_5KQ6J9dfq7AGeB9tPZA_h6gafxgGBiak,12700
7
+ outerbounds/command_groups/workstations_cli.py,sha256=b5lt8_g2B0zCoUoNriTRv32IPB6E4mI2sUhubDT7Yjo,21966
8
+ outerbounds/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
+ outerbounds/utils/kubeconfig.py,sha256=l1mUP1j9VIq3fsffi5bJ1Nk-hYlwd1dIqkpj7DvVS1E,7936
10
+ outerbounds/utils/metaflowconfig.py,sha256=pXm7-b5UpSdWIN7AMIq8jIa8zB7QpXPpFSsAlaSZNEM,3014
11
+ outerbounds/utils/schema.py,sha256=cNlgjmteLPbDzSEUSQDsq8txdhMGyezSmM83jU3aa0w,2329
12
+ outerbounds-0.3.55rc8.dist-info/METADATA,sha256=zkDk7e2iq7WKTcpCbnKRuMXZDPhMXRDqgGzAQr91RfI,1367
13
+ outerbounds-0.3.55rc8.dist-info/WHEEL,sha256=vVCvjcmxuUltf8cYhJ0sJMRDLr1XsPuxEId8YDzbyCY,88
14
+ outerbounds-0.3.55rc8.dist-info/entry_points.txt,sha256=7ye0281PKlvqxu15rjw60zKg2pMsXI49_A8BmGqIqBw,47
15
+ outerbounds-0.3.55rc8.dist-info/RECORD,,
@@ -1,15 +0,0 @@
1
- outerbounds/__init__.py,sha256=GPdaubvAYF8pOFWJ3b-sPMKCpyfpteWVMZWkmaYhxRw,32
2
- outerbounds/cli_main.py,sha256=e9UMnPysmc7gbrimq2I4KfltggyU7pw59Cn9aEguVcU,74
3
- outerbounds/command_groups/__init__.py,sha256=QPWtj5wDRTINDxVUL7XPqG3HoxHNvYOg08EnuSZB2Hc,21
4
- outerbounds/command_groups/cli.py,sha256=H4LxcYTmsY9DQUrReSRLjvbg9s9Ro7s-eUrcMqEJ_9A,261
5
- outerbounds/command_groups/local_setup_cli.py,sha256=I5KVp3D9KPfQB78eTNupAtvJm7kEFlUbuQXUr_q3GxM,29618
6
- outerbounds/command_groups/perimeters_cli.py,sha256=GnNokO3CBd8e2i85LbhwGKuFhonwEViom0zvh1PqMq4,12647
7
- outerbounds/command_groups/workstations_cli.py,sha256=DLPOtdHkus8gzjATadG9xFLZ4uD7_SQsT1pp8UoHCpQ,21943
8
- outerbounds/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
- outerbounds/utils/kubeconfig.py,sha256=l1mUP1j9VIq3fsffi5bJ1Nk-hYlwd1dIqkpj7DvVS1E,7936
10
- outerbounds/utils/metaflowconfig.py,sha256=keHDXEgUxQpmYuhk5OQF9Y2BEC72_CvU5uObAeQHsS0,2892
11
- outerbounds/utils/schema.py,sha256=cNlgjmteLPbDzSEUSQDsq8txdhMGyezSmM83jU3aa0w,2329
12
- outerbounds-0.3.55rc6.dist-info/METADATA,sha256=0pumbYukKcR5iRsmg1ADgZTh-FBIJ6mJJW7jAhzy3To,1367
13
- outerbounds-0.3.55rc6.dist-info/WHEEL,sha256=vVCvjcmxuUltf8cYhJ0sJMRDLr1XsPuxEId8YDzbyCY,88
14
- outerbounds-0.3.55rc6.dist-info/entry_points.txt,sha256=7ye0281PKlvqxu15rjw60zKg2pMsXI49_A8BmGqIqBw,47
15
- outerbounds-0.3.55rc6.dist-info/RECORD,,